about summary refs log tree commit diff
path: root/math/w_jn_template.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-01-06 14:28:02 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-01-21 15:54:55 +0000
commit04af1eb3132904519f9bc8fdcca49525bec83fc7 (patch)
treeef2cd0ca5c9dd5236f27662a2475d3602e1fbe27 /math/w_jn_template.c
parent374cef32ac36d956f75ccc6416872498bbe66e82 (diff)
downloadglibc-04af1eb3132904519f9bc8fdcca49525bec83fc7.tar.gz
glibc-04af1eb3132904519f9bc8fdcca49525bec83fc7.tar.xz
glibc-04af1eb3132904519f9bc8fdcca49525bec83fc7.zip
csu: Avoid weak ref for __ehdr_start in static PIE
All linkers support __ehdr_start that support static PIE linking,
so there is no need to check for its presence via a weak reference.

This avoids a RELATIVE relocation in static PIE startup code on some
targets.

With non-PIE static linking the weak ref check is kept in case the
linker does not support __ehdr_start.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'math/w_jn_template.c')
0 files changed, 0 insertions, 0 deletions