Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ld.elf_so/arch/mips Simplify ELFSIZE by using _MIPS_...
details: https://anonhg.NetBSD.org/src/rev/46f1e1b5cba8
branches: trunk
changeset: 787869:46f1e1b5cba8
user: matt <matt%NetBSD.org@localhost>
date: Wed Jul 10 15:08:38 2013 +0000
description:
Simplify ELFSIZE by using _MIPS_SZPTR
diffstat:
libexec/ld.elf_so/arch/mips/Makefile.inc | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diffs (22 lines):
diff -r 008e99009d58 -r 46f1e1b5cba8 libexec/ld.elf_so/arch/mips/Makefile.inc
--- a/libexec/ld.elf_so/arch/mips/Makefile.inc Wed Jul 10 15:05:46 2013 +0000
+++ b/libexec/ld.elf_so/arch/mips/Makefile.inc Wed Jul 10 15:08:38 2013 +0000
@@ -1,16 +1,10 @@
-# $NetBSD: Makefile.inc,v 1.19 2010/07/11 07:43:12 mrg Exp $
+# $NetBSD: Makefile.inc,v 1.20 2013/07/10 15:08:38 matt Exp $
SRCS+= rtld_start.S mips_reloc.c
COPTS+= -G0
-ABI64?= ${CFLAGS:M-mabi=64} ${CPPFLAGS:M-mabi=64} ${COPTS:M-mabi=64}
-ABIO64?= ${CFLAGS:M-mabi=o64} ${CPPFLAGS:M-mabi=o64} ${COPTS:M-mabi=o64}
-.if !empty(ABI64) || !empty(ABIO64)
-CPPFLAGS+= -DELFSIZE=64
-.else
-CPPFLAGS+= -DELFSIZE=32
-.endif
+CPPFLAGS+= -DELFSIZE=_MIPS_SZPTR
CPPFLAGS+= -DRTLD_INHIBIT_COPY_RELOCS
AFLAGS+= -Wa,--fatal-warnings
Home |
Main Index |
Thread Index |
Old Index