From: Andreas Jaeger Date: Fri, 2 May 2003 08:16:25 +0000 (+0000) Subject: * ld-elfvers/vers.exp (build_exec): Disable vers26b3 on x86-64-linux. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fcd06cfe4561719a3209d4c2d1471829b3523818;p=binutils-gdb.git * ld-elfvers/vers.exp (build_exec): Disable vers26b3 on x86-64-linux. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index e163cd25bed..307ffae1aaa 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-05-02 Andreas Jaeger + + * ld-elfvers/vers.exp (build_exec): Disable vers26b3 on x86-64-linux. + 2003-04-29 H.J. Lu * ld-ia64/tlsbin.dd: Updated. diff --git a/ld/testsuite/ld-elfvers/vers.exp b/ld/testsuite/ld-elfvers/vers.exp index b6ee6a4d8b7..9835dc66dac 100644 --- a/ld/testsuite/ld-elfvers/vers.exp +++ b/ld/testsuite/ld-elfvers/vers.exp @@ -1,5 +1,5 @@ # Expect script for ld-version tests -# Copyright 1997, 1998, 1999, 2001 Free Software Foundation, Inc. +# Copyright 1997, 1998, 1999, 2001, 2003 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -913,4 +913,9 @@ build_vers_lib_no_pic "vers25b2" vers25b.c vers25b2 "vers25a.so vers25a.o" "" ve build_vers_lib_pic "vers26a" vers26a.c vers26a "" vers26a.map vers26a.ver vers26a.dsym "" build_vers_lib_pic "vers26b1" vers26b.c vers26b1 "" "" vers26b.ver vers26b.dsym "" build_vers_lib_pic "vers26b2" vers26b.c vers26b2 "vers26a.so vers26b1.so vers26a.o" "" vers26b.ver vers26b.dsym "" -build_vers_lib_no_pic "vers26b3" vers26b.c vers26b3 "vers26a.so vers26b1.so vers26a.o" "" vers26b.ver vers26b.dsym "" +if [istarget x86_64-*-linux*] { + # x86_64 doesn't like non-pic shared libraries + xfail "vers26b3" +} else { + build_vers_lib_no_pic "vers26b3" vers26b.c vers26b3 "vers26a.so vers26b1.so vers26a.o" "" vers26b.ver vers26b.dsym "" +}