Run tst-prelink test for GLOB_DAT reloc
commit89569c8bb6b386db4881af0e96514d2ec5c35478
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 14 Nov 2015 20:00:16 +0000 (14 12:00 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 14 Nov 2015 20:00:38 +0000 (14 12:00 -0800)
treeb7f12201cf9012de909b9ddd96f820499e3c0584
parent909f8e14dbe4073d75a776b4a9f50e5cc450f161
Run tst-prelink test for GLOB_DAT reloc

Run tst-prelink test on targets with GLOB_DAT relocaton.

* config.make.in (have-glob-dat-reloc): New.
* configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
target supports GLOB_DAT relocaton. AC_SUBST.
* configure: Regenerated.
* elf/Makefile (tests): Add tst-prelink.
(tests-special): Add $(objpfx)tst-prelink-cmp.out.
(tst-prelink-ENV): New.
($(objpfx)tst-prelink-conflict.out): Likewise.
($(objpfx)tst-prelink-cmp.out): Likewise.
* sysdeps/x86/tst-prelink.c: Moved to ...
* elf/tst-prelink.c: Here.
* sysdeps/x86/tst-prelink.exp: Moved to ...
* elf/tst-prelink.exp: Here.
* sysdeps/x86/Makefile (tests): Don't add tst-prelink.
(tst-prelink-ENV): Removed.
($(objpfx)tst-prelink-conflict.out): Likewise.
($(objpfx)tst-prelink-cmp.out): Likewise.
(tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
ChangeLog
config.make.in
configure
configure.ac
elf/Makefile
elf/tst-prelink.c [moved from sysdeps/x86/tst-prelink.c with 100% similarity]
elf/tst-prelink.exp [moved from sysdeps/x86/tst-prelink.exp with 100% similarity]
sysdeps/x86/Makefile