aarch64: define PI_STATIC_AND_HIDDEN

AArch64 always uses pc relative access to static and hidden object
symbols, but the config setting was previously missing.

This affects ld.so start up code.
This commit is contained in:
Szabolcs Nagy 2021-01-05 16:10:40 +00:00
parent 18b640c570
commit 2f056e8a5d
2 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,11 @@
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
# Local configure fragment for sysdeps/aarch64.
# Static and hidden objects are accessed without dynamic relocations.
# The exception is -mcmodel=large which is unsupported with PIC/PIE.
$as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
# We check to see if the compiler and flags are
# selecting the big endian ABI and if they are then
# we set libc_cv_aarch64_be to yes which causes

View File

@ -1,6 +1,10 @@
GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
# Local configure fragment for sysdeps/aarch64.
# Static and hidden objects are accessed without dynamic relocations.
# The exception is -mcmodel=large which is unsupported with PIC/PIE.
AC_DEFINE(PI_STATIC_AND_HIDDEN)
# We check to see if the compiler and flags are
# selecting the big endian ABI and if they are then
# we set libc_cv_aarch64_be to yes which causes