diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-11-13 14:47:03 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2018-01-09 09:32:58 -0800 |
commit | 391c2c35ce15c186ef3daeb0cb823423cb517e67 (patch) | |
tree | 599823a0e91f614aeb743a9fad72008cdb985c74 /ld/testsuite/ld-x86-64/pr22393-3b.rd | |
parent | 37c28ba4dc86613d510cd8fafc16f2993a11254e (diff) | |
download | gdb-users/hjl/pr22393/relro.zip gdb-users/hjl/pr22393/relro.tar.gz gdb-users/hjl/pr22393/relro.tar.bz2 |
x86-64: Add tests for -z separate-code -z max-page-size=0x1000users/hjl/pr22393/relro
PR ld/22393
* testsuite/ld-x86-64/pr22393-3a.c: New file.
* testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
* testsuite/ld-x86-64/pr22393-3b.c: Likewise.
* testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
-z max-page-size=0x1000.
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr22393-3b.rd')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr22393-3b.rd | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr22393-3b.rd b/ld/testsuite/ld-x86-64/pr22393-3b.rd new file mode 100644 index 0000000..b7ba110 --- /dev/null +++ b/ld/testsuite/ld-x86-64/pr22393-3b.rd @@ -0,0 +1,9 @@ +#source: pr22393-1.s +#ld: -shared -z textonly +#readelf: -l --wide +#target: *-*-linux-gnu *-*-gnu* *-*-nacl* + +#failif +#... + +[0-9]+ +.*(\.note|\.gnu|\.hash|\.dyn|\.rel).*\.text.* +#... |