This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

alpha testsuite cleanup


All the listed failures look proper.


r~


        * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha.
        * ld-shared/shared.exp: Likewise.
        * ld-selective/selective.exp: Disable for alpha.
        * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails.

Index: testsuite/ld-elfvsb/elfvsb.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elfvsb/elfvsb.exp,v
retrieving revision 1.12
diff -c -p -d -r1.12 elfvsb.exp
*** testsuite/ld-elfvsb/elfvsb.exp	2 Nov 2001 17:24:54 -0000	1.12
--- testsuite/ld-elfvsb/elfvsb.exp	19 Apr 2002 19:20:45 -0000
*************** proc visibility_run {visibility} {
*** 244,253 ****
--- 244,259 ----
  		 || [ string match $visibility "protected_weak" ] } {
  		setup_xfail "powerpc-*-linux*"
  	    }
+ 
+ 	    # Non-pic code uses name binding rules for applications to
+ 	    # reference variables by gp-relative relocs, which can't be
+ 	    # used with overridable symbols.
  	    if { ![ string match $visibility "hidden_undef" ]
  		 && ![ string match $visibility "protected_undef" ] } {
  		setup_xfail "ia64-*-linux*"
+ 		setup_xfail "alpha*-*-linux*"
  	    }
+ 
  	    visibility_test $visibility vnp "visibility ($visibility) (non PIC)" mainnp.o sh1np.o sh2np.o elfvsb
  
  	    # Test ELF shared library relocations with a non-zero load
*************** proc visibility_run {visibility} {
*** 274,279 ****
--- 280,286 ----
  	    if { ![ string match $visibility "hidden_undef" ]
  		 && ![ string match $visibility "protected_undef" ] } {
  		setup_xfail "ia64-*-linux*"
+ 		setup_xfail "alpha*-*-linux*"
  		setup_xfail "mips*-*-linux*"
  	    }
  	    visibility_test $visibility vnp "visibility ($visibility) (non PIC, load offset)" \
*************** proc visibility_run {visibility} {
*** 330,335 ****
--- 337,343 ----
  		if { ![ string match $visibility "hidden_undef" ]
  		     && ![ string match $visibility "protected_undef" ] } {
  		    setup_xfail "ia64-*-linux*"
+ 		    setup_xfail "alpha*-*-linux*"
  		}
  		visibility_test $visibility vmpnp "visibility ($visibility) (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o elfvsb
  	    }
Index: testsuite/ld-selective/selective.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-selective/selective.exp,v
retrieving revision 1.24
diff -c -p -d -r1.24 selective.exp
*** testsuite/ld-selective/selective.exp	11 Apr 2002 16:55:27 -0000	1.24
--- testsuite/ld-selective/selective.exp	19 Apr 2002 19:20:45 -0000
*************** if {[istarget "*-*-pe"]} {
*** 32,37 ****
--- 32,42 ----
      return
  }
  
+ # Alpha does not support selective linking
+ if {[istarget "alpha*-*-*"]} {
+     return
+ }
+ 
  # List contains test-items with three items followed by four lists:
  # 1:name 2:test-type (CC or C++; add as needed) 3:filename 4:ld-flags
  # 5:must-have-symbols 6:must-not-have-symbols 7:xfail-targets.
Index: testsuite/ld-shared/shared.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-shared/shared.exp,v
retrieving revision 1.11
diff -c -p -d -r1.11 shared.exp
*** testsuite/ld-shared/shared.exp	6 Jun 2001 21:03:59 -0000	1.11
--- testsuite/ld-shared/shared.exp	19 Apr 2002 19:20:45 -0000
*************** if ![ld_compile "$CC $CFLAGS $SHCFLAG" $
*** 195,200 ****
--- 195,201 ----
  	# overriding.
  	setup_xfail "*-*-sunos4*"
  	setup_xfail "ia64-*-linux*"
+ 	setup_xfail "alpha*-*-linux*"
  	shared_test shnp "shared (non PIC)" mainnp.o sh1np.o sh2np.o shared
  
  	# Test ELF shared library relocations with a non-zero load
*************** if ![ld_compile "$CC $CFLAGS $SHCFLAG" $
*** 205,210 ****
--- 206,212 ----
  	setup_xfail "*-*-linux*libc1"
  	setup_xfail "powerpc-*-linux*"
  	setup_xfail "ia64-*-linux*"
+ 	setup_xfail "alpha*-*-linux*"
  	setup_xfail "mips*-*-linux*"
  	shared_test shnp "shared (non PIC, load offset)" \
  		mainnp.o sh1np.o sh2np.o shared \
*************** if ![ld_compile "$CC $CFLAGS $SHCFLAG $p
*** 246,251 ****
--- 248,254 ----
  	    # overriding.
  	    setup_xfail "*-*-sunos4*"
  	    setup_xfail "ia64-*-linux*"
+ 	    setup_xfail "alpha*-*-linux*"
  	    shared_test shmpnp "shared (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o shared
  	}
      } else {
Index: testsuite/ld-undefined/undefined.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-undefined/undefined.exp,v
retrieving revision 1.12
diff -c -p -d -r1.12 undefined.exp
*** testsuite/ld-undefined/undefined.exp	8 Feb 2002 06:50:02 -0000	1.12
--- testsuite/ld-undefined/undefined.exp	19 Apr 2002 19:20:45 -0000
*************** setup_xfail "hppa*-*-*elf*"
*** 74,79 ****
--- 74,80 ----
  
  # With dwarf-2, we can't get the function in which the reference
  # occurs; see below.
+ setup_xfail "alpha*-*-linux*"
  setup_xfail "hppa*64*-*-*"
  setup_xfail "mn10300-*-elf"
  setup_xfail "sh-*-*"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]