diff options
author | Filippo Arcidiacono <filippo.arcidiacono@st.com> | 2012-05-08 15:42:48 +0200 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2012-05-18 09:04:11 +0200 |
commit | f8111809bae5bfe384bbbf59d59eb6ee4b16ec7f (patch) | |
tree | d45cbb1190ad7c856d35961c61832b47440fd6f1 /ldso/ldso/ldso.c | |
parent | ca2223f6b74b03d285370a92849af7cdf059ffb2 (diff) |
ldso: sh: handle _dl_skip_args in linker startup instead of __uClibc_main
Handle _dl_skip_args in the asm part of the dynamic linker startup,
to skip the ldso arguments, so we can keep this symbol hidden as other archs do.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'ldso/ldso/ldso.c')
-rw-r--r-- | ldso/ldso/ldso.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index 85d27a3d1..8cfb03f9a 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -77,17 +77,7 @@ char *_dl_debug_bindings = NULL; int _dl_debug_file = 2; #endif -#if defined (__LDSO_STANDALONE_SUPPORT__) && defined (__sh__) -/* Not hidden, needed for standalone execution. */ -/* - * FIXME: align dl_start for SH to other archs so that we can keep this symbol - * hidden and we don't need to handle in __uClibc_main - */ - -unsigned long _dl_skip_args = 0; -#else unsigned long attribute_hidden _dl_skip_args = 0; -#endif const char *_dl_progname = UCLIBC_LDSO; /* The name of the executable being run */ #include "dl-startup.c" |