[RFC/PATCH] ldso: drop -Wl,-e,_start linking option

Khem Raj raj.khem at gmail.com
Sun Mar 25 16:22:58 UTC 2012

On Sun, Mar 25, 2012 at 12:58 AM, Mike Frysinger <vapier at gentoo.org> wrote:
> On Sunday 25 March 2012 03:23:38 Khem Raj wrote:
>> On Sat, Mar 24, 2012 at 11:58 PM, Mike Frysinger <vapier at gentoo.org> wrote:
>> > The _start symbol is the default entry point for ELFs, so there should be
>> > no need to manually specify this.  The background motivation is that this
>> > causes issues for ports that have a symbol prefix (like Blackfin) and so
>> > they don't have a "_start" symbol -- it's named "__start".
>> on MIPS its also __start unlike others where it is _start
> ok, i'll ponder exposing __USER_LABEL_PREFIX__ to the build system somehow
> then so it automatically selects the right "_start"

if binutils/ld is configured for right emulation (which it should be)
that should take care of it automatically
though so your patch is ok.

More information about the uClibc mailing list