aboutsummaryrefslogtreecommitdiff
path: root/libm/Makefile.in
diff options
context:
space:
mode:
authorGravatar Bernd Schmidt bernds_cb1@t-online.de <bernds@codesourcery.com>2011-03-02 18:22:01 +0100
committerGravatar Bernd Schmidt <bernds@codesourcery.com>2011-03-05 18:09:46 +0100
commitf4eebb6146ea3f6917481d5d24f3d99e97236399 (patch)
treecf329d3c558f0ce8fb84950cb5f7f3aa333d5757 /libm/Makefile.in
parent2a0c568ddc7b6b142dc049d8cc9cf32eb38e2321 (diff)
downloaduClibc-f4eebb6146ea3f6917481d5d24f3d99e97236399.tar.gz
uClibc-f4eebb6146ea3f6917481d5d24f3d99e97236399.tar.bz2
Add Makefile support for DSBT ELF.
This adds support for a new binary format, DSBT ELF, to the Makefiles. Every shared library is assigned a DSBT index, and the link.so macro is adjusted to ensure the correct linker argument is passed. Configuration and ldso support will follow in separate commits. Signed-off-by: Bernd Schmidt <bernds@codesourcery.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libm/Makefile.in')
-rw-r--r--libm/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/libm/Makefile.in b/libm/Makefile.in
index 384365cac..223593304 100644
--- a/libm/Makefile.in
+++ b/libm/Makefile.in
@@ -25,6 +25,7 @@ subdirs += libm
CFLAGS-libm := -DNOT_IN_libc -DIS_IN_libm $(SSP_ALL_CFLAGS)
CFLAGS-libm += -D_IEEE_LIBM
+LDFLAGS-$(UCLIBC_FORMAT_DSBT_ELF)-libm.so := -Wl,--dsbt-index=5
LDFLAGS-libm.so := $(LDFLAGS)
LIBS-libm.so := $(LIBS)