[PATCH v1 0/7 SECTOR: Support aligning to flash sector boundary

Michael Matz matz@suse.de
Mon Mar 13 13:12:23 GMT 2023


Hello,

On Fri, 10 Mar 2023, Ulf Samuelsson wrote:

> Since the proposal defines the begin, end and size of a sector as symbols,
> you can do already today.
> . = ALIGN(”bank00#04#size”).
> Right now, the symbols are defined late, but that is easily changed.

You argued that one point of you introducing the ALLOCATE_SECTOR directive 
was that it naturally dependend on dot, exactly so that the user does 
_not_ have to deal with the artificial names.

So, a builtin function (however implemented) that actually gets you that 
very size for a given address makes the most sense IMHO.


Ciao,
Michael.


More information about the Binutils mailing list