Commit Graph

18 Commits

Author SHA1 Message Date
mbalmer e1d181bb1e Fix typo in output. 2011-10-17 16:39:15 +00:00
mellon 0647473106 Include err.h and unistd.h to provide protos for err() and getpid(). 2011-05-18 19:45:05 +00:00
mellon b519b2e283 Include err.h to provide prototype for err(). 2011-05-18 19:44:18 +00:00
mrg 4c92852a80 remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
2010-07-06 05:59:50 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
bjh21 00fc4b5639 This doesn't panic any more, so run it automatically. 2006-10-14 20:42:47 +00:00
perry 0be44b35dc Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 21:22:46 +00:00
lukem 08c81a9c2d some makefile de-linting
- list NOxxx and LDSTATIC= assignments before everything else
  (especially <bsd.own.mk>)
- ensure <bsd.own.mk> is included before NETBSDSRCDIR is used
- add missing RCSids
2002-09-18 05:41:35 +00:00
thorpej cbf6af9bdf Multiline string literals are now allowed in ISO C. 2002-04-09 03:13:18 +00:00
bjh21 03ea4040c4 Extend the test to also test data_abort_address() on arm26, which can panic on
certain pre-indexed data transfers.
2002-03-17 13:46:45 +00:00
bjh21 15144a1641 Change the address used for abort fixup tests to be zero rather than
0xffffffff.  This means that it won't generate a SIGBUS (address exception)
on arm26.
2002-03-17 12:32:28 +00:00
bjh21 e517187d89 Catch SIGSEGV, so we can exit successfully if it arrives. 2002-03-17 12:25:11 +00:00
bjh21 25b90c6bab Small fix to assembly code to avoid "source register same as write-back base"
warning from GAS.
2002-03-17 12:08:13 +00:00
reinoud 089222c4d1 Add a new regression test for ARM 6 and ARM7 machines to check if
unhandled instruction patterns in the early or late abort handler
terminate the program with a SEGV instead of the panic it used to
give.

Since this test is quite volatile if failing its not run automatically.
2002-03-16 20:37:49 +00:00
itojun 0dd5877adc put TNF 4-clause license.
authors - if you are okay with more relaxed license terms, or the regression
test code was derived from others, pls change them.
2002-02-21 07:38:14 +00:00
tv 220b5c059a MKfoo=no -> NOfoo 2001-12-12 01:23:59 +00:00
rearnsha d7b9a225cb Include bsd.own.mk to get a default setting of OBJECT_FMT. 2001-09-01 09:53:25 +00:00
bjh21 3b01aba77a On ARM ELF systems, check that the kernel aligns the stack pointer to an
8-byte boundary (as mandated by ATPCS B-01) when delivering a signal.
2001-08-06 22:29:57 +00:00