diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-08-04 12:17:15 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-04 12:17:30 -0700 |
commit | 19f1a11e7ea2a5082bae9d9a079338c5658ba954 (patch) | |
tree | 242caa3dcb915548b8541f4552e849e06c1ffb19 /ChangeLog | |
parent | 3093fd5e5d418b91411aa9b061850b8773433cf7 (diff) | |
download | glibc-19f1a11e7ea2a5082bae9d9a079338c5658ba954.tar glibc-19f1a11e7ea2a5082bae9d9a079338c5658ba954.tar.gz glibc-19f1a11e7ea2a5082bae9d9a079338c5658ba954.tar.bz2 glibc-19f1a11e7ea2a5082bae9d9a079338c5658ba954.zip |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> + * 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. + +2017-08-04 H.J. Lu <hongjiu.lu@intel.com> + * elf/Makefile (tests): Add vismain only if $(have-protected-data) == yes. (tests-pie): Likewise. |