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 Enable building ld.elf_so for powerpc
details: https://anonhg.NetBSD.org/src/rev/32f456f6e77f
branches: trunk
changeset: 327374:32f456f6e77f
user: matt <matt%NetBSD.org@localhost>
date: Thu Mar 06 09:34:56 2014 +0000
description:
Enable building ld.elf_so for powerpc
Produce a link map for ld.elf_so
diffstat:
libexec/ld.elf_so/Makefile | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 2d02a33444a9 -r 32f456f6e77f libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile Thu Mar 06 09:34:07 2014 +0000
+++ b/libexec/ld.elf_so/Makefile Thu Mar 06 09:34:56 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.125 2013/11/16 17:14:06 skrll Exp $
+# $NetBSD: Makefile,v 1.126 2014/03/06 09:34:56 matt Exp $
#
# NOTE: when changing ld.so, ensure that ldd still compiles.
#
@@ -33,7 +33,7 @@
(${LDELFSO_MACHINE_ARCH} == "i386") || \
(${LDELFSO_MACHINE_ARCH} == "m68k") || \
(${MACHINE_CPU} == "mips") || \
- (${LDELFSO_MACHINE_ARCH} == "powerpc") || \
+ (${MACHINE_CPU} == "powerpc") || \
(${MACHINE_CPU} == "sh3") || \
(${LDELFSO_MACHINE_ARCH} == "sparc") || \
(${LDELFSO_MACHINE_ARCH} == "sparc64") || \
@@ -45,6 +45,7 @@
-shared -nostartfiles -nodefaultlibs
LDFLAGS+= -Wl,-static
LDFLAGS+= -Wl,--warn-shared-textrel
+LDFLAGS+= -Wl,-Map=${.TARGET}.map
COPTS+= -fvisibility=hidden
@@ -82,7 +83,7 @@
xprintf.c: errlist_concat.h
-CLEANFILES+= errlist_concat.h
+CLEANFILES+= errlist_concat.h ${PROG}.map
BINDIR= ${SHLINKINSTALLDIR}
Home |
Main Index |
Thread Index |
Old Index