diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64')
-rw-r--r-- | ld/testsuite/ld-x86-64/lea1g.d | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/lea1h.d | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/lea1i.d | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/lea1j.d | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/lea1k.d | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/lea1l.d | 9 | ||||
-rw-r--r-- | ld/testsuite/ld-x86-64/x86-64.exp | 6 |
7 files changed, 60 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/lea1g.d b/ld/testsuite/ld-x86-64/lea1g.d new file mode 100644 index 0000000..df0abd8 --- /dev/null +++ b/ld/testsuite/ld-x86-64/lea1g.d @@ -0,0 +1,9 @@ +#source: lea1.s +#as: --64 +#ld: -Bsymbolic -shared -melf_x86_64 +#readelf: -Sw + +#failif +#... +[ ]*\[.*\][ ]+.*\.got .* +#... diff --git a/ld/testsuite/ld-x86-64/lea1h.d b/ld/testsuite/ld-x86-64/lea1h.d new file mode 100644 index 0000000..3c9860b --- /dev/null +++ b/ld/testsuite/ld-x86-64/lea1h.d @@ -0,0 +1,9 @@ +#source: lea1.s +#as: --64 +#ld: -pie -melf_x86_64 +#readelf: -Sw + +#failif +#... +[ ]*\[.*\][ ]+.*\.got .* +#... diff --git a/ld/testsuite/ld-x86-64/lea1i.d b/ld/testsuite/ld-x86-64/lea1i.d new file mode 100644 index 0000000..9a91a10 --- /dev/null +++ b/ld/testsuite/ld-x86-64/lea1i.d @@ -0,0 +1,9 @@ +#source: lea1.s +#as: --64 +#ld: -melf_x86_64 +#readelf: -Sw + +#failif +#... +[ ]*\[.*\][ ]+.*\.got .* +#... diff --git a/ld/testsuite/ld-x86-64/lea1j.d b/ld/testsuite/ld-x86-64/lea1j.d new file mode 100644 index 0000000..a8cfc19 --- /dev/null +++ b/ld/testsuite/ld-x86-64/lea1j.d @@ -0,0 +1,9 @@ +#source: lea1.s +#as: --x32 +#ld: -Bsymbolic -shared -melf32_x86_64 +#readelf: -Sw + +#failif +#... +[ ]*\[.*\][ ]+.*\.got .* +#... diff --git a/ld/testsuite/ld-x86-64/lea1k.d b/ld/testsuite/ld-x86-64/lea1k.d new file mode 100644 index 0000000..bb02506 --- /dev/null +++ b/ld/testsuite/ld-x86-64/lea1k.d @@ -0,0 +1,9 @@ +#source: lea1.s +#as: --x32 +#ld: -pie -melf32_x86_64 +#readelf: -Sw + +#failif +#... +[ ]*\[.*\][ ]+.*\.got .* +#... diff --git a/ld/testsuite/ld-x86-64/lea1l.d b/ld/testsuite/ld-x86-64/lea1l.d new file mode 100644 index 0000000..1df2bc1 --- /dev/null +++ b/ld/testsuite/ld-x86-64/lea1l.d @@ -0,0 +1,9 @@ +#source: lea1.s +#as: --x32 +#ld: -melf32_x86_64 +#readelf: -Sw + +#failif +#... +[ ]*\[.*\][ ]+.*\.got .* +#... diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp index 1db81c8..7eabf39 100644 --- a/ld/testsuite/ld-x86-64/x86-64.exp +++ b/ld/testsuite/ld-x86-64/x86-64.exp @@ -282,6 +282,12 @@ run_dump_test "lea1c" run_dump_test "lea1d" run_dump_test "lea1e" run_dump_test "lea1f" +run_dump_test "lea1g" +run_dump_test "lea1h" +run_dump_test "lea1i" +run_dump_test "lea1j" +run_dump_test "lea1k" +run_dump_test "lea1l" # Must be native with the C compiler if { [isnative] && [which $CC] != 0 } { |