This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] enable linux-vax support
- From: Nick Clifton <nickc at redhat dot com>
- To: Dave Airlie <airlied at linux dot ie>
- Cc: binutils at sources dot redhat dot com, Matt Thomas <matt at 3am-software dot com>
- Date: Wed, 03 Dec 2003 14:57:12 +0000
- Subject: Re: [PATCH] enable linux-vax support
- References: <Pine.LNX.4.58.0311280624460.7795@skynet>
Hi Dave,
> This is a patch that switches on linux-vax support in
> binutils, there are no major changes requried apart from some config
> and one patch to gas (for a SYSV option that gcc pass to binutils on
> Linux)..
Thanks for submitting this patch. I have applied it, but there were
two problems with it:
* You did not include any ChangeLog entries. I have used the ones
below.
* You did not update the file gas/testsuite/gas/vax/vax.exp to take
account of the new ELF-like target. I have applied the patch
below to fix this.
Cheers
Nick
bdf/ChangeLog
2003-12-03 Dave Airlie <airlied@linux.ie>
* config.bfd: Add vax-linux-gnu target.
* configure.in: Likewise.
* configure: Regenerate.
gas/ChangeLog
2003-12-03 Dave Airlie <airlied@linux.ie>
* configure.in: Likewise.
* configure: Regenerate.
* config/tc-vax.c (md_shortopts): Add 'Q'.
(md_parse_option): Ignore 'Q' for now.
ld/ChangeLog
2003-12-03 Dave Airlie <airlied@linux.ie>
* configure.tgt: Add vax-linux-gnu target.
gas/testsuite/ChangeLog
2003-12-03 Nick Clifton <nickc@redhat.com>
* gas/vax/vax.exp (do_quad): Treat a vax-*-linux-gnu target as an
ELF target.
Index: gas/testsuite/gas/vax/vax.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/vax/vax.exp,v
retrieving revision 1.1
diff -c -3 -p -r1.1 vax.exp
*** gas/testsuite/gas/vax/vax.exp 27 Sep 2002 23:36:01 -0000 1.1
--- gas/testsuite/gas/vax/vax.exp 3 Dec 2003 14:56:05 -0000
*************** proc do_quad {} {
*** 8,14 ****
set x2 0
set x3 0
set file "quad.s"
! if [istarget vax-*-*elf*] {
set file "quad_elf.s"
}
gas_start $file "-al"
--- 8,14 ----
set x2 0
set x3 0
set file "quad.s"
! if { [istarget vax-*-*elf*] || [istarget vax-*-linux-gnu*] } then {
set file "quad_elf.s"
}
gas_start $file "-al"