diff options
Diffstat (limited to 'gold/testsuite/relr_1.s')
-rw-r--r-- | gold/testsuite/relr_1.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gold/testsuite/relr_1.s b/gold/testsuite/relr_1.s new file mode 100644 index 0000000..7828ac8 --- /dev/null +++ b/gold/testsuite/relr_1.s @@ -0,0 +1,14 @@ +.data +.balign 8 +.globl data +data: + +.dc.a .data +.dc.a 0 +.dc.a data + 2 +.dc.a __ehdr_start + 4 +.dc.a __ehdr_start + 9 + +.byte 0 +// Offset is not a multiple of 2. Don't use RELR. +.dc.a __ehdr_start + 10 |