summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2003-10-31 23:26:03 +0000
committerManuel Novoa III <mjn3@codepoet.org>2003-10-31 23:26:03 +0000
commitf72338a387fe392186099c20bdd79a904965d799 (patch)
treeb6d1af405e456ec5b62be1216e039ada64f432b7 /ldso
parentfff9c70e33036a80875dc25d359ef22c2c0a524c (diff)
Some more soft float fixes... for arm in particular (libfloat).
Remove the ADD_LIBGCC_FUNCTIONS option and do things the right way. Either we have a shared libgcc available, or the libgcc routines aren't PIC and don't belong in the shared libc anyway.
Diffstat (limited to 'ldso')
-rw-r--r--ldso/util/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/util/Makefile b/ldso/util/Makefile
index 9064c367b..ac720f64f 100644
--- a/ldso/util/Makefile
+++ b/ldso/util/Makefile
@@ -46,7 +46,7 @@ readelf: readelf.c
strip -x -R .note -R .comment $@
readelf.target: readelf.c
- $(TARGET_CC) $(CFLAGS) -Wl,-s $^ -o $@
+ $(TARGET_CC) $(CFLAGS) -Wl,-s $^ -o $@ $(LDADD_LIBFLOAT)
$(STRIPTOOL) -x -R .note -R .comment $@
readsoname.o: readsoname.c readsoname2.c
@@ -75,7 +75,7 @@ ldconfig.target: ldconfig.c readsoname.c
-DUCLIBC_DEVEL_PREFIX=\"$(DEVEL_PREFIX)\" \
-DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\" \
-DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" -I. -I../include \
- $^ -o $@
+ $^ -o $@ $(LDADD_LIBFLOAT)
$(STRIPTOOL) -x -R .note -R .comment $@
ldd: ldd.c
@@ -91,7 +91,7 @@ ldd.target: ldd.c
-DUCLIBC_DEVEL_PREFIX=\"$(DEVEL_PREFIX)\" \
-DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\" \
-DUCLIBC_LDSO=\"$(UCLIBC_LDSO)\" \
- $^ -o $@
+ $^ -o $@ $(LDADD_LIBFLOAT)
$(STRIPTOOL) -x -R .note -R .comment $@
clean: