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 Warn about DT_TEXTRELs



details:   https://anonhg.NetBSD.org/src/rev/e7144e3f8644
branches:  trunk
changeset: 760891:e7144e3f8644
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jan 16 02:36:05 2011 +0000

description:
Warn about DT_TEXTRELs

diffstat:

 libexec/ld.elf_so/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 7cc83a9cfe8f -r e7144e3f8644 libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile        Sun Jan 16 01:22:50 2011 +0000
+++ b/libexec/ld.elf_so/Makefile        Sun Jan 16 02:36:05 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index