aboutsummaryrefslogtreecommitdiff
path: root/config.make.in
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-04 12:17:15 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-04 12:17:30 -0700
commit19f1a11e7ea2a5082bae9d9a079338c5658ba954 (patch)
tree242caa3dcb915548b8541f4552e849e06c1ffb19 /config.make.in
parent3093fd5e5d418b91411aa9b061850b8773433cf7 (diff)
downloadglibc-19f1a11e7ea2a5082bae9d9a079338c5658ba954.zip
glibc-19f1a11e7ea2a5082bae9d9a079338c5658ba954.tar.gz
glibc-19f1a11e7ea2a5082bae9d9a079338c5658ba954.tar.bz2
Check linker support for INSERT in linker script
Since gold doesn't support INSERT in linker script: https://sourceware.org/bugzilla/show_bug.cgi?id=21676 tst-split-dynreloc fails to link with gold. Check if linker supports INSERT in linker script before using it. * config.make.in (have-insert): New. * configure.ac (libc_cv_insert): New. Set to yes if linker supports INSERT in linker script. (AC_SUBST(libc_cv_insert): New. * configure: Regenerated. * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only if $(have-insert) == yes.
Diffstat (limited to 'config.make.in')
-rw-r--r--config.make.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.make.in b/config.make.in
index 5a4a054..7eff1da 100644
--- a/config.make.in
+++ b/config.make.in
@@ -54,6 +54,7 @@ enable-werror = @enable_werror@
have-z-combreloc = @libc_cv_z_combreloc@
have-z-execstack = @libc_cv_z_execstack@
have-protected-data = @libc_cv_protected_data@
+have-insert = @libc_cv_insert@
have-glob-dat-reloc = @libc_cv_has_glob_dat@
with-fp = @with_fp@
enable-timezone-tools = @enable_timezone_tools@