Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/include Don't define ARCH_ELFSIZE if it's a...



details:   https://anonhg.NetBSD.org/src/rev/b5a6a26f64ca
branches:  trunk
changeset: 794156:b5a6a26f64ca
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Mar 07 04:11:07 2014 +0000

description:
Don't define ARCH_ELFSIZE if it's already defined.

diffstat:

 sys/arch/powerpc/include/elf_machdep.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 1c7c654d5e0b -r b5a6a26f64ca sys/arch/powerpc/include/elf_machdep.h
--- a/sys/arch/powerpc/include/elf_machdep.h    Fri Mar 07 04:10:43 2014 +0000
+++ b/sys/arch/powerpc/include/elf_machdep.h    Fri Mar 07 04:11:07 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf_machdep.h,v 1.11 2014/03/06 19:30:39 matt Exp $    */
+/*     $NetBSD: elf_machdep.h,v 1.12 2014/03/07 04:11:07 matt Exp $    */
 
 #ifndef _POWERPC_ELF_MACHDEP_H_
 #define _POWERPC_ELF_MACHDEP_H_
@@ -16,11 +16,13 @@
 #define        ELF32_MACHDEP_ID        EM_PPC
 #define        ELF64_MACHDEP_ID        EM_PPC64
 
+#ifndef ARCH_ELFSIZE
 #ifdef _LP64
 #define ARCH_ELFSIZE           64      /* MD native binary size */
 #else
 #define ARCH_ELFSIZE           32      /* MD native binary size */
 #endif
+#endif
 
 /* Specify the value of _GLOBAL_OFFSET_TABLE_ */
 #define        DT_PPC_GOT              DT_LOPROC



Home | Main Index | Thread Index | Old Index