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]

Re: The x86 gas seems broken.


On Thu, Jul 26, 2001 at 01:08:38PM +0930, Alan Modra wrote:
> gas/ChangeLog
> 	* write.c (relax_segment <rs_space>): Account for fr_fix.

This might be a good idea too.

gas/testsuite/ChangeLog
	* gas/i386/relax.s: Test rs_space.
	* gas/i386/relax.d: Update.

Index: gas/testsuite/gas/i386/relax.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/relax.d,v
retrieving revision 1.2
diff -u -p -r1.2 relax.d
--- relax.d	2001/03/30 17:52:10	1.2
+++ relax.d	2001/07/26 04:09:14
@@ -4,6 +4,8 @@
 .*: +file format .*i386.*
 
 Contents of section .text:
+ 0+00 90 ?90 ?eb ?14 eb ?12 ?41 ?42 43 ?44 ?45 ?46 47 ?48 ?49 ?00  .*
+ 0+10 00 ?00 ?00 ?00 00 ?00 ?00 ?00  .*
 Contents of section .data:
 Contents of section .gcc_except_table:
  0+000 02[ 	]*.[ 	]*
Index: gas/testsuite/gas/i386/relax.s
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/i386/relax.s,v
retrieving revision 1.1
diff -u -p -r1.1 relax.s
--- relax.s	2001/03/30 01:20:41	1.1
+++ relax.s	2001/07/26 04:09:14
@@ -5,3 +5,14 @@
 .L1:
         .section        .gcc_except_table,"aw",@progbits
         .uleb128 .L1-.L0
+
+        .text
+.L2:
+        nop
+        nop
+        jmp     .L3
+        jmp     .L4
+        .asciz  "ABCDEFGHI"
+        .fill   0x18 - (. - .L2)
+.L3:
+.L4:


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