diff options
author | Bernd Schmidt bernds_cb1@t-online.de <bernds@codesourcery.com> | 2011-03-02 18:22:01 +0100 |
---|---|---|
committer | Bernd Schmidt <bernds@codesourcery.com> | 2011-03-05 18:09:46 +0100 |
commit | f4eebb6146ea3f6917481d5d24f3d99e97236399 (patch) | |
tree | cf329d3c558f0ce8fb84950cb5f7f3aa333d5757 /libnsl | |
parent | 2a0c568ddc7b6b142dc049d8cc9cf32eb38e2321 (diff) |
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 'libnsl')
-rw-r--r-- | libnsl/Makefile.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libnsl/Makefile.in b/libnsl/Makefile.in index 3aa05a0f7..333c4907b 100644 --- a/libnsl/Makefile.in +++ b/libnsl/Makefile.in @@ -9,6 +9,7 @@ subdirs += libnsl CFLAGS-libnsl := -DNOT_IN_libc -DIS_IN_libnsl $(SSP_ALL_CFLAGS) +LDFLAGS-$(UCLIBC_FORMAT_DSBT_ELF)-libnsl.so := -Wl,--dsbt-index=6 LDFLAGS-libnsl.so := $(LDFLAGS) $(call link.asneeded,-lc) LIBS-libnsl.so := $(LIBS) |