steven james <[EMAIL PROTECTED]> writes:

> Greetings,
> 
> The size in the ldscripts is controlled by ROM_IMAGE_SIZE in the mainboard
> config file. With care, it should be changable, but there is a good bit of
> magic in there (I'm trying to get rid of some of that in the boards I
> have, but it is slow going and some of it is hard to get rid of). 
> 
> Of course, if the selected size is too small, bad things happen (I don't
> know if it will build a broken image, or just fail to build).

It will just fail to build. So it is safe to set ROM_IMAGE_SIZE
arbitrarily small. 

> The thing is, a build where ionly the actual size needed gets used
> presents some real problems for getting target addresses right. 

Thinking about it the only way that might work is to link the
entire rom image into a .o file.  And then compute what the start
address would need to be.  And then do a final link to the rom image.

Eric

_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to