[PATCH 2/4] LD: Support fixed-size sections some psABIs may require

Nick Clifton nickc@redhat.com
Mon Feb 5 17:27:00 GMT 2018


Hi Maciej,

>  A warning might make sense, although given how linker processing is done 
> it would require keeping track of section size update attempts and only 
> issue the warning if the final one ends up with a size mismatch.  I'll see 
> if I can look into it, but given my other commitments right now I may not 
> be able to do anything about it.

No worries - I do not see this as being a critical requirement.

>> Hmm, actually, going one step further - do we need to support a FIXED_SIZE(<vale>)
>> section attribute for linker scripts, so that these sections can be defined 
>> there too ?
> 
>  I don't know, I would have to think about a use case.  Maybe someone else 
> can chime in.

If someone does then I am willing to investigate implementing the enhancement.
But I suspect that no-one will be really bothered about this, so it can remain
on the wish list for that day when I have run out of other things to do.

Cheers
  Nick




More information about the Binutils mailing list