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 /ld/testsuite/ld-selective | |
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 'ld/testsuite/ld-selective')
-rw-r--r-- | ld/testsuite/ld-selective/selective.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp index 0531339..367b878 100644 --- a/ld/testsuite/ld-selective/selective.exp +++ b/ld/testsuite/ld-selective/selective.exp @@ -64,6 +64,12 @@ if [istarget sh64*-*-elf] { set ldflags "-e _start -mshelf32 $ldflags" } +if [istarget avr-*-*] { + # Make .text start at a non-zero address, as some tests expect + # valid symbols to have non-zero values. + set ldflags "--section-start=.text=0x2 $ldflags" +} + # If we don't have g++ for the target, mark all tests as untested. if { ![is_remote host] && [which $CXX] == 0 } { foreach testitem $seltests { |