From: Kaz Kojima <kkojima@rr.iij4u.or.jp>
To: amodra@bigpond.net.au
Cc: gingold@adacore.com, binutils@sourceware.org
Subject: Re: Binutils branch 2.20 (done!)
Date: Sun, 06 Sep 2009 07:59:00 -0000 [thread overview]
Message-ID: <20090906.165809.190667340.kkojima@rr.iij4u.or.jp> (raw)
In-Reply-To: <20090904135833.GT518@bubble.grove.modra.org>
>shl-unknown-netbsdelf/log0:FAIL: check sections 1
[snip]
> shl-unknown-netbsdelf/log0:FAIL: --entry foo -u foo
Almost ld tests fail for shl-unknown-netbsdelf target because
ld/configure.tgt handles sh*l*-*-netbsdelf* as big endian targets
but gas/configure.tgt doesn't. The attached patch is to fix this
inconsistency. I'll apply it if I don't get any objections in
a day or two.
Regards,
kaz
--
[gas/ChangeLog]
2009-09-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
[gas/testsuite/ChangeLog]
2009-09-06 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* gas/sh/basic.exp: Add -big to ASFLAGS for sh*l*-*-netbsdelf*.
diff -uprN ORIG/src/gas/configure.tgt src/gas/configure.tgt
--- ORIG/src/gas/configure.tgt 2009-08-29 19:13:09.000000000 +0900
+++ src/gas/configure.tgt 2009-09-06 15:50:29.000000000 +0900
@@ -353,7 +353,11 @@ case ${generic_target} in
esac ;;
sh5*-*-netbsd*) fmt=elf em=nbsd ;;
sh64*-*-netbsd*) fmt=elf em=nbsd ;;
- sh*-*-netbsdelf*) fmt=elf em=nbsd ;;
+ sh*-*-netbsdelf*) fmt=elf em=nbsd
+ case ${cpu} in
+ sh*l*) endian=little ;;
+ *) endian=big ;;
+ esac ;;
sh*-*-symbianelf*) fmt=elf endian=little ;;
sh-*-elf* | sh-*-uclinux* | sh[12]-*-uclinux*) fmt=elf ;;
sh-*-coff*) fmt=coff ;;
diff -uprN ORIG/src/gas/testsuite/gas/sh/basic.exp src/gas/testsuite/gas/sh/basic.exp
--- ORIG/src/gas/testsuite/gas/sh/basic.exp 2009-09-06 12:55:21.000000000 +0900
+++ src/gas/testsuite/gas/sh/basic.exp 2009-09-06 16:34:23.000000000 +0900
@@ -20,7 +20,7 @@
# Written by Cygnus Support.
-if [istarget "sh*-*-linux-*"] {
+if {[istarget "sh*-*-linux-*"] || [istarget "sh*l*-*-netbsdelf*"]} then {
global ASFLAGS
set ASFLAGS "$ASFLAGS -big"
}
next prev parent reply other threads:[~2009-09-06 7:59 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
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 [this message]
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=20090906.165809.190667340.kkojima@rr.iij4u.or.jp \
--to=kkojima@rr.iij4u.or.jp \
--cc=amodra@bigpond.net.au \
--cc=binutils@sourceware.org \
--cc=gingold@adacore.com \
/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).