* configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
* gas/sh/basic.exp: Add -big to ASFLAGS for sh*l*-*-netbsdelf*.
This commit is contained in:
parent
6a200c2ed0
commit
7e12722200
4 changed files with 14 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
||||
|
||||
* configure.tgt (sh*-*-netbsdelf*): Set endian according to cpu.
|
||||
|
||||
2009-09-08 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* read.c (emit_expr_fix): Handle size 3.
|
||||
|
|
|
@ -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 ;;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2009-09-08 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
||||
|
||||
* gas/sh/basic.exp: Add -big to ASFLAGS for sh*l*-*-netbsdelf*.
|
||||
|
||||
2009-09-08 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* gas/d30v/serial2.l: Adjust position of page break.
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue