joerg
f5cd842d49
Outdated, kill.
2014-08-23 19:18:41 +00:00
joerg
6a83645936
Typo.
2014-08-23 18:05:33 +00:00
matt
5b3354816c
Add proper registers for register counts.
2014-08-17 16:57:37 +00:00
matt
d32bdc3217
add a missing register prefix.
2014-08-17 16:14:19 +00:00
mbalmer
fe91fb6abb
NUL terminate a string.
2014-08-15 19:35:28 +00:00
matt
30993f706c
Use -fPIC since powerpc64 is always compiled as -fPIC and -fpic would cause
...
__PIC__ to change.
2014-08-15 09:40:07 +00:00
joerg
8a961968a8
Build position independent on PPC64, too.
2014-08-13 15:56:52 +00:00
matt
243b0ccea7
Don't provide __gnu_Unwind_Find_exidx if __ARM_DWARF_EH__ is defined
2014-08-10 23:35:26 +00:00
matt
547b3a3b01
Changes to existing files to enable building AARCH64 userland.
...
evbarm64-el
This is clang only. While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt
beb9c6d1b5
Preliminary files for AARCH64 (64-bit ARM) support.
...
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
matt
154c7bc749
Fix parenthesis on __ha macro
2014-07-28 17:28:13 +00:00
lneto
4ab4902eb2
lua: updated from 5.1 to 5.3 work3
...
* lua(1):
- changed lua_Integer to intmax_t
- updated distrib/sets/lists and etc/mtree
- updated bsd.lua.mk
- fixed bozohttpd (lua-bozo.c)
- compatibilized bindings: gpio, sqlite
* lua(4):
- removed floating-point and libc dependencies using '#ifndef _KERNEL'
- fixed division by zero and exponentiation
- libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
- acpica: removed isprint() from acnetbsd.h
- libc: moved strcspn.c, strpbrk.c and strspn.c to common
- removed stub headers
- compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
2014-07-19 18:38:33 +00:00
mrg
e8a778f4c0
call this 20140717.
2014-07-17 10:21:51 +00:00
mrg
71b444f24e
rewrite much of the SSL code:
...
- handle errors in many places they weren't properly
- make SSL_accept() an error the main code notices
- expand bozo_ssl_err() to include bozo_ssl_warn(), bozo_clear_ssl_queue()
- remove empty bozo_ssl_flush()
2014-07-17 06:27:52 +00:00
mrg
cce952fc91
link against main.c and ssl-bozo.c (which provides the IO backend.)
2014-07-17 06:24:57 +00:00
mrg
002519bfa2
use const and remove unnecessary braces.
2014-07-17 06:14:46 +00:00
mrg
f3239b26ff
make a minor output change match again.
2014-07-16 14:47:59 +00:00
mrg
dfbb0220fc
make -t chroot option available always again.
2014-07-16 07:41:43 +00:00
mrg
8c06d93b7b
call this bozohttpd 20140708, and add/fix a couple of CHANGES entries.
2014-07-08 14:06:17 +00:00
mrg
a212be1ee8
avoid truncating a directory path when using snprintf(), but instead
...
detect and return an error.
found and fixed by shm@netbsd.
2014-07-08 14:01:21 +00:00
mrg
681e9c9b00
make export-distfile target slightly more stable.
2014-07-08 13:59:39 +00:00
shm
d1ed37e48d
Handle ENAMETOOLONG to return 404 error instead of 500.
...
OK mrg@
2014-07-02 13:58:09 +00:00
shm
ca5b33a5e8
* bozo_clean_request free(3) clean up (removed needless checks)
...
* HEAD method no longer returns response body on error
* fixed bug with multiple bozo_http_error calls caused by fix_url_percent
OK @mrg
2014-07-01 13:41:21 +00:00
dholland
fedb6c32b4
put the sccsids back here too
2014-06-26 03:24:51 +00:00
shm
55b8853aa5
PR/48810 use cgi handler for index files
...
OK mrg@ martin@
2014-06-24 07:23:59 +00:00
christos
bcd3afec62
Although the kernel handles non-NUL terminated interface names, it is better
...
to avoid this, and all other places that create ifdr_name use strlcpy anyway
so make it conform.
2014-06-06 15:33:14 +00:00
joerg
a300913f30
Remove remaining kvm glue.
2014-06-02 19:29:58 +00:00
joerg
b760a206df
Remove majority of KVM usage.
2014-06-02 18:17:51 +00:00
joerg
80a70b4c48
Remove !BSD and lint branches.
2014-06-02 17:40:05 +00:00
mrg
5893f1db8f
bump version, note .svg support.
2014-05-17 05:50:46 +00:00
mrg
f434e335cc
enable .svg. as prompted by agc@.
2014-05-17 05:50:01 +00:00
martin
b87a9303be
The table of masks applied for each relocation type was wrong for some
...
relocs with 64bit targets, like GLOB_DAT.
Change some instruction patterns used for PLT slots, so -current
objdump -d shows what the comment says.
Fix encoding of %lox() in PLT slots "close" to -1.
Enhance debug output slightly.
2014-04-02 14:11:25 +00:00
matt
a1f21652d9
Make sure r1 is preserved _rtld_bind_start.
2014-03-22 15:13:10 +00:00
matt
e26b436cdb
Simplify. If we got called via a calls $n, *pcrel32, instead of constructing
...
a new stack frame, back up the PC by 7 and return back to the calls so it
will be reinvoked. (This is by far the most common way it gets invoked).
Otherwise rebuild a new callframe and jump to the routine.
2014-03-21 14:03:30 +00:00
matt
bc069d405c
Improve some of the rdbg messages to print the address of the pltgot slot
...
being modified.
2014-03-21 01:43:33 +00:00
matt
22fbc67ed0
Don't resolve symbols to PLT entries on the VAX. It just causes a lot of
...
overhead.
2014-03-21 01:40:41 +00:00
joerg
f8bf5bbce0
Save actual start of function, not address of entry mask on the stack.
2014-03-19 21:52:00 +00:00
matt
f71aaf7afb
Fix two bugs. (jump past entry mask, fix insv)
2014-03-19 15:34:30 +00:00
matt
db747c73e4
Once we know the bound routine, rebuilt a new callframe that can be unwound
...
properly.
2014-03-19 02:39:22 +00:00
matt
bf06b1032e
Add .cfi ops so that one can unwind through this.
2014-03-18 23:43:38 +00:00
riastradh
6cb10275d0
Merge riastradh-drm2 to HEAD.
2014-03-18 18:20:35 +00:00
joerg
47875e291b
Ignore LD_BIND_NOW for setuid binaries, but keep it in the environment
...
otherwise.
2014-03-18 16:05:34 +00:00
gson
b941da03f1
Delay daemonization until RPC services have been registered.
...
Fixes one of the race conditions of PR misc/48282.
2014-03-18 11:00:20 +00:00
matt
cdbe3bab4f
Change OUTPUT to powerpc:common to make powerpc64 ld happy
2014-03-07 05:57:46 +00:00
matt
9b490ebf92
Make ldd happy
2014-03-07 01:27:14 +00:00
matt
1200e7d3fe
More PPC64 changes.
...
Nothing to do for lazy bindings.
Record DT_PPC64_GLINK and make _rtld_bind return it.
When resolving a JMP_SLOT, copy the source function descriptor into the PLTGOT
2014-03-06 19:19:40 +00:00
matt
15089cc505
Enable building ld.elf_so for powerpc
...
Produce a link map for ld.elf_so
2014-03-06 09:34:56 +00:00
matt
565a18129d
Make ELF64 aware.
2014-03-06 09:34:07 +00:00
matt
fab57a4af5
powerpc64 changes
2014-03-06 07:47:39 +00:00
matt
746070937f
Startup file for powerpc64. (too many difference with ppc32 to do
...
#ifdef dance)
2014-03-06 07:47:19 +00:00