diff options
author | Alan Modra <amodra@bigpond.net.au> | 2010-09-23 11:55:47 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2010-09-23 11:55:47 +0000 |
commit | 016ee6bbbda368b52048e8b40ce8be4c91002206 (patch) | |
tree | 388b6365d6b81d5554af9193fa78958a22b54817 /ld/testsuite/ld-d10v | |
parent | 213b6dabb6ed8153edfbc9424ea8c59e9fdda7ec (diff) | |
download | binutils-redhat-016ee6bbbda368b52048e8b40ce8be4c91002206.tar.gz |
* ld-d10v/reloc-007.d: Don't error.
* ld-d10v/reloc-008.d: Likewise.
* ld-d10v/reloc-015.d: Likewise.
* ld-d10v/reloc-016.d: Likewise.
* ld-d10v/reloc-012.ld: Use a sane offset.
Diffstat (limited to 'ld/testsuite/ld-d10v')
-rw-r--r-- | ld/testsuite/ld-d10v/reloc-007.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-d10v/reloc-008.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-d10v/reloc-012.ld | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-d10v/reloc-015.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-d10v/reloc-016.d | 3 |
5 files changed, 11 insertions, 7 deletions
diff --git a/ld/testsuite/ld-d10v/reloc-007.d b/ld/testsuite/ld-d10v/reloc-007.d index 2edb862a13..293a6df324 100644 --- a/ld/testsuite/ld-d10v/reloc-007.d +++ b/ld/testsuite/ld-d10v/reloc-007.d @@ -1,7 +1,8 @@ #source: reloc-005.s #ld: -T $srcdir/$subdir/reloc-007.ld #objdump: -D +# now that we treat addresses as wrapping, it isn't possible to fail #error: relocation truncated to fit: R_D10V_18_PCREL # Test 18 bit pc rel reloc bad boundary - +#pass diff --git a/ld/testsuite/ld-d10v/reloc-008.d b/ld/testsuite/ld-d10v/reloc-008.d index cb3cf4b916..273a23c35f 100644 --- a/ld/testsuite/ld-d10v/reloc-008.d +++ b/ld/testsuite/ld-d10v/reloc-008.d @@ -1,7 +1,8 @@ #source: reloc-005.s #ld: -T $srcdir/$subdir/reloc-008.ld #objdump: -D +# now that we treat addresses as wrapping, it isn't possible to fail #error: relocation truncated to fit: R_D10V_18_PCREL # Test 18 bit pc rel reloc normal bad - +#pass diff --git a/ld/testsuite/ld-d10v/reloc-012.ld b/ld/testsuite/ld-d10v/reloc-012.ld index 10b7e7cf0a..87546ecd74 100644 --- a/ld/testsuite/ld-d10v/reloc-012.ld +++ b/ld/testsuite/ld-d10v/reloc-012.ld @@ -1,10 +1,10 @@ SECTIONS { .text 0x01014000 : - { + { foo = .; - . = (. + 0x80004); - *(.text) + . = (. + 0x20004); + *(.text) } } diff --git a/ld/testsuite/ld-d10v/reloc-015.d b/ld/testsuite/ld-d10v/reloc-015.d index 5888aa730b..043f727e15 100644 --- a/ld/testsuite/ld-d10v/reloc-015.d +++ b/ld/testsuite/ld-d10v/reloc-015.d @@ -1,7 +1,8 @@ #source: reloc-005.s #ld: -T $srcdir/$subdir/reloc-015.ld #objdump: -D +# now that we treat addresses as wrapping, it isn't possible to fail #error: relocation truncated to fit: R_D10V_18_PCREL # Test 18 bit pc rel negative reloc bad boundary - +#pass diff --git a/ld/testsuite/ld-d10v/reloc-016.d b/ld/testsuite/ld-d10v/reloc-016.d index 402bcff8ee..e7d5e8e6f9 100644 --- a/ld/testsuite/ld-d10v/reloc-016.d +++ b/ld/testsuite/ld-d10v/reloc-016.d @@ -1,7 +1,8 @@ #source: reloc-005.s #ld: -T $srcdir/$subdir/reloc-016.ld #objdump: -D +# now that we treat addresses as wrapping, it isn't possible to fail #error: relocation truncated to fit: R_D10V_18_PCREL # Test 18 bit pc rel negative reloc normal bad - +#pass |