diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2014-12-09 17:57:18 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-12-09 19:50:14 +0800 |
commit | 5e8c1cf25beccac1d22d10dc866912394f42771b (patch) | |
tree | ee16b70f804484dc8e434e647e699ab50da2620f /binutils-2.25/ld/testsuite/ld-elfvers | |
parent | 8eebd7953384e6662ca926b003f2cdda8ccd3ee5 (diff) | |
download | toolchain_binutils-5e8c1cf25beccac1d22d10dc866912394f42771b.tar.gz toolchain_binutils-5e8c1cf25beccac1d22d10dc866912394f42771b.tar.bz2 toolchain_binutils-5e8c1cf25beccac1d22d10dc866912394f42771b.zip |
[2.25] sync to a30720e3e633f275250e26f85ccae5dbdddfb6c6
local patches will be re-applied later
commit a30720e3e633f275250e26f85ccae5dbdddfb6c6
Author: Alan Modra <amodra@gmail.com>
Date: Wed Nov 19 10:30:16 2014 +1030
daily update
Change-Id: Ieb2a3f4dd2ecb289ac5305ff08d428b2847494ab
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-elfvers')
-rw-r--r-- | binutils-2.25/ld/testsuite/ld-elfvers/vers.exp | 6 | ||||
-rw-r--r-- | binutils-2.25/ld/testsuite/ld-elfvers/vers24.rd | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-elfvers/vers.exp b/binutils-2.25/ld/testsuite/ld-elfvers/vers.exp index d1eedb76..45a004b0 100644 --- a/binutils-2.25/ld/testsuite/ld-elfvers/vers.exp +++ b/binutils-2.25/ld/testsuite/ld-elfvers/vers.exp @@ -1,6 +1,5 @@ # Expect script for ld-version tests -# Copyright 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, -# 2009, 2010, 2011, 2012 Free Software Foundation, Inc. +# Copyright (C) 1997-2014 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -774,8 +773,9 @@ proc build_exec { test source execname flags solibname verexp versymexp symexp } } if { [istarget x86_64-*-linux*] \ + || [istarget arm*-*-*] \ || ( [istarget mips*-*-linux*] && [at_least_gcc_version 4 3] ) } { - # x86_64 and newer MIPS toolchains do not like non-pic shared libraries + # x86_64, ARM and newer MIPS toolchains do not like non-pic shared libraries set pic "yes" } else { set pic "no" diff --git a/binutils-2.25/ld/testsuite/ld-elfvers/vers24.rd b/binutils-2.25/ld/testsuite/ld-elfvers/vers24.rd index 42e81e42..fb464f9f 100644 --- a/binutils-2.25/ld/testsuite/ld-elfvers/vers24.rd +++ b/binutils-2.25/ld/testsuite/ld-elfvers/vers24.rd @@ -7,9 +7,9 @@ Symbol table '.dynsym' contains [0-9]+ entries: # And ensure the dynamic symbol table contains at least x@VERS.0 # and foo@@VERS.0 symbols #... - +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ _?foo@)@VERS\.0 + +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT .* [0-9]+ _?foo@)@VERS\.0 #... - +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ _?foo@)@VERS\.0 + +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _?x|[0-9]+ +FUNC +GLOBAL +DEFAULT .* [0-9]+ _?foo@)@VERS\.0 #... Symbol table '.symtab' contains [0-9]+ entries: #pass |