Module Name: src
Committed By: matt
Date: Sat Sep 5 03:49:02 UTC 2009
Modified Files:
src/libexec/ld.elf_so/arch/mips [matt-nb5-mips64]: Makefile.inc
Log Message:
Enable ELFSIZE=64 is -mabi=64 is set.
To generate a diff of this commit:
cvs rdiff -u -r1.15.32.1 -r1.15.32.2 \
src/libexec/ld.elf_so/arch/mips/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/arch/mips/Makefile.inc
diff -u src/libexec/ld.elf_so/arch/mips/Makefile.inc:1.15.32.1 src/libexec/ld.elf_so/arch/mips/Makefile.inc:1.15.32.2
--- src/libexec/ld.elf_so/arch/mips/Makefile.inc:1.15.32.1 Wed Aug 26 03:32:53 2009
+++ src/libexec/ld.elf_so/arch/mips/Makefile.inc Sat Sep 5 03:49:02 2009
@@ -1,11 +1,15 @@
-# $NetBSD: Makefile.inc,v 1.15.32.1 2009/08/26 03:32:53 matt Exp $
+# $NetBSD: Makefile.inc,v 1.15.32.2 2009/09/05 03:49:02 matt Exp $
SRCS+= rtld_start.S mips_reloc.c
# XXX Should not be in CPPFLAGS!
CPUFLAGS+= -G0
+.if (${CPUFLAGS:M-mabi=64} != "")
+CPPFLAGS+= -DELFSIZE=64
+.else
CPPFLAGS+= -DELFSIZE=32
+.endif
CPPFLAGS+= -DRTLD_INHIBIT_COPY_RELOCS
AFLAGS+= -Wa,--fatal-warnings