Module Name: src
Committed By: matt
Date: Fri Mar 7 04:11:08 UTC 2014
Modified Files:
src/sys/arch/powerpc/include: elf_machdep.h
Log Message:
Don't define ARCH_ELFSIZE if it's already defined.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/powerpc/include/elf_machdep.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/include/elf_machdep.h
diff -u src/sys/arch/powerpc/include/elf_machdep.h:1.11 src/sys/arch/powerpc/include/elf_machdep.h:1.12
--- src/sys/arch/powerpc/include/elf_machdep.h:1.11 Thu Mar 6 19:30:39 2014
+++ src/sys/arch/powerpc/include/elf_machdep.h Fri Mar 7 04:11:07 2014
@@ -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