mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
* 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.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2012-03-15 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2012-03-14 H.J. Lu <hongjiu.lu@intel.com>
|
2012-03-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR ld/13839
|
PR ld/13839
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Basic expect script for LD Regression Tests
|
# Basic expect script for LD Regression Tests
|
||||||
# Copyright 1993, 1994, 1995, 1997, 1998, 1999, 2001, 2003, 2005, 2007, 2009
|
# Copyright 1993, 1994, 1995, 1997, 1998, 1999, 2001, 2003, 2005, 2007, 2009
|
||||||
# Free Software Foundation, Inc.
|
# 2011, 2012 Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of the GNU Binutils.
|
# This file is part of the GNU Binutils.
|
||||||
#
|
#
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# Expect script for various ELF tests.
|
# Expect script for various ELF tests.
|
||||||
# Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
# Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012
|
||||||
|
# Free Software Foundation, Inc.
|
||||||
#
|
#
|
||||||
# This file is part of the GNU Binutils.
|
# This file is part of the GNU Binutils.
|
||||||
#
|
#
|
||||||
@ -161,7 +162,7 @@ set build_tests {
|
|||||||
"-shared" "-fPIC"
|
"-shared" "-fPIC"
|
||||||
{pr13250-1.c} {} "libpr13250-1.so"}
|
{pr13250-1.c} {} "libpr13250-1.so"}
|
||||||
{"Build pr13250-2.so with libpr13250-1.so"
|
{"Build pr13250-2.so with libpr13250-1.so"
|
||||||
"-shared tmpdir/libpr13250-1.so" "-fPIC"
|
"-shared -Wl,--no-as-needed tmpdir/libpr13250-1.so" "-fPIC"
|
||||||
{pr13250-2.c} {} "libpr13250-2.so"}
|
{pr13250-2.c} {} "libpr13250-2.so"}
|
||||||
{"Build libpr13250-3.o"
|
{"Build libpr13250-3.o"
|
||||||
"-r -nostdlib" ""
|
"-r -nostdlib" ""
|
||||||
@ -325,14 +326,14 @@ set build_cxx_tests {
|
|||||||
|
|
||||||
set run_cxx_tests {
|
set run_cxx_tests {
|
||||||
{"Run with libdl3a.so"
|
{"Run with libdl3a.so"
|
||||||
"tmpdir/libdl3a.so" ""
|
"-Wl,--no-as-needed tmpdir/libdl3a.so" ""
|
||||||
{dl3main.cc} "dl3a" "dl3a.out" "" "c++"}
|
{dl3main.cc} "dl3a" "dl3a.out" "" "c++"}
|
||||||
# "-shared -Bsymbolic" only works with gcc 4.5.0 and newer.
|
# "-shared -Bsymbolic" only works with gcc 4.5.0 and newer.
|
||||||
# {"Run with libdl3b.so"
|
# {"Run with libdl3b.so"
|
||||||
# "tmpdir/libdl3b.so" ""
|
# "tmpdir/libdl3b.so" ""
|
||||||
# {dl3main.cc} "dl3b" "dl3b.out" "" "c++"}
|
# {dl3main.cc} "dl3b" "dl3b.out" "" "c++"}
|
||||||
{"Run with libdl3c.so"
|
{"Run with libdl3c.so"
|
||||||
"tmpdir/libdl3c.so" ""
|
"-Wl,--no-as-needed tmpdir/libdl3c.so" ""
|
||||||
{dl3main.cc} "dl3c" "dl3a.out" "" "c++"}
|
{dl3main.cc} "dl3c" "dl3a.out" "" "c++"}
|
||||||
{"Run with libnew1a.so"
|
{"Run with libnew1a.so"
|
||||||
"tmpdir/libnew1a.so" ""
|
"tmpdir/libnew1a.so" ""
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Expect script for ld-version tests
|
# Expect script for ld-version tests
|
||||||
# Copyright 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
|
# 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.
|
# 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
|
# try and override something from the library, and we shouldn't get
|
||||||
# any errors.
|
# 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
|
# Test that when we override a versioned symbol from the library this
|
||||||
|
Reference in New Issue
Block a user