Commit Graph

197 Commits

Author SHA1 Message Date
tsutsui b9927f2311 Remove static from devsw[] declaration since it's declared as extern
in <lib/libsa/stand.h>.
2006-06-27 11:12:57 +00:00
tsutsui 267074cf60 - fix signed/unsigned mismatch
- fix lvalue cast
2006-06-27 11:07:17 +00:00
tsutsui 762bb578e9 Include <stdlib.h> for exit(3) prototype. 2006-06-27 10:55:16 +00:00
tsutsui d03388424c volatile void func(decl) -> void func(decl) __attribute__((__noreturn__))
to appease gcc4.
2006-06-27 10:53:11 +00:00
gdamore 800f1efe25 Make this cross-compile on Solaris, by wrapping the #include of sys/endian.h
with a test for #ifndef HAVE_NBTOOL_CONFIG_H.
2006-06-15 23:06:48 +00:00
is 99ff421490 Implement dealloc() - and implement alloc() in a way that it matches it. 2006-01-31 14:58:28 +00:00
christos 606bb2caed free -> dealloc
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
is 7f423356f3 Compile new zlib; compile it in a way that it doesn't inflate the bootblock
by 50% with tables. While we're here: use our own memmove().
2006-01-25 13:23:50 +00:00
is c84b52f260 Define memmove(), too. 2006-01-25 13:12:33 +00:00
is 2cee6da4a1 provide more space for relocs in the secondary bootblock.
Guarantee that relocs and 16 bit pc-relative addressing works.
2006-01-24 20:04:05 +00:00
is 0fb6c8c68b Use our own s(n)printf. 2006-01-24 20:02:03 +00:00
is 2c91ec128b Implement sprintf and snprintf. 2006-01-24 19:56:27 +00:00
is a19aac46b7 Make the bootblocks compile again using the shared libc functions. 2006-01-02 22:10:31 +00:00
perry 2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
christos 95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
junyoung e63501d234 #include <lib/libsa/stand.h> rather than <stand.h> or "stand.h" 2005-06-28 21:00:41 +00:00
junyoung 6fd6afff50 Remove trailing spaces. 2005-06-28 14:45:47 +00:00
junyoung 17670568fe Use FS_OPS() macro. 2005-06-23 19:44:00 +00:00
is 97eadfd5d7 NTOHL() is not the same as ntohl()... 2005-01-27 11:00:46 +00:00
chs 2a728789eb elf2bb is a host program, don't assume that m68k pointer alignment is
sufficient.  fixes PR 27055.
2004-12-04 16:23:31 +00:00
jmc c7464d49db Convert remaining host tools for amiga to correct cross tools. Now allows
complete amiga builds on non netbsd/bsd hosts
2004-11-28 07:00:52 +00:00
mhitch c80b111e4d AmigaDOS installation tools moving to distrib/amiga/stand. 2004-06-16 02:04:11 +00:00
mhitch 43e1d0c297 Add AmigaDOS tools for the amiga, which end up in the "installation/misc"
directory of the release tree.
2004-06-01 02:25:09 +00:00
wiz d20841bb64 Uppercase CPU, plural is CPUs. 2004-02-13 11:36:08 +00:00
mhitch 4d65fcd111 Fix errors in processing the ELF sections. Gcc3 generated a .comment section
which was erroneously being added to the boot image size and loaded into the
boot image.
2003-10-26 20:57:37 +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
lukem 1d866c2496 use ${PRINTOBJDIR} 2003-10-26 03:49:11 +00:00
mhitch b83111d3cb Use -Os to shrink bootblock code a little more. Now bootxx_fd builds with
gcc 3.3.2.
2003-10-25 03:14:33 +00:00
he d871277d7d Adapt to new ufs.c needing memcmp and memmove. 2003-08-24 15:11:18 +00:00
agc aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
mhitch 6f5554ffeb Check if 16 bit PC-relative offset will overflow, and abort if it does.
This will prevent building a bad boot file if it gets too large.
2003-04-06 03:22:50 +00:00
jklos 47ba8c1170 Version bumped to 3.0 to reflect changes to support ELF kernels. Thanks to
Gunther Nikl <gni@gecko.de> for the patches.
2003-04-03 21:02:08 +00:00
he 31f4d984cb The adler32.c file previously from libz is no longer needed. 2003-04-01 16:50:52 +00:00
mhitch 4897781d3c Use 32 bit daddr_t due to space limitations when using 64 bit div/mod. 2003-02-03 07:17:13 +00:00
mhitch ff7f90827c Add 64 bit div/mod for 64 bit daddr_t changes and snprintf. 2003-02-03 07:16:08 +00:00
simonb 276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
mhitch 7295f9f909 Switch to MI installboot. 2003-01-15 07:25:51 +00:00
thorpej e8cc3884de Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is. 2002-12-10 17:14:02 +00:00
soren 642c31b4a3 Remove extraneous \n's in {err,warn}{,x}. 2002-08-09 10:01:53 +00:00
grant 6742cb1812 sweep of errx/warnx, remove unnecessary trailing \n 2002-07-20 08:36:17 +00:00
mjl 395027b4be Correct obviously switched args to memset() 2002-07-18 02:07:13 +00:00
thorpej 698df788fc Add -ffreestanding. 2002-05-31 20:57:41 +00:00
thorpej fca656f5b2 Don't use multi-line string literal. 2002-05-31 20:52:14 +00:00
mhitch d4b541239a The second-stage boot loader, boot.amiga, uses the default command in the
boot loader image.  Installboot can modify the default command in the
first-stage bootblocks, which will have no effect.  Copy the default command
from the first-stage bootblock into the second-stage bootloader so modifying
the commandline with installboot actually works again.
2002-05-20 05:58:45 +00:00
heinz 47141ed0bf Add missing CVS tag 2002-04-19 16:43:38 +00:00
mhitch 77b771d03b Don't copy boot.amiga to ${DESTDIR}/ - it is now done by the install/update
script, sysinst, or manually when the bootblock is installed.
2002-04-15 08:38:55 +00:00
heinz e4affd8cbf Add polish keymaps pl_din and pl_us by Pawel Chwalowski <pch@polo.po.opole.pl>.
This solves part of PR port-amiga/15980
2002-04-05 01:05:03 +00:00
heinz bac60291de add polish keymaps created by Pawel Chwalowski <pch@polo.po.opole.pl> 2002-04-05 00:55:06 +00:00
mhitch a0e1b0e0d1 Need to include files.o for the file descriptor table used by open().
The -S flag to indicate secondary boot no longer takes a size - size is
computed from input image.
2002-03-26 05:21:37 +00:00
mhitch 1ae1c48b8f Need to include files.o for the file descriptor table used by open(). 2002-03-26 05:19:39 +00:00