diff options
author | Alan Modra <amodra@gmail.com> | 2016-05-09 17:07:33 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-05-09 17:07:33 +0930 |
commit | cc969da947681b3199a2091ca4ad7d550ee19ac9 (patch) | |
tree | 08e7843a69083f3bf4376a07bf009b0507eb9e76 /ld/testsuite/ld-scripts/rgn-at5.t | |
parent | 4612fb8101a70a9585b6464b1a43f6a6e44b116d (diff) | |
download | gdb-cc969da947681b3199a2091ca4ad7d550ee19ac9.zip gdb-cc969da947681b3199a2091ca4ad7d550ee19ac9.tar.gz gdb-cc969da947681b3199a2091ca4ad7d550ee19ac9.tar.bz2 |
Correct script input section pattern
We don't want this to match .rela.text or similar.
* testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
* testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
* testsuite/ld-scripts/section-match-1.t: Likewise.
Diffstat (limited to 'ld/testsuite/ld-scripts/rgn-at5.t')
-rw-r--r-- | ld/testsuite/ld-scripts/rgn-at5.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/testsuite/ld-scripts/rgn-at5.t b/ld/testsuite/ld-scripts/rgn-at5.t index 3a35994..0129b91 100644 --- a/ld/testsuite/ld-scripts/rgn-at5.t +++ b/ld/testsuite/ld-scripts/rgn-at5.t @@ -8,17 +8,17 @@ MEMORY SECTIONS { - .sec0 : { *(*.sec0) } + .sec0 : { *(.sec0) } - .sec1 ORIGIN (region1) : { *(*.sec1) } AT> region2 + .sec1 ORIGIN (region1) : { *(.sec1) } AT> region2 fred = ORIGIN (region1) + LENGTH (region1); - .sec2 : { *(*.sec2) } > region3 AT> region4 + .sec2 : { *(.sec2) } > region3 AT> region4 - .sec3 0x5000 : { *(*.sec3) } + .sec3 0x5000 : { *(.sec3) } - .sec4 : { *(*.sec4) } AT> region2 + .sec4 : { *(.sec4) } AT> region2 .sec5 : { LONG(0x5555) } > region2 |