# Expect script for tests for >64k sections
-# Copyright (C) 2002-2016 Free Software Foundation, Inc.
+# Copyright (C) 2002-2017 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
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
}
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 "#..."
&& ![istarget "avr-*-*"]
&& ![istarget "msp*-*-*"]
&& ![istarget "fr30-*-*"]
- && ![istarget "iq2000-*-*"] } {
+ && ![istarget "iq2000-*-*"]
+ && ![istarget "pru-*-*"] } {
foreach sfile $sfiles { puts $ofd "#source: $sfile" }
if { [istarget spu*-*-*] } {
puts $ofd "#ld: --local-store 0:0"