linkscript questions

Daniel Jacobowitz drow@false.org
Sat Jul 8 13:47:00 GMT 2006


On Sat, Jul 08, 2006 at 08:13:55AM +0100, Dave Murphy wrote:
> Hi
> 
> Is there somewhere I can find a list of which sections need to be in 
> writable memory for arm-eabi? I'm building code for a  device which 
> starts from ROM and copies .data to RAM and I'm seeing failures during 
> __libc_init_array. Building code that runs entirely in RAM works fine so 
> I guess I'm putting something in ROM space that needs to be writable.

In general anything marked as writable in the ELF file needs to be in
writable memory; try readelf -S?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list