Source-Changes-HG archive

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

[src/trunk]: src/gnu/dist/bfd BFD for SH ELF



details:   https://anonhg.NetBSD.org/src/rev/84a386cd19c9
branches:  trunk
changeset: 480078:84a386cd19c9
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Sun Jan 02 10:53:52 2000 +0000

description:
BFD for SH ELF

diffstat:

 gnu/dist/bfd/elf32-sh.c    |  15 +++++++++++++++
 gnu/dist/bfd/elf32-shunx.c |   7 +++++++
 2 files changed, 22 insertions(+), 0 deletions(-)

diffs (43 lines):

diff -r 5c8fa54fb806 -r 84a386cd19c9 gnu/dist/bfd/elf32-sh.c
--- a/gnu/dist/bfd/elf32-sh.c   Sun Jan 02 10:04:26 2000 +0000
+++ b/gnu/dist/bfd/elf32-sh.c   Sun Jan 02 10:53:52 2000 +0000
@@ -1889,13 +1889,28 @@
   return NULL;
 }
 
+#ifndef TARGET_BIG_SYM
 #define TARGET_BIG_SYM         bfd_elf32_sh_vec
+#endif
+
+#ifndef TARGET_BIG_NAME
 #define TARGET_BIG_NAME                "elf32-sh"
+#endif
+
+#ifndef TARGET_LITTLE_SYM
 #define TARGET_LITTLE_SYM      bfd_elf32_shl_vec
+#endif
+
+#ifndef TARGET_LITTLE_NAME
 #define TARGET_LITTLE_NAME     "elf32-shl"
+#endif
+
 #define ELF_ARCH               bfd_arch_sh
 #define ELF_MACHINE_CODE       EM_SH
+
+#ifndef ELF_MAXPAGESIZE
 #define ELF_MAXPAGESIZE                0x1
+#endif
 
 #define elf_symbol_leading_char '_'
 
diff -r 5c8fa54fb806 -r 84a386cd19c9 gnu/dist/bfd/elf32-shunx.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/dist/bfd/elf32-shunx.c        Sun Jan 02 10:53:52 2000 +0000
@@ -0,0 +1,7 @@
+#define TARGET_BIG_SYM         bfd_elf32_shunx_vec
+#define TARGET_BIG_NAME                "elf32-sh-unx"
+#define TARGET_LITTLE_SYM      bfd_elf32_shlunx_vec
+#define TARGET_LITTLE_NAME     "elf32-shl-unx"
+#define ELF_MAXPAGESIZE                0x1000
+
+#include "elf32-sh.c"



Home | Main Index | Thread Index | Old Index