Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/gas/config gas.new for NetBSD/sh3



details:   https://anonhg.NetBSD.org/src/rev/f9691d430bda
branches:  trunk
changeset: 479915:f9691d430bda
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sun Dec 26 20:03:56 1999 +0000

description:
gas.new for NetBSD/sh3

diffstat:

 gnu/dist/gas/config/tc-sh.h |  7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diffs (26 lines):

diff -r 18029e3b59a0 -r f9691d430bda gnu/dist/gas/config/tc-sh.h
--- a/gnu/dist/gas/config/tc-sh.h       Sun Dec 26 19:59:22 1999 +0000
+++ b/gnu/dist/gas/config/tc-sh.h       Sun Dec 26 20:03:56 1999 +0000
@@ -20,7 +20,10 @@
 
 #define TC_SH
 
+/* Set the endianness we are using.  Default to little endian.  */
+#ifndef TARGET_BYTES_BIG_ENDIAN
 #define TARGET_BYTES_BIG_ENDIAN 0
+#endif
 
 #define TARGET_ARCH bfd_arch_sh
 
@@ -134,7 +137,11 @@
 /* Whether or not the target is big endian */
 extern int target_big_endian;
 
+#ifdef TE_NetBSD
+#define TARGET_FORMAT (shl ? "elf32-shl-unx" : "elf32-sh-unx")
+#else
 #define TARGET_FORMAT (shl ? "elf32-shl" : "elf32-sh")
+#endif
 
 #endif /* OBJ_ELF */
 



Home | Main Index | Thread Index | Old Index