This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 05/19] PRU LD Port


On сряда, 14 декември 2016 г. 11:59:33 EET Alan Modra wrote:
> On Mon, Dec 05, 2016 at 10:42:20PM +0200, Dimitar Dimitrov wrote:
> > +  /* Internal text space.  */
> > +  .text ${RELOCATING-0} :
> > +  {
> > +    ${RELOCATING+ __text_start = . ; }
> > +
> > +    ${RELOCATING+. = ALIGN(4);}
> > +
> > +    *(.init0)  /* Start here after reset.  */
> 
> A lot of other embedded scripts get this wrong too.  Do you really
> want .init0 section to be mashed into .text for ld -r?  Ditto for
> other .init*/.fini* sections, and .text.*?
I agree, init0 should not be merged for ld -r. Could you recommend a good 
embedded script that I may use as a reference?

Thanks,
Dimitar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]