From: Alan Modra Date: Thu, 23 Sep 2010 11:55:47 +0000 (+0000) Subject: * ld-d10v/reloc-007.d: Don't error. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=009600a9b73eefb51e3833f38e97a5ac61781f90;p=binutils-gdb.git * 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. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 745743af435..36cc675165e 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2010-09-23 Alan Modra + + * 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 * 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 2edb862a132..293a6df3240 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 cb3cf4b916a..273a23c35f5 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 10b7e7cf0a0..87546ecd74a 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 5888aa730bd..043f727e153 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 402bcff8eec..e7d5e8e6f9b 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