aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/pr22393-3b.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2018-01-11 19:19:22 -0800
committerH.J. Lu <hjl.tools@gmail.com>2018-01-11 19:19:31 -0800
commitcf9e7f1f07efa2ce6846d8a29015dd8fb70197b0 (patch)
treed3a6ec2b2b075cb0d98aeac1bc89adf715158556 /ld/testsuite/ld-x86-64/pr22393-3b.c
parentd346bb277c7f194ece73a7200d1ed6417b1194e5 (diff)
downloadgdb-cf9e7f1f07efa2ce6846d8a29015dd8fb70197b0.zip
gdb-cf9e7f1f07efa2ce6846d8a29015dd8fb70197b0.tar.gz
gdb-cf9e7f1f07efa2ce6846d8a29015dd8fb70197b0.tar.bz2
x86-64: Add tests for -z separate-code -z max-page-size=0x1000
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.c')
-rw-r--r--ld/testsuite/ld-x86-64/pr22393-3b.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr22393-3b.c b/ld/testsuite/ld-x86-64/pr22393-3b.c
new file mode 100644
index 0000000..3033809
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/pr22393-3b.c
@@ -0,0 +1,7 @@
+void test(void);
+
+int main()
+{
+ test();
+ return 0;
+}