public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* linkscript questions
@ 2006-07-08  7:14 Dave Murphy
  2006-07-08 13:47 ` Daniel Jacobowitz
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Murphy @ 2006-07-08  7:14 UTC (permalink / raw)
  To: binutils

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.

Dave

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: linkscript questions
  2006-07-08  7:14 linkscript questions Dave Murphy
@ 2006-07-08 13:47 ` Daniel Jacobowitz
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2006-07-08 13:47 UTC (permalink / raw)
  To: Dave Murphy; +Cc: binutils

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-08 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-08  7:14 linkscript questions Dave Murphy
2006-07-08 13:47 ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).