[crosstool-ng] [patch] glibc-2.9 patch for "undefined reference to `_begin'
Nye Liu
nyet@mrv.com
Fri Mar 27 23:38:00 GMT 2009
On Fri, Mar 27, 2009 at 04:17:46PM -0700, Nye Liu wrote:
> i have no idea why this is needed for me.
>
> for some reason the output of
>
> "powerpc-860-linux-gnu-gcc -nostdlib -nostartfiles -shared -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -Wl,-z,defs -Wl,--verbose"
>
> isn't doing the right thing with respect to generating the
> ". = 0 + SIZEOF_HEADERS;" line.
>
> Not sure what other targets this affects.
>
> Anybody else see this?
The line i see instead is:
. = SEGMENT_START("text-segment", 0) + SIZEOF_HEADERS;
I can't imagine this is 860 (or even powerpc) specific.
Probably binutils specific:
GNU ld (Linux/GNU Binutils) 2.19.51.0.2.20090204
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list