X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-sparc%2Fsparc.exp;fp=ld%2Ftestsuite%2Fld-sparc%2Fsparc.exp;h=2ecded2dd43d5ceda0c68e91e36fb61f135db067;hp=d54c3114d1a6e1971c89a6a960f3eba6e5b70bcb;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-sparc/sparc.exp b/ld/testsuite/ld-sparc/sparc.exp index d54c311..2ecded2 100644 --- a/ld/testsuite/ld-sparc/sparc.exp +++ b/ld/testsuite/ld-sparc/sparc.exp @@ -1,5 +1,5 @@ # Expect script for ld-sparc tests -# Copyright (C) 2002, 2003, 2005, 2007 Free Software Foundation +# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation # # This file is part of the GNU Binutils. # @@ -89,6 +89,11 @@ set sparctests { {"32-bit: TLS in debug sections" "-melf32_sparc" "--32" {tlsg32.s} {{objdump -sj.debug_foobar tlsg32.sd}} "tlsg32"} + {"32-bit: GOTDATA relocations" "-shared -melf32_sparc" + "--32 -K PIC" {gotop32.s} + {{readelf -WSsrl gotop32.rd} {objdump -drj.text gotop32.dd} + {objdump -sj.got gotop32.sd} {objdump -sj.data gotop32.td}} + "libgotop32.so"} } set sparc64tests { {"64-bit: TLS -fpic -shared transitions" "-shared -melf64_sparc" @@ -113,6 +118,11 @@ set sparc64tests { {"64-bit: TLS in debug sections" "-melf64_sparc" "--64 -Av9" {tlsg64.s} {{objdump -sj.debug_foobar tlsg64.sd}} "tlsg64"} + {"64-bit: GOTDATA relocations" "-shared -melf64_sparc" + "--64 -K PIC" {gotop64.s} + {{readelf -WSsrl gotop64.rd} {objdump -drj.text gotop64.dd} + {objdump -sj.got gotop64.sd} {objdump -sj.data gotop64.td}} + "libgotop64.so"} } if { ![istarget "sparc64-*-elf*"] } {