Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/include Let NetBSD/sparc know about 64-bit fo...



details:   https://anonhg.NetBSD.org/src/rev/1f6ce8aa2114
branches:  trunk
changeset: 472956:1f6ce8aa2114
user:      eeh <eeh%NetBSD.org@localhost>
date:      Fri May 14 00:18:51 1999 +0000

description:
Let NetBSD/sparc know about 64-bit formats even if it can't execute them.

diffstat:

 sys/arch/sparc/include/elf_machdep.h |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 8530624ffa90 -r 1f6ce8aa2114 sys/arch/sparc/include/elf_machdep.h
--- a/sys/arch/sparc/include/elf_machdep.h      Thu May 13 23:43:15 1999 +0000
+++ b/sys/arch/sparc/include/elf_machdep.h      Fri May 14 00:18:51 1999 +0000
@@ -1,12 +1,15 @@
-/*     $NetBSD: elf_machdep.h,v 1.2 1998/07/01 20:43:56 tv Exp $       */
+/*     $NetBSD: elf_machdep.h,v 1.3 1999/05/14 00:18:51 eeh Exp $      */
 
 #define ELF32_MACHDEP_ENDIANNESS       Elf_ed_2msb
 #define        ELF32_MACHDEP_ID_CASES                                          \
                case Elf_em_sparc:                                      \
+               case Elf_em_sparc32plus:                                \
                        break;
 
-#define        ELF64_MACHDEP_ENDIANNESS        XXX     /* break compilation */
+#define        ELF64_MACHDEP_ENDIANNESS        Elf_ed_2msb
 #define        ELF64_MACHDEP_ID_CASES                                          \
+               case Elf_em_sparc32plus:                                \
+               case Elf_em_sparc64:                                    \
                /* no 64-bit ELF machine types supported */
 
 #define R_SPARC_NONE           0



Home | Main Index | Thread Index | Old Index