diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2019-04-11 06:52:03 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2019-04-11 06:52:03 -0700 |
commit | b3d7a86748247a68c69939cdf9925d4a78448f2d (patch) | |
tree | 4f53fc7857d2c79e5417bf0d6005c4cb1a8a7a11 /gdb/rust-lang.c | |
parent | a0ea3a14dc6a6062c0c1f2bfbb7ad0373ec20843 (diff) | |
download | gdb-b3d7a86748247a68c69939cdf9925d4a78448f2d.zip gdb-b3d7a86748247a68c69939cdf9925d4a78448f2d.tar.gz gdb-b3d7a86748247a68c69939cdf9925d4a78448f2d.tar.bz2 |
ld: Add -static-pie tests
Add -static-pie tests for DT_INIT_ARRAY, DT_FINI_ARRAY, DT_PREINIT_ARRAY
and IFUNC.
* testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
to "-static-pie" if target compiler supports it.
* testsuite/ld-elf/elf.exp: Run -static-pie tests if
$STATIC_PIE_LDFLAGS isn't empty.
* testsuite/ld-ifunc/ifunc.exp: Likewise.
Diffstat (limited to 'gdb/rust-lang.c')
0 files changed, 0 insertions, 0 deletions