mrg
c8cf27943d
make sure to look in CFLAGS, COPTS and CPPFLAGS for abi options.
...
fixes sgimips64 build of n64 ld.elf_so.
2010-07-11 07:43:12 +00:00
mrg
ee1ac2b96d
avoid an unused variable warning(error) for MKCRYPTO=no builds.
2010-07-11 03:13:08 +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
wiz
88b9c8a3fe
Fix typo, remove trailing whitespace.
2010-06-22 07:00:12 +00:00
mrg
30539536b5
merge bozohttpd 20100621
2010-06-22 05:24:12 +00:00
mrg
aeb27ed42c
merge bozohttpd 20100617.
2010-06-17 19:43:30 +00:00
dholland
971935362c
Remove zombie file.
2010-05-29 23:58:33 +00:00
dholland
8aaae434e3
Remove useless cast, probably motivated by an older and stupider lint.
2010-05-29 23:12:30 +00:00
dholland
3ba8be7347
Update outdated comment (and docs) about which header lines are printed.
...
I appear to have been carrying this patch around since 2002.
2010-05-29 23:08:06 +00:00
dholland
5f666bd308
Don't launder const
2010-05-29 23:05:22 +00:00
mrg
1fe1233e27
merge bozohttpd 20100512
2010-05-15 06:48:27 +00:00
mrg
d4586f7382
merge 20100510 properly
2010-05-10 14:53:17 +00:00
mrg
a07e0db33b
merge bozohttpd 20100510.
2010-05-10 14:44:19 +00:00
mrg
ce2063081a
merge bozohttpd 20100509.
2010-05-10 03:37:45 +00:00
mrg
390458fa54
import bozohttpd 20100509. it has these changes:
...
o major rework and clean up of internal interfaces. move the main
program into main.c, the remaining parts are useable as library.
add bindings for lua. by Alistair G. Crooks <agc@netbsd.org>
o fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=566325
special thanks to al for the majority of these changes.
2010-05-10 03:30:04 +00:00
wiz
55767fc891
Wording.
2010-04-29 21:34:04 +00:00
hubertf
81fae5271a
Rename -w to -c by popular demand
...
(allow file 'c'reation - 'w'riting was always available, with some twist;
plus there's already such a feature elsewhere, so let's try to not
diverge needlessly)
2010-04-29 20:13:46 +00:00
wiz
c80baa2258
Sort options in SYNOPSIS; improve wording.
2010-04-29 07:04:44 +00:00
hubertf
cb578cac71
tftpd(8): Add -w so files can be uploaded without requiring them
...
to be created before the upload. See the section on security
considerations before enabling. [hubertf 20100429]
Addresses PR bin/43164.
2010-04-28 22:21:51 +00:00
joerg
ff0f2fb483
Use fast_remainder32 for the ELF hash. For the hot cache case, this
...
speeds up Firefox startup by over 2% on AMD64.
Limit hash table buckets to 32bit.
2010-04-05 14:01:26 +00:00
joerg
5e015e5e29
Use .In instead of .Aq Pa for header files.
2010-03-22 18:58:31 +00:00
lukem
f009f7a2e4
Update version to 20100320 for Christos' commit to popen.c 1.37 for:
...
PR/43023: Bruce Cran: FTPD bug remote crash
2010-03-21 20:27:26 +00:00
christos
692b0132a0
PR/43023: Bruce Cran: FTPD bug remote crash
...
Since we specify NOCHECK, in the NOMATCH case gl_pathv can be NULL.
(From FreeBSD)
2010-03-20 18:23:30 +00:00
skrll
134b0fcc8f
Only apply -Wno-stack-protector where alloca is used.
2010-03-20 16:36:35 +00:00
roy
51085124f6
Use the gcc directive to disable SSP warnings.
2010-03-19 20:53:50 +00:00
roy
d5e8f757b8
Use alloca(3) instead of local xmalloc for creating our DoneLists.
...
This allows threaded programs to use us a little better, PR lib/43005.
We need to disable SSP when using alloca.
2010-03-18 22:17:55 +00:00
roy
b02ec7e9f8
Implement negative cache checks for symbol lookups.
...
Uses the Donelist idea from FreeBSD.
2010-02-27 11:16:38 +00:00
mlelstv
b076c4eba1
Read the padded superblocks to avoid problems with disks that have
...
larger sectors than 512 Bytes.
2010-02-16 23:13:13 +00:00
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
skrll
d306de736d
Restore backwards compatibility for binaries referencing the main
...
Obj_Entry.
2010-01-17 08:04:20 +00:00
skrll
2e0bcc8d3b
Remove cargo cult dlinfo entry point.
2010-01-16 10:37:51 +00:00
skrll
418048d731
Put the dlopen,and friends entry points back.
...
They're needed by pre-2.0 binaries. Backward compatibiliity for these
was broken by another commit recently which I'll fix shortly.
2010-01-15 07:07:11 +00:00
skrll
699646b3ea
Remove the entry points for dlopen() and friends. They haven't been used
...
since Aug 2003.
2010-01-14 21:52:07 +00:00
skrll
15b7ff0199
Make DEBUG build compile.
2010-01-14 12:12:07 +00:00
skrll
f88b3d9061
Wrap a few long lines.
2010-01-14 11:58:31 +00:00
skrll
c2796a5929
Shut gcc up.
2010-01-14 11:57:06 +00:00
skrll
8b4b9f3e56
Shut gcc up.
2010-01-13 22:34:07 +00:00
christos
12bd4dbd45
PR/39240: Satoshi Suetake: Don't fail when attempting to resolve weak symbols
...
when we are doing immediate binding, leave them alone and they will be dealt
with later during lazy binding. From skrll@
2010-01-13 20:17:21 +00:00
skrll
8f7db61734
Reset the COMBRELOC cache Obj_Entry if it was freed.
...
Fixes PR 41482. Done slightly differently to the patch in the PR.
2010-01-10 07:29:47 +00:00
skrll
fa7832d0b1
Fixup comment.
2010-01-10 06:37:32 +00:00
skrll
09298c1411
Small tidyup.
2010-01-09 15:36:43 +00:00
mbalmer
b877ced633
fix build
2010-01-09 10:46:31 +00:00
christos
77c1fa357d
newer versions of NetBSD turn on -Wsign-compare
2010-01-09 01:25:09 +00:00
wiz
b54de515fb
Sync usage with man page.
2010-01-08 23:27:08 +00:00
wiz
c13fde4224
Sort options in SYNOPSIS.
...
New sentence, new line.
Use only mdoc markup.
Make HTML-ready.
2010-01-08 23:25:07 +00:00
christos
73a2253ad9
Patrick Welche <prlw1@cam.ac.uk>
...
- add -p pathsep option
- make wrap to zero work, but produce a warning
While here:
- fix gcc warnings, in particular variable clobbered warnings
(compiling with fewer warnings does not really fix the problem)
2010-01-08 21:05:14 +00:00
mrg
249d1f1111
use COPTS for -G0.
...
replace ${CPUFLAGS:M-mabi=64:M-mabi=o64} with two constructs.
the former doesn't seem to work anymore.
2009-12-18 17:10:07 +00:00
matt
d8d1440d5c
Merge from matt-nb5-mips64:
...
Add N32/N64 support for mips dynamic loader.
2009-12-14 00:41:18 +00:00
mrg
750ad3d59d
simplify the logic for compat ld.elf_so and move it here. we now can
...
find the libc objdir for multiple compat ld.elf_so's, too.
2009-12-13 09:31:47 +00:00
mrg
6af15ae20b
if BSD_MK_COMPAT_FILE is defined, .include it.
2009-12-13 09:01:45 +00:00