summaryrefslogtreecommitdiff
path: root/test/Rules.mak
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2007-11-07 15:14:50 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2007-11-07 15:14:50 +0000
commit6630516b0a000e0ac9769eceda72881f788b23b0 (patch)
treebe45d000f7fcc15236d67c0c0703ee10645518ed /test/Rules.mak
parent15e6cdf87ac378107dbbe096f1b09917733b0240 (diff)
Added support for GNU hash style into dynamic linker
Diffstat (limited to 'test/Rules.mak')
-rw-r--r--test/Rules.mak5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Rules.mak b/test/Rules.mak
index ac210a72e..ce639778a 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -107,6 +107,11 @@ ifeq ($(findstring -static,$(LDFLAGS)),)
LDFLAGS += -Wl,--dynamic-linker,$(UCLIBC_LDSO_ABSPATH)/$(UCLIBC_LDSO)
endif
+ifeq ($(LDSO_GNU_HASH_SUPPORT),y)
+# Check for binutils support is done on root Rules.mak
+LDFLAGS += -Wl,${LDFLAGS_GNUHASH}
+endif
+
# Filter output
MAKEFLAGS += --no-print-directory