This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Patch: Only use strict COFF for djgpp
- To: Nick Clifton <nickc at redhat dot com>
- Subject: Re: Patch: Only use strict COFF for djgpp
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Mon, 21 Aug 2000 23:50:02 -0700
- Cc: snowball3 at bigfoot dot com, ian at zembu dot com,binutils at sourceware dot cygnus dot com
- References: <200008220007.RAA24195@elmo.cygnus.com>
On Mon, Aug 21, 2000 at 05:07:45PM -0700, Nick Clifton wrote:
>
> * We need some way to ensure that the cofftag gas tests will pass
> when STRICTCOFF is defined. We could just eliminate the test in
> the gas.exp script, (since lots of other ports do), but I feel
> that this is wrong. I would suggest editing the cofftag.d file
> to allow -1 or -2 for the section numbers for entries 6, 7 and
> 8.
>
Here is the patch for cofftag.
H.J.
---
2000-08-21 H.J. Lu <hjl@gnu.org>
* gas/all/cofftag.d: Support the strict COFF.
Index: gas/all/cofftag.d
===================================================================
RCS file: /work/cvs/gnu/binutils/gas/testsuite/gas/all/cofftag.d,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 cofftag.d
--- gas/all/cofftag.d 1999/06/03 18:02:02 1.1.1.1
+++ gas/all/cofftag.d 2000/08/22 06:43:19
@@ -10,9 +10,9 @@ File
\[ 3\]\(sec 1\)\(fl 0x00\)\(ty 0\)\(scl 6\) \(nx 0\) 0x0+0000 ___gnu_compiled_c
\[ 4\]\(sec -2\)\(fl 0x00\)\(ty a\)\(scl 15\) \(nx 1\) 0x0+0000 _token
AUX lnno 0 size 0x4 tagndx 0 endndx 10
-\[ 6\]\(sec -1\)\(fl 0x00\)\(ty b\)\(scl 16\) \(nx 0\) 0x0+0000 _operator
-\[ 7\]\(sec -1\)\(fl 0x00\)\(ty b\)\(scl 16\) \(nx 0\) 0x0+0001 _flags
-\[ 8\]\(sec -1\)\(fl 0x00\)\(ty 0\)\(scl 102\) \(nx 1\) 0x0+0004 .eos
+\[ 6\]\(sec -(1|2)\)\(fl 0x00\)\(ty b\)\(scl 16\) \(nx 0\) 0x0+0000 _operator
+\[ 7\]\(sec -(1|2)\)\(fl 0x00\)\(ty b\)\(scl 16\) \(nx 0\) 0x0+0001 _flags
+\[ 8\]\(sec -(1|2)\)\(fl 0x00\)\(ty 0\)\(scl 102\) \(nx 1\) 0x0+0004 .eos
AUX lnno 0 size 0x4 tagndx 4
\[ 10\]\(sec 1\)\(fl 0x00\)\(ty 0\)\(scl 3\) \(nx 1\) 0x[0-9a-f]+ .text
AUX scnlen 0x[0-9a-f]+ nreloc 0 nlnno 0