Commit Graph

2859 Commits

Author SHA1 Message Date
mrg ee81b5bfee display the tempdir for exported files as well. 2014-02-02 03:20:57 +00:00
mrg 7f3f4479d2 call gzip directly for distfile export target; it's usually run outside
of the normal build.
2014-02-02 03:20:10 +00:00
mrg 4d12e4bc49 add lua-bozo.c. 2014-02-02 03:14:58 +00:00
mrg 496aca988c update for 2014-02-01. 2014-02-02 03:13:31 +00:00
joerg 15f3733bef Catch up with _lwp_park change. 2014-01-31 22:46:40 +00:00
mrg 95e8de7784 move a variable into the scope of its use, where the assignment
has already validated the pointers used.  fixes a bug reported
in private email from dogcow@.
2014-01-30 02:51:41 +00:00
apb a452d8c9e2 Pass the -n flag to gzip invocations.
This prevents it from embedding a timestamp in the output.  We pass
"-n" unconditionally, not conditional on MKREPRO, because many other
invocations of gzip already passed the -n flag unconditionally.
2014-01-27 21:37:17 +00:00
apb 36ef98548b Use ${TOOL_GZIP} instead of just gzip in all Makefiles
outside */dist/* subdirectories.

When USE_PIGZGZIP=yes, bsd.own.mk sets TOOL_GZIP=${TOOL_PIGZ},
so there's no need to test USE_PIGZGZIP in these Makefiles.
2014-01-27 08:18:07 +00:00
joerg cb2eb1a336 Don't align random sections. Simplify by using .pushsection/.popsection. 2014-01-12 19:36:08 +00:00
mrg 8af74a22fc sort the contributor list, and update the defines list to include lua. 2014-01-02 08:47:38 +00:00
mrg 6810043c20 update for 20140102. 2014-01-02 08:30:22 +00:00
mrg 44293cacb5 update version, date and copyright. 2014-01-02 08:22:59 +00:00
mrg d1b43391bd - update CHANGES with recent changes
- update version to 20140102
- update copyrights
- use getcwd() over getwd()
- fix lean build (don't include lua)
2014-01-02 08:21:38 +00:00
matt 467f6149c3 Don't use GOT relocations. Use PC relative for the GOT and GOTOFF for
_DYNAMIC.  Make thumb friendly.
2013-12-03 00:19:56 +00:00
christos 5fbbc292aa CID 1132773: Fix file descriptor leak 2013-11-27 18:01:33 +00:00
skrll 03ee7fc3bc If dlopen of the dynamic linker is requested, e.g. by rump in
rumpuser_dl_bootstrap, then return &_rtld_objself as the handle and do
not create a duplicate mapping.

The handle is mostly useless as _rtld_objself doesn't appear on
_rtld_objlist.

This fixes a problem on earm platforms where ld.elf_so (currently) has
an init_array section.  Calling this caused binaries to segv.
2013-11-20 07:18:23 +00:00
mbalmer 8bbb1276fe fix bad free 2013-11-19 07:51:56 +00:00
skrll 90c0a95fec Remove hack now it's fixed in 4.8.2 2013-11-16 17:14:06 +00:00
christos 1f8b65e5d5 CID 1107545, 1107546: fix memory leak 2013-11-13 21:46:22 +00:00
christos 04c9845e3b CID 1107546: Fix memory leak 2013-11-13 21:44:29 +00:00
skrll 283152d4ee Apply hack for gcc 4.8 bug on rtld.c. 2013-11-13 11:06:53 +00:00
joerg 5e2fc1bbd3 Only initialise TLS space from the PT_TLS segment, if the size is
positive and the offset has been computed. Fixes PR lib/48324.
2013-10-21 19:14:15 +00:00
christos 193b880fad fix unused variable warnings 2013-10-19 17:19:30 +00:00
skrll 3ea7549453 Add debug code. 2013-10-19 10:14:06 +00:00
mbalmer 0dfc484ad7 fold long line in a readable way; pass nil as query table if reading form data fails 2013-10-17 08:07:54 +00:00
mbalmer b972118e3e better approach to NUL terminate strings 2013-10-17 07:54:19 +00:00
mbalmer a6427458c1 plug a memory leak 2013-10-17 07:49:06 +00:00
mbalmer de3f2be777 zero allocated memory buffers 2013-10-17 07:31:31 +00:00
he 10f296ec2a Also depend on LIBLUA, and add -lm to allow static linking. 2013-10-16 10:04:26 +00:00
wiz c9283f1155 Sort. More markup. 2013-10-12 22:37:43 +00:00
mbalmer b65f3decc3 no need to check free() arguments against NULL 2013-10-12 18:46:12 +00:00
mbalmer 6c154a3125 it's Lua, not lua 2013-10-12 17:25:18 +00:00
mbalmer cb23152c39 add Lua scripting support to bozohttpd, see httpd(8) for details 2013-10-12 17:24:06 +00:00
mbalmer bee8901ae3 remove trailing whitespace 2013-10-12 07:49:40 +00:00
matt fa741d8823 Use MACHINE_CPU for m68k. Use similar logic for both tests. 2013-10-09 22:33:41 +00:00
jnemeth 4862012f0e - complete renaming of -w to -c from 1.38
- update usage string to match
- this fixes PR/48234 by Jeff Woodall
2013-10-04 07:51:48 +00:00
martin abea8b316b The R_SPARC_L44 relocation type is documented to be truncating and
calculated as "(S + A) & 0xfff" - so while it (usually) sets a "imm13" field
in the opcode, only 12 bits of the calculated value can be used.
2013-10-03 10:45:57 +00:00
martin c60b2e0b87 Missing , in table initializer 2013-09-23 21:00:35 +00:00
matt 25193be039 For earm, emit a MARCH note. 2013-09-10 16:35:10 +00:00
pooka c99e7cc9a4 allow compile-time overriding of BOZO_WRSZ/MMAPSZ parameters 2013-09-04 22:59:50 +00:00
joerg a6c6eb019c Some architectures can't create unwind tables without the frame pointer,
so don't use -fomit-frame-pointer on those.
2013-08-12 17:15:46 +00:00
joerg fabae2a4ad Use __dead. 2013-08-12 13:54:33 +00:00
dholland 6a9155ad5a Don't try to estrdup() NULL; thanks martin@ 2013-08-11 16:36:30 +00:00
martin 00b8abd4f7 Fix another automatic variable that is life both pre- and post the siglongjmp
(which gcc calls "might be clobbered") by marking it volatile: on some
machines, this value might end up in a register loaded before the sigsetjmp,
but not preserved by the siglongjmp later.
Fixes the VAX build.
2013-08-11 09:16:42 +00:00
dholland 27c14eada7 Use siglongjmp to jump out of signal handlers. 2013-08-11 05:48:56 +00:00
dholland bd3f97bffb Pass WARNS=5. 2013-08-11 05:42:41 +00:00
skrll ffcdb0b170 Fix DEBUG build. 2013-08-03 13:17:05 +00:00
christos 5a45295fbd fstat returns -1 on error (Maxime Villard)
also while (1) -> for (;;)
2013-07-31 19:50:47 +00:00
wiz a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
matt 8b8f566d0a Support MACHINE_ARCH of coldfire 2013-07-18 21:58:13 +00:00