summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2015-06-01 19:02:11 +0000
committermiod <miod@openbsd.org>2015-06-01 19:02:11 +0000
commitba4624ee143a0c6453f7aa6bfc68d9c16c7e984c (patch)
tree317ec19c40a1e5553ef3ed21d737ef9ec90b9094 /sys
parentDefine HAVE_AS_EXPLICIT_RELOCS and HAVE_AS_JSRDIRECT_RELOCS. These symbols are (diff)
downloadwireguard-openbsd-ba4624ee143a0c6453f7aa6bfc68d9c16c7e984c.tar.xz
wireguard-openbsd-ba4624ee143a0c6453f7aa6bfc68d9c16c7e984c.zip
Since the __{div,rem}{l,q}{,u} special libc entry points use a specific
calling convention which conflicts over t11 usage with the secureplt calling convention, force these symbols to be `notype' rather `function', so that the linker will not attempt to use plt relocations for them in the absence of explicit relocation information. Note that these symbols are still public and still callable with the old plt convention, so existing binaries will still work with an updated libc, and no libc version change is necessary.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions