barebox.lds.S, why _edata not follows the end of .data section?

Alexander Aring alex.aring at gmail.com
Mon Oct 14 09:48:52 EDT 2013


Hi,

On Mon, Oct 14, 2013 at 09:02:49PM +0800, Kevin Du Huanpeng wrote:
> Hi, in the linker script,
> > _sdata = .;
> >. = ALIGN(4);
> > .data : { *(.data*) }
> ? why _edata is not here?

Yes it could be there. I added this to the linker script because I
needed all sdram_regions for barebox to jump over all barebox memory
regions in memtest.

Another solution would be to add a another region for barebox_cmds or
something else, but I though that can be located in data, too.

- Alex



More information about the barebox mailing list