ld testsuite and aout

Daniel Jacobowitz drow@mvista.com
Sat Aug 10 14:56:00 GMT 2002


On Sat, Aug 10, 2002 at 10:18:19PM +0930, Alan Modra wrote:
> 	* ld-discard/discard.exp: Don't run on linuxaout or linuxoldld.
> 	* ld-linkonce/linkonce.exp: Likewise.
> 	* ld-selective/sel-dump.exp: Likewise.
> 	* ld-selective/selective.exp: Don't run on aout or bout.
> 
> Applying mainline.  Is the branch open?

Yep, go ahead.

> 
> Index: ld/testsuite/ld-discard/discard.exp
> ===================================================================
> RCS file: /cvs/src/src/ld/testsuite/ld-discard/discard.exp,v
> retrieving revision 1.2
> diff -u -p -r1.2 discard.exp
> --- ld/testsuite/ld-discard/discard.exp	30 Jul 2002 07:41:10 -0000	1.2
> +++ ld/testsuite/ld-discard/discard.exp	10 Aug 2002 12:05:13 -0000
> @@ -29,6 +29,11 @@ if { ![istarget *-*-linux*] \
>      return
>  }
>  
> +if { [istarget *-*-linux*aout*] \
> +     || [istarget *-*-linux*oldld*] } {
> +    return
> +}
> +
>  load_lib ld-lib.exp
>  
>  set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
> Index: ld/testsuite/ld-linkonce/linkonce.exp
> ===================================================================
> RCS file: /cvs/src/src/ld/testsuite/ld-linkonce/linkonce.exp,v
> retrieving revision 1.2
> diff -u -p -r1.2 linkonce.exp
> --- ld/testsuite/ld-linkonce/linkonce.exp	30 Jul 2002 07:41:13 -0000	1.2
> +++ ld/testsuite/ld-linkonce/linkonce.exp	10 Aug 2002 12:05:13 -0000
> @@ -28,6 +28,11 @@ if { ![istarget *-*-linux*] \
>      return
>  }
>  
> +if { [istarget *-*-linux*aout*] \
> +     || [istarget *-*-linux*oldld*] } {
> +    return
> +}
> +
>  load_lib ld-lib.exp
>  
>  set rd_test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
> Index: ld/testsuite/ld-selective/sel-dump.exp
> ===================================================================
> RCS file: /cvs/src/src/ld/testsuite/ld-selective/sel-dump.exp,v
> retrieving revision 1.2
> diff -u -p -r1.2 sel-dump.exp
> --- ld/testsuite/ld-selective/sel-dump.exp	30 Jul 2002 07:41:14 -0000	1.2
> +++ ld/testsuite/ld-selective/sel-dump.exp	10 Aug 2002 12:05:13 -0000
> @@ -25,6 +25,11 @@ if { ![istarget *-*-linux*]
>      return
>  }
>  
> +if { [istarget *-*-linux*aout*] \
> +     || [istarget *-*-linux*oldld*] } {
> +    return
> +}
> +
>  load_lib ld-lib.exp
>  
>  set test_list [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
> Index: ld/testsuite/ld-selective/selective.exp
> ===================================================================
> RCS file: /cvs/src/src/ld/testsuite/ld-selective/selective.exp,v
> retrieving revision 1.25
> diff -u -p -r1.25 selective.exp
> --- ld/testsuite/ld-selective/selective.exp	19 Apr 2002 19:28:03 -0000	1.25
> +++ ld/testsuite/ld-selective/selective.exp	10 Aug 2002 12:05:13 -0000
> @@ -20,7 +20,9 @@
>  
>  
>  # AOUT based ports do not support selective linking
> -if {[istarget "vax-*-ultrix*"]} {
> +if {[istarget "*-*-*aout*"] \
> +    || [istarget "*-*-*bout*"] \
> +    || [istarget "vax-*-ultrix*"]} {
>      return
>  }
>  
> 
> -- 
> Alan Modra
> IBM OzLabs - Linux Technology Centre
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Binutils mailing list