Commit Graph

131 Commits

Author SHA1 Message Date
itohy
7519b9aacf Add notice on "relocation truncated to fit: R_68K_16" errors of ld.
Cleanup consistency check.
2004-03-21 16:25:56 +00:00
dsl
54b6a75114 A better fix for PR kern/24809, old filesystems should work ok now! 2004-03-21 12:46:57 +00:00
dsl
9d06a8cddd When searching for the superblock, check that the fs_sblockloc field
matches the location we read it from to ensure we don't have one of the
alternate superblocks.
Fixes part of PR kern/24809
2004-03-20 14:09:44 +00:00
keihan
29c72c57f0 netbsd.org -> NetBSD.org
All "netbsd.org" is now gone from src/sys/arch.
2003-12-04 13:05:15 +00:00
he
a52e0441cf Add include of <lib/libsa/stand.h> for memcpy() and memset() prototypes. 2003-10-30 22:27:05 +00:00
he
4f5db11dc0 Add -I${S} for <lib/libsa/stand.h> inclusion, and add
include of ../Makefile.booters for -ffreestanding.
2003-10-30 22:23:51 +00:00
he
da61544d69 Add .rodata.str1.1 to the text segment, and discard the .comment section. 2003-10-30 22:21:56 +00:00
he
a2498bfff8 Add -ffreestanding to CFLAGS to avoid type conflicts with built-in
functions in gcc.
2003-10-30 22:20:43 +00:00
itohy
f66caac2c0 Change __const to __pure for function return type. 2003-10-30 09:25:00 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
itohy
8a3fce54f8 Fix in debug code (no functional changes). 2003-10-22 14:18:27 +00:00
simonb
9c38f23cdb Add -D_STANDALONE to CPPFLAGS. 2003-10-08 01:42:37 +00:00
simonb
970b12080e Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
2003-10-08 01:40:22 +00:00
he
75219318a9 Add memmove.c, needed by new ufs.c. 2003-08-23 09:10:51 +00:00
he
ca16636def Match the "extra" spaces emitted in the load map by the new binutils,
but also match what the old binutils emitted as well.
2003-04-10 15:36:54 +00:00
itohy
3803387e1f Support UFS2 format for FFS. 2003-04-09 12:57:13 +00:00
isaki
5f88fc57fa Make it compilable.
see http://mail-index.netbsd.org/source-changes/2003/03/26/0009.html
2003-03-30 07:58:03 +00:00
simonb
3a93f29238 Update for LFSv2 support. Ports that have "bootxx_lfs"-style
bootblocks currently only support LFSv2, but the second level
"boot" program supports both LFS versions.
2003-02-23 23:23:07 +00:00
isaki
03f328359e Use 32bit daddr_t. 2003-02-02 07:10:54 +00:00
isaki
69fab1d667 - sys/lib/libsa/ufs_ls.c rev 1.3 needs strrchr.
- sort.
2003-02-02 05:14:38 +00:00
isaki
9bf4faf898 Make it compilable with 64bit daddr_t. 2003-01-25 14:13:46 +00:00
fvdl
a3ff3a3038 Bump daddr_t to 64 bits. Replace it with int32_t in all places where
it was used on-disk, so that on-disk formats remain the same.
Remove ufs_daddr_t and ufs_lbn_t for the time being.
2003-01-24 21:55:02 +00:00
lukem
a250e57c96 Install release files under "${RELEASEDIR}/${MACHINE}/..." instead of
"${RELEASEDIR}/...".

${RELEASEDIR} is never cleaned , and ${RELEASEDIR}/${MACHINE} is only
cleaned if UPDATE is not defined.
2003-01-03 15:34:30 +00:00
thorpej
e8cc3884de Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is. 2002-12-10 17:14:02 +00:00
isaki
b67132026b Place catman in RELEASEDIR/installation/misc. 2002-11-03 02:12:18 +00:00
lukem
fb7bc8541e arch/*/stand stuff should be LDSTATIC=-static and not LDSTATIC?=-static.
It doesn't make sense to have standalone stuff dynamically linked just
because an end-user uses LDSTATIC="".
2002-08-27 08:53:14 +00:00
isaki
df160ef3fc Divided 406 bytes disklabel area into 'nop' and 404 bytes area. 2002-06-09 12:17:48 +00:00
isaki
74b7155205 Ignore incompatible part between GNU tar and pax.
idea from Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
2002-05-19 08:14:13 +00:00
isaki
1dc0c84b6b Make ELF kernel loadable, by itohy-san. 2002-05-18 13:54:38 +00:00
isaki
9c4195c510 libsa/Makefile: Fix rules to create symlinks on read-only source tree.
{boot,libsa,mboot}/Makefile, Makefile.booters:
 move that common rule to Makefile.booters
2002-05-05 11:46:29 +00:00
minoura
c42dd282b7 LFSv2 support.
Note that secondary boot does not support LFSv2.
Code written by itohy.
2002-03-17 16:14:30 +00:00
minoura
e6ff25795b Make this compile again. 2002-03-17 15:43:10 +00:00
minoura
2bc20613fa Pull back from xxboot/img. 2002-01-27 01:47:59 +00:00
minoura
99c2f565c1 Remove obsolete xxboot. 2002-01-27 01:43:27 +00:00
minoura
c2857a6c0b Install as /usr/mdec/install instead of installboot.new. 2002-01-27 01:07:44 +00:00
minoura
c3d188aaa8 omit xxboot, old a.out-only bootblock. 2002-01-27 01:07:00 +00:00
minoura
4d762e1938 New toolchain.
XXX: New toolchain generates 100byte bigger object than the 8KB limit.
XXX: Therefore, compilation always fails!
2002-01-07 04:06:52 +00:00
minoura
195060e302 Copy alloca() and memcpy() definitions from libkern.h. 2002-01-07 04:01:13 +00:00
minoura
38d9c867f6 alloca() is now defined in libkern.h. 2002-01-07 04:00:30 +00:00
minoura
873ab50602 Use -Os optimization. 2002-01-07 04:00:02 +00:00
minoura
da0ba70058 Remove some error messages to reduce the size. 2001-12-28 02:12:55 +00:00
lukem
b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
minoura
3e9a826813 Add -p option to suppress creating the partition table. 2001-12-08 00:51:03 +00:00
minoura
a5d9ca13b1 New target: release. 2001-12-07 06:52:14 +00:00
minoura
7bd6e6b999 Correct typo. 2001-12-07 06:51:47 +00:00
minoura
88031f5a81 Correct LINKS to install sdboot_ufs properly. 2001-12-05 02:07:09 +00:00
minoura
5684610fac .include <bsd.own.mk> for OBJECT_FMT. 2001-12-02 14:41:21 +00:00
minoura
9a342a1f55 Small message fixes. 2001-12-02 14:25:44 +00:00
minoura
90e97e1eb1 Do not install libsa.a 2001-12-02 13:25:34 +00:00