diff options
author | 2017-10-31 16:14:02 +0000 | |
---|---|---|
committer | 2017-10-31 16:14:02 +0000 | |
commit | 0adc2bd520d07af4f85e0aa710a1798439120911 (patch) | |
tree | aa1f4bef92f7e278b70af1cbd7381ca63f0da7bd /lib/libc | |
parent | Add platform-id for EFI. (diff) | |
download | wireguard-openbsd-0adc2bd520d07af4f85e0aa710a1798439120911.tar.xz wireguard-openbsd-0adc2bd520d07af4f85e0aa710a1798439120911.zip |
Argh: put back some linker-supplied symbols to avoid triggering a bug
in binutils that results in uninitialized .dynsym entries in shared objects
in the samba port.
problem reported by naddy@
ok jca@ kettenis@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/Symbols.list | 11 | ||||
-rw-r--r-- | lib/libc/shlib_version | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/lib/libc/Symbols.list b/lib/libc/Symbols.list index bdcc6e9faad..52e223ac98d 100644 --- a/lib/libc/Symbols.list +++ b/lib/libc/Symbols.list @@ -9,6 +9,17 @@ /* brk/sbrk need this so it can be overriden by the executable's value */ _end +/* + * XXX binutils can create corrupt symbol table entries (uninitialized?) + * in shared libs in at least the samba port if at least the __data_start + * symbol is missing. For now, put them all back until the bug can be + * stomped on + */ +__data_start +__bss_start +_edata +__end + /* sys */ __get_tcb __semctl diff --git a/lib/libc/shlib_version b/lib/libc/shlib_version index 589abf589f1..9dcf58fd5f6 100644 --- a/lib/libc/shlib_version +++ b/lib/libc/shlib_version @@ -1,4 +1,4 @@ major=91 -minor=0 +minor=1 # note: If changes were made to include/thread_private.h or if system # calls were added/changed then librthread/shlib_version also be updated. |