diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-05-16 08:52:01 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-05-16 08:52:01 -0700 |
commit | 0a7d38897b9fb1ec7a064ca3347cbac3ba49e5ac (patch) | |
tree | 4ab45d91735814f22770ac0e58a287365e349b30 /ld/testsuite/ld-x86-64 | |
parent | 91cb9803fcf6d1c7001395d80f79120ae8e6338a (diff) | |
download | gdb-0a7d38897b9fb1ec7a064ca3347cbac3ba49e5ac.zip gdb-0a7d38897b9fb1ec7a064ca3347cbac3ba49e5ac.tar.gz gdb-0a7d38897b9fb1ec7a064ca3347cbac3ba49e5ac.tar.bz2 |
Run PR ld/21481 tests only if IFUNC is supported
PR ld/21481
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests only
if IFUNC is supported by run-time.
Diffstat (limited to 'ld/testsuite/ld-x86-64')
-rw-r--r-- | ld/testsuite/ld-x86-64/x86-64.exp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp index 05125df..d583f09 100644 --- a/ld/testsuite/ld-x86-64/x86-64.exp +++ b/ld/testsuite/ld-x86-64/x86-64.exp @@ -1221,6 +1221,24 @@ if { [isnative] && [which $CC] != 0 } { "pr19784b" \ "pass.out" \ ] \ + [list \ + "Run pr21481a" \ + "$NOPIE_LDFLAGS -Wl,-z,bndplt" \ + "" \ + { pr21481a.c pr21481b.S } \ + "pr21481a" \ + "pass.out" \ + "$NOPIE_CFLAGS" \ + ] \ + [list \ + "Run pr21481b" \ + "$NOPIE_LDFLAGS -Wl,-z,bndplt,-z,now" \ + "" \ + { pr21481a.c pr21481b.S } \ + "pr21481b" \ + "pass.out" \ + "$NOPIE_CFLAGS" \ + ] \ ] } @@ -1317,24 +1335,6 @@ if { [isnative] && [which $CC] != 0 } { "pr20800" \ "pass.out" \ ] \ - [list \ - "Run pr21481a" \ - "$NOPIE_LDFLAGS -Wl,-z,bndplt" \ - "" \ - { pr21481a.c pr21481b.S } \ - "pr21481a" \ - "pass.out" \ - "$NOPIE_CFLAGS" \ - ] \ - [list \ - "Run pr21481b" \ - "$NOPIE_LDFLAGS -Wl,-z,bndplt,-z,now" \ - "" \ - { pr21481a.c pr21481b.S } \ - "pr21481b" \ - "pass.out" \ - "$NOPIE_CFLAGS" \ - ] \ ] } |