diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2013-02-25 09:41:25 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-03-07 18:59:35 +0100 |
commit | f4fe313d5084ec49e50f3b6379d44f63179ce835 (patch) | |
tree | cf142a9c35d798662504cb20e0a9762161c5caf9 /ldso | |
parent | 3c99de5c1ed51729f5523a5faa20d76e5be9f2ae (diff) |
buildsys: Add missing $(SYMBOL_PREFIX) to symbol names
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/Makefile.in | 2 | ||||
-rw-r--r-- | ldso/ldso/bfin/dl-startup.h | 5 | ||||
-rw-r--r-- | ldso/libdl/Makefile.in | 2 |
3 files changed, 2 insertions, 7 deletions
diff --git a/ldso/ldso/Makefile.in b/ldso/ldso/Makefile.in index eb1570a53..91165c63d 100644 --- a/ldso/ldso/Makefile.in +++ b/ldso/ldso/Makefile.in @@ -36,7 +36,7 @@ LDFLAGS-$(UCLIBC_LDSO_NAME).so := $(LDFLAGS) else LDFLAGS-$(UCLIBC_LDSO_NAME).so := $(LDFLAGS_NOSTRIP) -Wl,-z,defs endif -LDFLAGS-$(UCLIBC_LDSO_NAME).so += -Wl,-e,_start -Wl,-z,now -Wl,-Bsymbolic \ +LDFLAGS-$(UCLIBC_LDSO_NAME).so += -Wl,-e,$(SYMBOL_PREFIX)_start -Wl,-z,now -Wl,-Bsymbolic \ -Wl,--export-dynamic $(CFLAG_-Wl--sort-common) -Wl,--discard-locals \ $(CFLAG_-Wl--discard-all) -Wl,--no-undefined diff --git a/ldso/ldso/bfin/dl-startup.h b/ldso/ldso/bfin/dl-startup.h index 436f545af..576b8f29f 100644 --- a/ldso/ldso/bfin/dl-startup.h +++ b/ldso/ldso/bfin/dl-startup.h @@ -39,12 +39,7 @@ __asm__( " .text\n" " .global __start\n" " .type __start,@function\n" - /* Build system expects a "_start" for the entry point; - provide it as it's free to do so with aliases. */ " .hidden __start\n" - " .set _start, __start\n" - " .global _start\n" - " .hidden _start\n" "__start:\n" " call .Lcall\n" ".Lcall:\n" diff --git a/ldso/libdl/Makefile.in b/ldso/libdl/Makefile.in index be236c83f..edf95a60a 100644 --- a/ldso/libdl/Makefile.in +++ b/ldso/libdl/Makefile.in @@ -23,7 +23,7 @@ LDFLAGS-$(UCLIBC_FORMAT_DSBT_ELF)-libdl.so := -Wl,--dsbt-index=3 LDFLAGS-libdl.so := $(LDFLAGS) ifeq ($(LDSO_NO_CLEANUP),) -LDFLAGS-libdl.so += -Wl,-fini,dl_cleanup +LDFLAGS-libdl.so += -Wl,-fini,$(SYMBOL_PREFIX)dl_cleanup endif LIBS-libdl.so := $(LIBS) $(ldso) |