tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gcc-4.8 + ld issue for standalone programs



On Sat, Jan 04, 2014 at 01:59:47AM +0100, Rhialto wrote:
> On Fri 03 Jan 2014 at 22:38:29 +0000, David Laight wrote:
> > However it might also be worth adding:
> >     *(.text.first)
> > or similar name (.text.entrypoint ?) line right at the top.
> 
> There is already a 
> 
> > >     *(.text.startup .text.startup.*)
> 
> could it be it was meant for the same thing but by oversight ended up in
> the middle?

My guess is that is for code that is executed during startup (eg global
constructors).

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index