summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2015-08-31 17:59:51 +0000
committerkettenis <kettenis@openbsd.org>2015-08-31 17:59:51 +0000
commitac848f4817e85bd82392a4d2dc4f6e4903332dcb (patch)
tree76c4070a3d8fa7a31ce9e91a5dcee940d30d17fa /lib/libc
parentremove unused define; no binary change (diff)
downloadwireguard-openbsd-ac848f4817e85bd82392a4d2dc4f6e4903332dcb.tar.xz
wireguard-openbsd-ac848f4817e85bd82392a4d2dc4f6e4903332dcb.zip
The code that guesstimates the number of local GOT entries assumes that there
are only two loadable segments. With W^X on OpenBSD, we will typically create more than two. Most shared libraries and binaries end up with five of them. One of them is the GOT itself so we don't need to take that one into account. So raise the number of spare local GOT entries from 5 to 7. This fixes building liblto_plugin.so in the gcc 4.9 port. ok miod@, jasper@, pascal@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions