Fix typo fsqrt -> sqrtf.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-selective / selective.exp
index 99ea0122f3b968d23df2feda56485218f31db42c..367b878916b9fe7d37112d2a3d53580dd0671ded 100644 (file)
@@ -1,5 +1,5 @@
 # Expect script for LD selective linking tests
-#   Copyright (C) 1998-2014 Free Software Foundation, Inc.
+#   Copyright (C) 1998-2016 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -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 {
This page took 0.027361 seconds and 4 git commands to generate.