public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Alan Modra <amodra@bigpond.net.au>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Tristan Gingold <gingold@adacore.com>,
		Binutils <binutils@sourceware.org>
Subject: Re: Binutils branch 2.20 (done!)
Date: Tue, 08 Sep 2009 01:21:00 -0000	[thread overview]
Message-ID: <20090908012134.GL518@bubble.grove.modra.org> (raw)
In-Reply-To: <m2hbvhpteq.fsf@igel.home>

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

  reply	other threads:[~2009-09-08  1:21 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-12 12:47 Binutils 2.20 release schedule Tristan Gingold
2009-09-01  6:27 ` Dave Korn
2009-09-01  7:35   ` Tristan Gingold
2009-09-01 14:06     ` Dave Korn
2009-09-01 15:11       ` Tristan Gingold
2009-09-01 16:15     ` Mike Frysinger
2009-09-03 15:03 ` Binutils branch 2.20 (soon) Tristan Gingold
2009-09-03 15:07   ` Ralf Wildenhues
2009-09-03 22:12     ` itbl-parse.h dependencies in gas (was: Binutils branch 2.20 (soon)) Ralf Wildenhues
2009-09-03 16:03   ` Binutils branch 2.20 (soon) Jie Zhang
2009-09-03 20:49     ` Ralf Wildenhues
2009-09-04  0:36       ` Alan Modra
2009-09-04  2:15         ` Jie Zhang
2009-09-04  5:00     ` Jie Zhang
2009-09-04 10:01       ` Binutils branch 2.20 (done!) Tristan Gingold
2009-09-04 13:59         ` Alan Modra
2009-09-04 14:33           ` Maciej W. Rozycki
2009-09-05  0:43           ` DJ Delorie
2009-09-05  1:00           ` DJ Delorie
2009-09-05  1:05             ` Mike Frysinger
2009-09-05  1:10               ` DJ Delorie
2009-09-08  2:52                 ` Alan Modra
2009-09-07  7:50             ` Tristan Gingold
2009-09-05  2:26           ` DJ Delorie
2009-09-05 10:39           ` Andreas Schwab
2009-09-08  1:21             ` Alan Modra [this message]
2009-09-05 12:40           ` Jie Zhang
2009-09-05 12:59             ` Mike Frysinger
2009-09-05 14:22               ` Jie Zhang
2009-09-05 14:35                 ` Alan Modra
2009-09-05 15:02                   ` Jie Zhang
2009-09-05 14:33             ` Alan Modra
2009-09-05 14:56               ` Jie Zhang
2009-09-06  6:05           ` Kaz Kojima
2009-09-06  7:59           ` Kaz Kojima
2009-09-07  1:27           ` Hans-Peter Nilsson
2009-09-07 23:19             ` Alan Modra
2009-09-08  2:43               ` H.J. Lu
2009-09-08  2:50                 ` Alan Modra
2009-09-08  3:05                   ` H.J. Lu
2009-11-02  6:27             ` debug symbol hiding Alan Modra
2009-11-02 15:01               ` H.J. Lu
2009-11-02 21:44                 ` Alan Modra
2009-09-08  7:27           ` Binutils branch 2.20 (done!) M R Swami Reddy
2009-09-04 14:46         ` H.J. Lu
2009-09-07 20:09         ` Andreas Schwab
2009-09-07 22:00           ` Alan Modra
2009-09-03 17:08   ` Binutils branch 2.20 (soon) Dave Korn
2009-09-03 18:15     ` Dave Korn
2009-09-03 21:47   ` Dave Korn
2009-09-04  1:25     ` [committed] dlltool new option to create delay-import library [was Re: Binutils branch 2.20 (soon)] Dave Korn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090908012134.GL518@bubble.grove.modra.org \
    --to=amodra@bigpond.net.au \
    --cc=binutils@sourceware.org \
    --cc=gingold@adacore.com \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).