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 PR port-sparc64/51925: cosmetic clean...



details:   https://anonhg.NetBSD.org/src/rev/fb926fc04a07
branches:  trunk
changeset: 351097:fb926fc04a07
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 02 08:12:08 2017 +0000

description:
PR port-sparc64/51925: cosmetic cleanup, no functional change

diffstat:

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

diffs (25 lines):

diff -r 478bf747f903 -r fb926fc04a07 sys/arch/sparc/include/elf_machdep.h
--- a/sys/arch/sparc/include/elf_machdep.h      Thu Feb 02 05:43:48 2017 +0000
+++ b/sys/arch/sparc/include/elf_machdep.h      Thu Feb 02 08:12:08 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_machdep.h,v 1.7 2009/05/30 05:56:53 skrll Exp $    */
+/*     $NetBSD: elf_machdep.h,v 1.8 2017/02/02 08:12:08 martin Exp $   */
 
 #define ELF32_MACHDEP_ENDIANNESS       ELFDATA2MSB
 #define        ELF32_MACHDEP_ID_CASES                                          \
@@ -6,13 +6,11 @@
                case EM_SPARC32PLUS:                                    \
                        break;
 
-#define        ELF64_MACHDEP_ENDIANNESS        ELFDATA2MSB
+#define        ELF64_MACHDEP_ENDIANNESS        XXX     /* break compilation */
 #define        ELF64_MACHDEP_ID_CASES                                          \
-               case EM_SPARC32PLUS:                                    \
-               case EM_SPARCV9:                                        \
                /* no 64-bit ELF machine types supported */
 
-#define        ELF32_MACHDEP_ID        EM_SPARC        /* XXX right? */
+#define        ELF32_MACHDEP_ID        EM_SPARC
 
 #define ARCH_ELFSIZE           32      /* MD native binary size */
 



Home | Main Index | Thread Index | Old Index