Module Name: src Committed By: matt Date: Thu Mar 6 09:34:56 UTC 2014
Modified Files: src/libexec/ld.elf_so: Makefile Log Message: Enable building ld.elf_so for powerpc Produce a link map for ld.elf_so To generate a diff of this commit: cvs rdiff -u -r1.125 -r1.126 src/libexec/ld.elf_so/Makefile 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/Makefile diff -u src/libexec/ld.elf_so/Makefile:1.125 src/libexec/ld.elf_so/Makefile:1.126 --- src/libexec/ld.elf_so/Makefile:1.125 Sat Nov 16 17:14:06 2013 +++ src/libexec/ld.elf_so/Makefile Thu Mar 6 09:34:56 2014 @@ -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 @@ M= ${.CURDIR}/arch/${ARCHSUBDIR} (${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 @@ LDFLAGS+= ${${ACTIVE_CC} == "clang":? -W -shared -nostartfiles -nodefaultlibs LDFLAGS+= -Wl,-static LDFLAGS+= -Wl,--warn-shared-textrel +LDFLAGS+= -Wl,-Map=${.TARGET}.map COPTS+= -fvisibility=hidden @@ -82,7 +83,7 @@ errlist_concat.h: ${NETBSDSRCDIR}/lib/li xprintf.c: errlist_concat.h -CLEANFILES+= errlist_concat.h +CLEANFILES+= errlist_concat.h ${PROG}.map BINDIR= ${SHLINKINSTALLDIR}