dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Some -Wl,-T cleanups


From: Daniel Jacobowitz
Subject: Re: Some -Wl,-T cleanups
Date: Tue, 13 Jan 2004 23:08:30 -0500
User-agent: Mutt/1.5.1i

On Mon, Jan 12, 2004 at 10:07:25AM -0500, Daniel Jacobowitz wrote:
> I can't give a good explanation for this patch, but I'm pretty sure it's
> needed.  Every time I try to do without it inexplicable errors occur in my
> testing; I'm guessing it has something to do with search order.
> mips-idt.exp was the only file I actually needed, but since some baseboards
> had been converted last year I figured I might as well get them all.  GCC
> handling of this option has not changed in years so there should be no
> difficulties.
> 
> OK?  If so, please apply.

Ping, in case it got lost in the mess of spam :)

> 2004-01-12  Daniel Jacobowitz  <address@hidden>
> 
>       * cf.exp, fr30-elf.exp, frv-elf.exp, h8300.exp, i960-cyclone.exp,
>       i960-sim.exp, m32r-elf.exp, mips-idt.exp, mips-lnews-sim.exp,
>       mips-lsi-sim.exp, mips64vr4100-sim.exp, op50n.exp, rom68k-idp.exp,
>       sh-hms.exp, tx39-dve.exp, tx39-sim.exp, vr4100-ddb.exp,
>       vr4100-sim.exp, vr4111-sim.exp, vr4300-ddb.exp, vr4300-sim.exp,
>       vr4300.exp, vr5000-ddb.exp: Use -T instead of -Wl,-T for ldscript.
> 
> Index: cf.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/cf.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 cf.exp
> --- cf.exp    23 Aug 2003 01:16:51 -0000      1.3
> +++ cf.exp    12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -64,7 +64,7 @@ if ![board_info $board exists output_for
>  }
>  
>  # SBC5204 linker script.
> -set_board_info ldscript "-Wl,-Tsbc5204.ld"
> +set_board_info ldscript "-Tsbc5204.ld"
>  # The idt interface can't return exit statuses, so gcc (ctorture et
>  # al) needs to do what it can to get them.
>  set_board_info needs_status_wrapper 1
> Index: fr30-elf.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/fr30-elf.exp,v
> retrieving revision 1.2
> diff -u -p -r1.2 fr30-elf.exp
> --- fr30-elf.exp      23 Aug 2003 01:16:51 -0000      1.2
> +++ fr30-elf.exp      12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -37,7 +37,7 @@ if { $is_gdb_remote } {
>  set_board_info compiler  "[find_gcc]"
>  set_board_info cflags    "[libgloss_include_flags] [newlib_include_flags]"
>  set_board_info ldflags   "[libgloss_link_flags] [newlib_link_flags]"
> -set_board_info ldscript  "-Wl,-Teva.ld"
> +set_board_info ldscript  "-Teva.ld"
>  set_board_info gdb,start_symbol "_start"
>  
>  set_board_info needs_status_wrapper 1
> @@ -48,7 +48,7 @@ if { ! $is_gdb_remote } {
>  } else {
>      set_board_info gdb_protocol  "fr30"
>      set_board_info use_gdb_stub 1
> -    set_board_info gdb_stub_ldscript "-Wl,-Teva-stub.ld"
> +    set_board_info gdb_stub_ldscript "-Teva-stub.ld"
>  }
>  
>  # Doesn't pass arguments or signals, can't return results, and doesn't
> Index: frv-elf.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/frv-elf.exp,v
> retrieving revision 1.2
> diff -u -p -r1.2 frv-elf.exp
> --- frv-elf.exp       23 Aug 2003 01:16:51 -0000      1.2
> +++ frv-elf.exp       12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -37,7 +37,7 @@ if { $is_gdb_remote } {
>  set_board_info compiler  "[find_gcc]"
>  set_board_info cflags    "[libgloss_include_flags] [newlib_include_flags]"
>  set_board_info ldflags   "[libgloss_link_flags] [newlib_link_flags]"
> -set_board_info ldscript  "-Wl,-Teva.ld"
> +set_board_info ldscript  "-Teva.ld"
>  set_board_info gdb,start_symbol "_start"
>  
>  set_board_info needs_status_wrapper 1
> @@ -48,7 +48,7 @@ if { ! $is_gdb_remote } {
>  } else {
>      set_board_info gdb_protocol  "frv"
>      set_board_info use_gdb_stub 1
> -    set_board_info gdb_stub_ldscript "-Wl,-Teva-stub.ld"
> +    set_board_info gdb_stub_ldscript "-Teva-stub.ld"
>  }
>  
>  # Doesn't pass arguments or signals, can't return results, and doesn't
> Index: h8300.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/h8300.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 h8300.exp
> --- h8300.exp 23 Aug 2003 01:16:51 -0000      1.3
> +++ h8300.exp 12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -82,6 +82,6 @@ foreach x $board_variant_list {
>  # This one's dependent on the multilib options in use, sadly. And we
>  # *need* a linker script. Really. Otherwise the code gets linked at
>  # the wrong address and it won't run on the board.
> -set_board_info ldscript "-Wl,-T${prefix_dir}/h8300-hms/${linker_script}"
> +set_board_info ldscript "-T${prefix_dir}/h8300-hms/${linker_script}"
>  
>  unset linker_script
> Index: i960-cyclone.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/i960-cyclone.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 i960-cyclone.exp
> --- i960-cyclone.exp  23 Aug 2003 01:16:51 -0000      1.3
> +++ i960-cyclone.exp  12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -45,7 +45,7 @@ set_board_info cflags "[libgloss_include
>  set_board_info start_addr 0xa0008000
>  set_board_info ldflags "-Wl,-Ttext,[board_info $board start_addr] 
> [libgloss_link_flags] [newlib_link_flags] -B${prefix_dir}/i960-coff/"
>  # IDT linker script.
> -set_board_info ldscript "-Wl,-T${prefix_dir}/i960-coff/i960.ld"
> +set_board_info ldscript "-T${prefix_dir}/i960-coff/i960.ld"
>  
>  # GDB doesn't return exit statuses and we need to indicate this;
>  # the standard GCC wrapper will work with this target.
> Index: i960-sim.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/i960-sim.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 i960-sim.exp
> --- i960-sim.exp      23 Aug 2003 01:16:51 -0000      1.3
> +++ i960-sim.exp      12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -39,7 +39,7 @@ set_board_info cflags "-mka [libgloss_in
>  set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
>  
>  # Use mon960.
> -set_board_info ldscript "-Wl,-Tmon960.ld"
> +set_board_info ldscript "-Tmon960.ld"
>  
>  # And, it can't do arguments, and doesn't have real signals.
>  # ??? Unknown if this is right.
> Index: m32r-elf.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/m32r-elf.exp,v
> retrieving revision 1.2
> diff -u -p -r1.2 m32r-elf.exp
> --- m32r-elf.exp      23 Aug 2003 01:16:51 -0000      1.2
> +++ m32r-elf.exp      12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -37,7 +37,7 @@ if { $is_gdb_remote } {
>  set_board_info compiler  "[find_gcc]"
>  set_board_info cflags    "[libgloss_include_flags] [newlib_include_flags]"
>  set_board_info ldflags   "[libgloss_link_flags] [newlib_link_flags]"
> -set_board_info ldscript  "-Wl,-Teva.ld"
> +set_board_info ldscript  "-Teva.ld"
>  set_board_info gdb,start_symbol "_start"
>  
>  set_board_info needs_status_wrapper 1
> @@ -48,7 +48,7 @@ if { ! $is_gdb_remote } {
>  } else {
>      set_board_info gdb_protocol  "m32r"
>      set_board_info use_gdb_stub 1
> -    set_board_info gdb_stub_ldscript "-Wl,-Teva-stub.ld"
> +    set_board_info gdb_stub_ldscript "-Teva-stub.ld"
>  }
>  
>  # Doesn't pass arguments or signals, can't return results, and doesn't
> Index: mips-idt.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/mips-idt.exp,v
> retrieving revision 1.4
> diff -u -p -r1.4 mips-idt.exp
> --- mips-idt.exp      23 Aug 2003 01:16:51 -0000      1.4
> +++ mips-idt.exp      12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -33,9 +33,9 @@ set_board_info ldflags "[libgloss_link_f
>  
>  # Use idt.
>  if { [board_info $board obj_format] == "ecoff" } {
> -    set_board_info ldscript "-Wl,-Tidtecoff.ld"
> +    set_board_info ldscript "-Tidtecoff.ld"
>  } else {
> -    set_board_info ldscript "-Wl,-Tidt.ld"
> +    set_board_info ldscript "-Tidt.ld"
>  }
>  
>  # The idt interface can't return exit statuses, so gcc (ctorture et
> Index: mips-lnews-sim.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/mips-lnews-sim.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 mips-lnews-sim.exp
> --- mips-lnews-sim.exp        23 Aug 2003 01:16:51 -0000      1.3
> +++ mips-lnews-sim.exp        12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -18,7 +18,7 @@
>  # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
>  
>  # lnews linker script.
> -set_board_info ldscript "-Wl,-Tlnews.ld"
> +set_board_info ldscript "-Tlnews.ld"
>  
>  # Otherwise, it's the same as the standard mips simulator.
>  load_base_board_description "mips-sim"
> Index: mips-lsi-sim.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/mips-lsi-sim.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 mips-lsi-sim.exp
> --- mips-lsi-sim.exp  23 Aug 2003 01:16:51 -0000      1.3
> +++ mips-lsi-sim.exp  12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -21,7 +21,7 @@
>  add_multilib_option "-mips16"
>  
>  # And we use the lsi linker script.
> -set_board_info ldscript "-Wl,-Tlsi.ld"
> +set_board_info ldscript "-Tlsi.ld"
>  
>  # Otherwise we're the same as the standard MIPS simulator.
>  load_base_board_description "mips-sim"
> Index: mips64vr4100-sim.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/mips64vr4100-sim.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 mips64vr4100-sim.exp
> --- mips64vr4100-sim.exp      23 Aug 2003 01:16:51 -0000      1.3
> +++ mips64vr4100-sim.exp      12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -42,7 +42,7 @@ set board_info($board,compiler) "[find_g
>  set board_info($board,cflags) "[libgloss_include_flags] 
> [newlib_include_flags] [libio_include_flags]"
>  set board_info($board,ldflags) "[libgloss_link_flags] [newlib_link_flags] 
> [libio_link_flags]"
>  # IDT linker script.
> -set board_info($board,ldscript) "-Wl,-Tidt.ld"
> +set board_info($board,ldscript) "-Tidt.ld"
>  
>  # The simulator doesn't return exit statuses and we need to indicate this;
>  # the standard GCC wrapper will work with this target.
> Index: op50n.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/op50n.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 op50n.exp
> --- op50n.exp 23 Aug 2003 01:16:51 -0000      1.3
> +++ op50n.exp 12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -41,7 +41,7 @@ set_board_info compiler  "[find_gcc]"
>  set_board_info cflags  "[newlib_include_flags] [libgloss_include_flags]"
>  set_board_info ldflags  "[libgloss_link_flags] [newlib_link_flags]"
>  # It's an op50n board.
> -set_board_info ldscript  "-Wl,-Top50n.ld"
> +set_board_info ldscript  "-Top50n.ld"
>  # The proelf interface has no way to return status information, so we
>  # need to indicate this.
>  set_board_info needs_status_wrapper  1
> Index: rom68k-idp.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/rom68k-idp.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 rom68k-idp.exp
> --- rom68k-idp.exp    23 Aug 2003 01:16:51 -0000      1.3
> +++ rom68k-idp.exp    12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -64,7 +64,7 @@ if ![board_info $board exists output_for
>  }
>  
>  # IDP linker script.
> -set_board_info ldscript "-Wl,-Tidp.ld"
> +set_board_info ldscript "-Tidp.ld"
>  # The idt interface can't return exit statuses, so gcc (ctorture et
>  # al) needs to do what it can to get them.
>  set_board_info needs_status_wrapper 1
> Index: sh-hms.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/sh-hms.exp,v
> retrieving revision 1.4
> diff -u -p -r1.4 sh-hms.exp
> --- sh-hms.exp        23 Aug 2003 01:16:51 -0000      1.4
> +++ sh-hms.exp        12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -37,7 +37,7 @@ set_board_info cflags "[newlib_include_f
>  set_board_info ldflags "[newlib_link_flags] [libgloss_link_flags]"
>  
>  # Linker script for the SH2 board.
> -set_board_info ldscript "-Wl,-Tsh2lcevb.ld"
> +set_board_info ldscript "-Tsh2lcevb.ld"
>  
>  # Can't pass arguments to this target.
>  set_board_info noargs  1
> Index: tx39-dve.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/tx39-dve.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 tx39-dve.exp
> --- tx39-dve.exp      23 Aug 2003 01:16:51 -0000      1.3
> +++ tx39-dve.exp      12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -37,7 +37,7 @@ set_board_info compiler "[find_gcc]"
>  set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
>  set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
>  # DDB linker script.
> -set_board_info ldscript "-Wl,-Tdve.ld"
> +set_board_info ldscript "-Tdve.ld"
>  
>  # GDB doesn't return exit statuses and we need to indicate this;
>  # the standard GCC wrapper will work with this target.
> Index: tx39-sim.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/tx39-sim.exp,v
> retrieving revision 1.4
> diff -u -p -r1.4 tx39-sim.exp
> --- tx39-sim.exp      23 Aug 2003 01:16:51 -0000      1.4
> +++ tx39-sim.exp      12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -21,7 +21,7 @@
>  add_multilib_option ""
>  
>  # And we use the lsi linker script.
> -set_board_info ldscript "-Wl,-Tdve.ld"
> +set_board_info ldscript "-Tdve.ld"
>  
>  # Otherwise we're the same as the standard MIPS simulator.
>  load_base_board_description "mips-sim"
> Index: vr4100-ddb.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/vr4100-ddb.exp,v
> retrieving revision 1.2
> diff -u -p -r1.2 vr4100-ddb.exp
> --- vr4100-ddb.exp    23 Aug 2003 01:16:51 -0000      1.2
> +++ vr4100-ddb.exp    12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -36,7 +36,7 @@ set_board_info compiler "[find_gcc]"
>  set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
>  set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
>  # DDB linker script.
> -set_board_info ldscript "-Wl,-Tpmon.ld"
> +set_board_info ldscript "-Tpmon.ld"
>  
>  # GDB doesn't return exit statuses and we need to indicate this;
>  # the standard GCC wrapper will work with this target.
> Index: vr4100-sim.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/vr4100-sim.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 vr4100-sim.exp
> --- vr4100-sim.exp    23 Aug 2003 01:16:51 -0000      1.3
> +++ vr4100-sim.exp    12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -19,9 +19,9 @@
>  
>  # DDB linker script.
>  if { [board_info $board obj_format] == "ecoff" } {
> -    set_board_info ldscript "-Wl,-Tddbecoff.ld"
> +    set_board_info ldscript "-Tddbecoff.ld"
>  } else {
> -    set_board_info ldscript "-Wl,-Tddb.ld"
> +    set_board_info ldscript "-Tddb.ld"
>  }
>  
>  # And the simulator doesn't reliably return exit statuses.
> Index: vr4111-sim.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/vr4111-sim.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 vr4111-sim.exp
> --- vr4111-sim.exp    23 Aug 2003 01:16:51 -0000      1.3
> +++ vr4111-sim.exp    12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -19,9 +19,9 @@
>  
>  # DDB linker script.
>  if { [board_info $board obj_format] == "ecoff" } {
> -    set_board_info ldscript "-Wl,-Tddbecoff.ld"
> +    set_board_info ldscript "-Tddbecoff.ld"
>  } else {
> -    set_board_info ldscript "-Wl,-Tddb.ld"
> +    set_board_info ldscript "-Tddb.ld"
>  }
>  
>  # And the simulator doesn't reliably return exit statuses.
> Index: vr4300-ddb.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/vr4300-ddb.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 vr4300-ddb.exp
> --- vr4300-ddb.exp    23 Aug 2003 01:16:51 -0000      1.3
> +++ vr4300-ddb.exp    12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -22,9 +22,9 @@
>  
>  # DDB linker script.
>  if { [board_info $board obj_format] == "ecoff" } {
> -    set_board_info ldscript "-Wl,-Tddbecoff.ld"
> +    set_board_info ldscript "-Tddbecoff.ld"
>  } else {
> -    set_board_info ldscript "-Wl,-Tddb.ld"
> +    set_board_info ldscript "-Tddb.ld"
>  }
>  
>  # This is needed for compiling nullstone.
> Index: vr4300-sim.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/vr4300-sim.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 vr4300-sim.exp
> --- vr4300-sim.exp    23 Aug 2003 01:16:51 -0000      1.3
> +++ vr4300-sim.exp    12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -19,9 +19,9 @@
>  
>  # DDB linker script.
>  if { [board_info $board obj_format] == "ecoff" } {
> -    set_board_info ldscript "-Wl,-Tddbecoff.ld"
> +    set_board_info ldscript "-Tddbecoff.ld"
>  } else {
> -    set_board_info ldscript "-Wl,-Tddb.ld"
> +    set_board_info ldscript "-Tddb.ld"
>  }
>  
>  # And the simulator doesn't reliably return exit statuses.
> Index: vr4300.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/vr4300.exp,v
> retrieving revision 1.2
> diff -u -p -r1.2 vr4300.exp
> --- vr4300.exp        23 Aug 2003 01:16:51 -0000      1.2
> +++ vr4300.exp        12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -36,7 +36,7 @@ set_board_info compiler "[find_gcc]"
>  set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
>  set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
>  # IDT linker script.
> -set_board_info ldscript "-Wl,-Tidt.ld"
> +set_board_info ldscript "-Tidt.ld"
>  
>  # GDB doesn't return exit statuses and we need to indicate this;
>  # the standard GCC wrapper will work with this target.
> Index: vr5000-ddb.exp
> ===================================================================
> RCS file: /cvsroot/dejagnu/dejagnu/baseboards/vr5000-ddb.exp,v
> retrieving revision 1.3
> diff -u -p -r1.3 vr5000-ddb.exp
> --- vr5000-ddb.exp    23 Aug 2003 01:16:51 -0000      1.3
> +++ vr5000-ddb.exp    12 Jan 2004 15:05:08 -0000
> @@ -1,4 +1,4 @@
> -# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
> +# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software
>  # Foundation, Inc.
>  #
>  # This file is part of DejaGnu.
> @@ -33,7 +33,7 @@ set_board_info compiler "[find_gcc]"
>  set_board_info cflags "[libgloss_include_flags] [newlib_include_flags]"
>  set_board_info ldflags "[libgloss_link_flags] [newlib_link_flags]"
>  # DDB linker script.
> -set_board_info ldscript "-Wl,-Tddb.ld"
> +set_board_info ldscript "-Tddb.ld"
>  
>  # GDB doesn't return exit statuses and we need to indicate this;
>  # the standard GCC wrapper will work with this target.
> 
> 
> _______________________________________________
> DejaGnu mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/dejagnu
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]