diff options
author | Alan Modra <amodra@gmail.com> | 2010-09-23 11:55:47 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2010-09-23 11:55:47 +0000 |
commit | 009600a9b73eefb51e3833f38e97a5ac61781f90 (patch) | |
tree | 4205b288ce77582934046b30376e7840cd552cb0 /ld | |
parent | 70a0e63d5511d0589d68067a597417d1de2120b7 (diff) | |
download | gdb-009600a9b73eefb51e3833f38e97a5ac61781f90.zip gdb-009600a9b73eefb51e3833f38e97a5ac61781f90.tar.gz gdb-009600a9b73eefb51e3833f38e97a5ac61781f90.tar.bz2 |
* 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')
-rw-r--r-- | ld/testsuite/ChangeLog | 8 | ||||
-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 |
6 files changed, 19 insertions, 7 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 745743a..36cc675 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2010-09-23 Alan Modra <amodra@gmail.com> + + * 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. + 2010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> * ld-arm/attr-merge-6.attr: Update test for change in canonical CPU diff --git a/ld/testsuite/ld-d10v/reloc-007.d b/ld/testsuite/ld-d10v/reloc-007.d index 2edb862..293a6df 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 cb3cf4b..273a23c 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 10b7e7c..87546ec 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 5888aa7..043f727 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 402bcff..e7d5e8e 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 |