about summary refs log tree commit diff
path: root/sysvipc/test-sysvshm-time64.c
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2021-09-13 12:39:20 -0700
committerFangrui Song <maskray@google.com>2021-09-13 12:39:20 -0700
commit5f07d47e4b3d137edfbe3ea6c4eeba1ea6cfa54d (patch)
tree9e0b40d482c03388e69acbb4f1028fd1fc0542ca /sysvipc/test-sysvshm-time64.c
parent43cea6d5652b6b9e61ac6ecc69419c909b504f47 (diff)
downloadglibc-5f07d47e4b3d137edfbe3ea6c4eeba1ea6cfa54d.tar.gz
glibc-5f07d47e4b3d137edfbe3ea6c4eeba1ea6cfa54d.tar.xz
glibc-5f07d47e4b3d137edfbe3ea6c4eeba1ea6cfa54d.zip
configure: Fix check for INSERT in linker script
GCC/Clang use local access when referencing a const variable,
so the conftest.so may have no dynamic relocation.
LLD reports `error: unable to insert .foo after .rela.dyn` when the
destination section does not exist.

Use a non-const int to ensure that .rela.dyn exists.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'sysvipc/test-sysvshm-time64.c')
0 files changed, 0 insertions, 0 deletions