summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfvers
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-03-15 01:57:57 +0000
committerAlan Modra <amodra@gmail.com>2012-03-15 01:57:57 +0000
commit5cb49709c959d52e2958c8c69916f8027d95e7d1 (patch)
treeb8c38a21b3085a1bad97288e7d666bae5488e163 /ld/testsuite/ld-elfvers
parent57b99c84f95f8e6cd82d1288e9ca8403e90f712f (diff)
downloadbinutils-gdb-5cb49709c959d52e2958c8c69916f8027d95e7d1.tar.gz
* config/default.exp: Update copyright date.
* ld-elf/shared.exp: Pass --no-as-needed to various tests linking shared libs. * ld-elfvers/vers.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elfvers')
-rw-r--r--ld/testsuite/ld-elfvers/vers.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp
index b8fefb6eae5..c770c6fce9a 100644
--- a/ld/testsuite/ld-elfvers/vers.exp
+++ b/ld/testsuite/ld-elfvers/vers.exp
@@ -1,6 +1,6 @@
# Expect script for ld-version tests
# Copyright 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
-# 2009, 2010 Free Software Foundation, Inc.
+# 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
@@ -884,7 +884,7 @@ test_strip_vers_lib "vers14" vers1.so vers14 vers1.ver vers1.dsym
# try and override something from the library, and we shouldn't get
# any errors.
#
-build_exec "vers15" vers15.c vers15 "" vers1.so vers15.ver vers15.dsym vers15.sym
+build_exec "vers15" vers15.c vers15 "-Wl,--no-as-needed" vers1.so vers15.ver vers15.dsym vers15.sym
#
# Test that when we override a versioned symbol from the library this