diff options
author | Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> | 2016-05-04 13:03:52 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-05-04 13:03:52 +0100 |
commit | 4a85cc09258dfe2ab3cefb503221696a0f439c63 (patch) | |
tree | cdbab257357bac92e159fdae1526da35cb094d3e /binutils | |
parent | 1d2a41dbbdca96017cc5e1ecb8a9fb05bb1897cc (diff) | |
download | gdb-4a85cc09258dfe2ab3cefb503221696a0f439c63.zip gdb-4a85cc09258dfe2ab3cefb503221696a0f439c63.tar.gz gdb-4a85cc09258dfe2ab3cefb503221696a0f439c63.tar.bz2 |
Fix some AVR test failures.
binutils* testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*.
ld * testsuite/ld-elf/pr18735.d: Allow other symbols.
* testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
* testsuite/ld-gc/pr14265.d: Allow other symbols.
* testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
plugin_tests only if check_shared_lib_support is true.
* testsuite/ld-selective/selective.exp: Add --section-start
flag for avr.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/testsuite/lib/binutils-common.exp | 44 |
2 files changed, 25 insertions, 23 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d2f6e95..12e8bb2 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> + + * testsuite/lib/binutils-common.exp (is_elf_format): Add avr-*-*. + 2016-05-03 Nick Clifton <nickc@redhat.com> * po/sv.po: Updated Swedish translation. diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp index dbbbc79..5f17012 100644 --- a/binutils/testsuite/lib/binutils-common.exp +++ b/binutils/testsuite/lib/binutils-common.exp @@ -27,44 +27,42 @@ proc is_elf_format {} { return 1; } - if { ![istarget *-*-sysv4*] - && ![istarget *-*-unixware*] + if { ![istarget *-*-eabi*] && ![istarget *-*-elf*] - && ![istarget *-*-eabi*] - && ![istarget *-*-rtems*] - && ![istarget hppa*64*-*-hpux*] - && ![istarget ia64-*-hpux*] - && ![istarget *-*-linux*] + && ![istarget *-*-freebsd*] && ![istarget *-*-gnu*] - && ![istarget *-*-nacl*] - && ![istarget frv-*-uclinux*] - && ![istarget bfin-*-uclinux] - && ![istarget sh*-*-uclinux*] - && ![istarget tic6x*-*-uclinux*] && ![istarget *-*-irix5*] && ![istarget *-*-irix6*] - && ![istarget *-*-freebsd*] + && ![istarget *-*-linux*] + && ![istarget *-*-nacl*] && ![istarget *-*-netbsd*] && ![istarget *-*-openbsd*] - && ![istarget *-*-solaris2*] } { + && ![istarget *-*-rtems*] + && ![istarget *-*-solaris2*] + && ![istarget *-*-sysv4*] + && ![istarget *-*-unixware*] + && ![istarget avr-*-*] + && ![istarget bfin-*-uclinux] + && ![istarget frv-*-uclinux*] + && ![istarget hppa*64*-*-hpux*] + && ![istarget ia64-*-hpux*] + && ![istarget sh*-*-uclinux*] + && ![istarget tic6x*-*-uclinux*] } { return 0 } - if { [istarget i?86-*-freebsd\[12\].*] } { - return 0 - } - - if { [istarget *-*-linux*aout*] + if { [istarget *-*-linux*aout*] || [istarget *-*-linux*ecoff*] || [istarget *-*-linux*oldld*] + || [istarget *-*-rtemscoff*] || [istarget h8500-*-rtems*] - || [istarget i960-*-rtems*] - || [istarget *-*-rtemscoff*] } { + || [istarget i?86-*-freebsd\[12\].*] + || [istarget i960-*-rtems*] } { return 0 } if { ![istarget *-*-netbsdelf*] - && ([istarget *-*-netbsd*aout*] + && ( [istarget *-*-netbsd*aout*] || [istarget *-*-netbsdpe*] || [istarget arm*-*-netbsd*] || [istarget sparc-*-netbsd*] @@ -75,7 +73,7 @@ proc is_elf_format {} { return 0 } - if { [istarget arm-*-openbsd*] + if { [istarget arm-*-openbsd*] || [istarget i386-*-openbsd\[0-2\].*] || [istarget i386-*-openbsd3.\[0-2\]] || [istarget m68*-*-openbsd*] |