[GOLD][PATCH] predefined segment symbol _begin

Viktor Kutuzov vkutuzov@accesssoftek.com
Thu Feb 11 00:41:00 GMT 2010


I'm not sure. I have checked the ld scripts, but I didn't find anything
related with it. I looked for the _begin definition in the ld sources
and I got the same result. It looks strange for me, but anyway.
I seen that the _end and _etext symbols were resolved during the build,
but _begin wasn't and I added this description accordingly.

-Viktor.

On Wed, 2010-02-10 at 16:11 -0800, Ian Lance Taylor wrote:
> Viktor Kutuzov <vkutuzov@accesssoftek.com> writes:
> 
> > Please find attached patch, which adds an additional predefined segment
> > symbol _begin.
> >
> > This is used, for example, in the glibc build.
> 
> I don't see anything in the GNU linker which defines a _begin symbol.
> 
> Are you sure it isn't coming from a linker script?
> 
> Ian




More information about the Binutils mailing list