diff options
author | Alan Modra <amodra@gmail.com> | 2016-07-25 15:19:20 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-07-25 15:33:11 +0930 |
commit | 95804507f2645c1cce29f2e1a33031accaa6aa24 (patch) | |
tree | c03c486e392ab10e6c34f561bb240b79331d658c /ld | |
parent | a173d7f80df1bb1edeb627bbfbe613e27cdc584c (diff) | |
download | gdb-95804507f2645c1cce29f2e1a33031accaa6aa24.zip gdb-95804507f2645c1cce29f2e1a33031accaa6aa24.tar.gz gdb-95804507f2645c1cce29f2e1a33031accaa6aa24.tar.bz2 |
Revise targets able to run ELF 64k section test
* testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
and m32r. Correct comment. Relax ld -r match to account for
msp increased number of default sections.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/sec64k.exp | 12 |
2 files changed, 10 insertions, 8 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 728c6b0..13c037f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2016-07-25 Alan Modra <amodra@gmail.com> + + * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k + and m32r. Correct comment. Relax ld -r match to account for + msp increased number of default sections. + 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com> * testsuite/ld-arc/got-01.d: New file. diff --git a/ld/testsuite/ld-elf/sec64k.exp b/ld/testsuite/ld-elf/sec64k.exp index b089fb8..7f7a9f3 100644 --- a/ld/testsuite/ld-elf/sec64k.exp +++ b/ld/testsuite/ld-elf/sec64k.exp @@ -27,16 +27,12 @@ if ![is_elf_format] { return } -# Targets using the generic linker backend don't sort section symbols +# Targets using _bfd_generic_final_link don't sort section symbols # before local symbols, so don't bother testing them. -if { [istarget "arc*-*-*"] - || [istarget "d30v-*-*"] +if { [istarget "d30v-*-*"] || [istarget "dlx-*-*"] || [istarget "i960-*-*"] - || [istarget "msp430*-*-*"] - || [istarget "or1k*-*-*"] - || [istarget "pj*-*-*"] - || [istarget "m32r-*-*"] } { + || [istarget "pj*-*-*"] } { return } @@ -147,7 +143,7 @@ if { ![istarget "m32r-*-*"] } then { puts $ofd "#..." puts $ofd " 340..: 0+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+68... " puts $ofd "#..." - puts $ofd " 340..: 0+(2|4|8)\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[2-5\] bar_1$" + puts $ofd " 340..: 0+(2|4|8)\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[2-7\] bar_1$" puts $ofd "#..." puts $ofd ".* bar_34000$" puts $ofd "#..." |