diff options
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ld-arc/got-01.d | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-arc/got-01.s | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arc/got-01.d b/ld/testsuite/ld-arc/got-01.d new file mode 100644 index 0000000..c34d6a7 --- /dev/null +++ b/ld/testsuite/ld-arc/got-01.d @@ -0,0 +1,7 @@ +#source: got-01.s +#as: -mcpu=arc700 +#ld: +#readelf: -S + +There are . section headers, starting at offset 0x[0-9a-f]+: +#... diff --git a/ld/testsuite/ld-arc/got-01.s b/ld/testsuite/ld-arc/got-01.s new file mode 100644 index 0000000..4e1b406 --- /dev/null +++ b/ld/testsuite/ld-arc/got-01.s @@ -0,0 +1,5 @@ + .text + .global __start +__start: +foo: + ld r0, [pcl, foo@gotpc] |