This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: Binutils branch 2.20 (done!)


On Sat, Sep 05, 2009 at 12:39:25PM +0200, Andreas Schwab wrote:
> The difference comes from the fact that on m68k-linux, following proper
> ELF semantics, relocations to external symbols are never relaxed by the
> assembler, while for m68k-elf, assuming no shared libraries, such
> relocations are relaxed anyway.  See EXTERN_FORCE_RELOC in
> gas/config/tc-m68k.h and relaxable_symbol in gas/config/tc-m68k.c.

Let's relax the test a little then.  This gets rid of the mips and
hppa64 fail too.

	* ld-elf/eh5.d: Don't run on hppa64.  Allow non-pcrel encoding.
	Skip extra CIEs emitted on embedded targets and adjust FDE
	matches to suit.

Index: ld/testsuite/ld-elf/eh5.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/eh5.d,v
retrieving revision 1.4
diff -u -p -r1.4 eh5.d
--- ld/testsuite/ld-elf/eh5.d	6 Oct 2008 16:27:35 -0000	1.4
+++ ld/testsuite/ld-elf/eh5.d	8 Sep 2009 01:07:23 -0000
@@ -4,7 +4,7 @@
 #ld:
 #readelf: -wf
 #target: cfi
-#notarget: alpha*
+#notarget: alpha* hppa64*
 
 Contents of the .eh_frame section:
 
@@ -14,7 +14,7 @@ Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     1b
+  Augmentation data:     (0b|1b)
 
   DW_CFA_nop
   DW_CFA_nop
@@ -33,7 +33,7 @@ Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     03 .. .. .. .. 1b
+  Augmentation data:     03 .. .. .. .. (0b|1b)
 
   DW_CFA_nop
 
@@ -57,7 +57,7 @@ Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     03 .. .. .. .. 0c 1b
+  Augmentation data:     03 .. .. .. .. 0c (0b|1b)
 
   DW_CFA_nop
   DW_CFA_nop
@@ -78,7 +78,7 @@ Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     1b
+  Augmentation data:     (0b|1b)
 
   DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
 #...
@@ -93,7 +93,7 @@ Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     03 .. .. .. .. 1b
+  Augmentation data:     03 .. .. .. .. (0b|1b)
 
   DW_CFA_nop
 
@@ -115,7 +115,7 @@ Contents of the .eh_frame section:
   Code alignment factor: .*
   Data alignment factor: .*
   Return address column: .*
-  Augmentation data:     03 .. .. .. .. 0c 1b
+  Augmentation data:     03 .. .. .. .. 0c (0b|1b)
 
   DW_CFA_nop
   DW_CFA_nop
@@ -136,8 +136,8 @@ Contents of the .eh_frame section:
   DW_CFA_nop
   DW_CFA_nop
   DW_CFA_nop
-
-000001(70|88) 00000014 000001(48|5c) FDE cie=000000(2c|30) pc=.*
+#...
+000001(70|88) 00000014 00000(01c|148|15c) FDE cie=00000(02c|030|170) pc=.*
   DW_CFA_advance_loc: 4 to .*
   DW_CFA_def_cfa: r0( \([er]ax\)|) ofs 16
   DW_CFA_nop
@@ -150,8 +150,8 @@ Contents of the .eh_frame section:
   DW_CFA_nop
   DW_CFA_nop
   DW_CFA_nop
-
-000001(a0|b8) 0000001c 000001(30|44) FDE cie=0000007[48] pc=.*
+#...
+000001(a0|b8|d4) 0000001c 00000(020|130|144) FDE cie=00000(074|078|1b8) pc=.*
   Augmentation data:     (ef be ad de 00 00 00 00|00 00 00 00 de ad be ef)
 
   DW_CFA_advance_loc: 4 to .*


-- 
Alan Modra
Australia Development Lab, IBM


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