From 95b25ccde7924f651710459c63c004d6a929cb29 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 19 Mar 2012 15:07:59 +0000 Subject: [PATCH] * ld-m68k/m68k.exp ("TLS indirect symbol use"): Pass --copy-dt-needed-entries. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-m68k/m68k.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index a02c6f0eb98..1bcf098d909 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-03-19 Andreas Schwab + + * ld-m68k/m68k.exp ("TLS indirect symbol use"): Pass + --copy-dt-needed-entries. + 2012-03-16 Matthew Gretton-Dann * ld-arm/arm-elf.exp: Add new testcases. diff --git a/ld/testsuite/ld-m68k/m68k.exp b/ld/testsuite/ld-m68k/m68k.exp index 198a5e20786..843d9196c4b 100644 --- a/ld/testsuite/ld-m68k/m68k.exp +++ b/ld/testsuite/ld-m68k/m68k.exp @@ -1,5 +1,5 @@ # Expect script for run_dump_test based ld-m68k tests. -# Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +# Copyright 2006, 2007, 2008, 2009, 2012 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -85,7 +85,7 @@ if { [istarget m68k-*-linux*] } then { {{nm -ngD tls-gd-1.d2} {readelf -d tls-gd-1.d3}} "tls-gd-1.so"} {"TLS indirect symbol use" - "tmpdir/tls-gd-1.so -rpath-link ./" "" {tls-main-1.s} + "--copy-dt-needed-entries tmpdir/tls-gd-1.so -rpath-link ./" "" {tls-main-1.s} {{readelf -d tls-main-1.d}} "tls-main-1"}} -- 2.30.2