diff options
author | Nick Clifton <nickc@redhat.com> | 2016-01-18 13:00:33 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-01-18 13:00:33 +0000 |
commit | 24f03d4ecf4af77a5f0ae4968973c3387ffeb8ae (patch) | |
tree | b391b731e474ae70f274d5b305d250a3a8ff7d90 /ld | |
parent | 3d961d0d3a797b4d463024a11131e96c213dee27 (diff) | |
download | gdb-24f03d4ecf4af77a5f0ae4968973c3387ffeb8ae.zip gdb-24f03d4ecf4af77a5f0ae4968973c3387ffeb8ae.tar.gz gdb-24f03d4ecf4af77a5f0ae4968973c3387ffeb8ae.tar.bz2 |
Re-enable rgn-at11 test for MIPS targets with adjusted section alignment.
* testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
but with 16 byte section alignment.
* testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
test for MIPS targets.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/rgn-at11.d | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/rgn-at11.s | 10 |
3 files changed, 19 insertions, 6 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index b99b170..b5efb35 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -7,6 +7,11 @@ * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker is not configured to support plugins. + * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s + but with 16 byte section alignment. + * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable + test for MIPS targets. + 2016-01-17 Alan Modra <amodra@gmail.com> * configure: Regenerate. diff --git a/ld/testsuite/ld-scripts/rgn-at11.d b/ld/testsuite/ld-scripts/rgn-at11.d index e37cbd7..297ae46 100644 --- a/ld/testsuite/ld-scripts/rgn-at11.d +++ b/ld/testsuite/ld-scripts/rgn-at11.d @@ -1,14 +1,12 @@ -#source: rgn-at10.s +#source: rgn-at11.s #ld: -T rgn-at11.t #objdump: -h --wide -#xfail: rx-*-* mips*-*-* +#xfail: rx-*-* # Test that lma is not adjusted in case the section start vma is aligned and # lma_region != region if not requested by script. # Fails for RX because it ignores the LMA (for compatibility with Renesas tools) -# Fails for MIPS targets because the assembler pads all sections to a 16 byte -# boundary. #... .* 0+10000 +0+20000 .* -.* 0+10100 +0+20004 .* -.* 0+10100 +0+20004 .* +.* 0+10100 +0+20010 .* +.* 0+10100 +0+20010 .* diff --git a/ld/testsuite/ld-scripts/rgn-at11.s b/ld/testsuite/ld-scripts/rgn-at11.s new file mode 100644 index 0000000..2ec63c8 --- /dev/null +++ b/ld/testsuite/ld-scripts/rgn-at11.s @@ -0,0 +1,10 @@ + .text + .zero 16 + + .section .tbss,"awT",%nobits + .p2align 8 + .zero 16 + + .data + .p2align 4 + .long 0 |