Module Name:    src
Committed By:   matt
Date:           Sun Jan 16 02:36:05 UTC 2011

Modified Files:
        src/libexec/ld.elf_so: Makefile

Log Message:
Warn about DT_TEXTRELs


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 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.101 src/libexec/ld.elf_so/Makefile:1.102
--- src/libexec/ld.elf_so/Makefile:1.101	Thu Dec 16 22:52:32 2010
+++ src/libexec/ld.elf_so/Makefile	Sun Jan 16 02:36:05 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.101 2010/12/16 22:52:32 joerg Exp $
+#	$NetBSD: Makefile,v 1.102 2011/01/16 02:36:05 matt Exp $
 #
 # NOTE: when changing ld.so, ensure that ldd still compiles.
 #
@@ -40,6 +40,8 @@
 
 LDFLAGS+=	-shared -symbolic -nostartfiles
 LDFLAGS+=	-Wl,-static
+LDFLAGS+=	-Wl,--warn-shared-textrel
+
 CFLAGS+=	-fvisibility=hidden
 
 # Adds SRCS, CPPFLAGS, LDFLAGS, etc.  Must go first so MD startup source

Reply via email to