Why has MIPS data 'segment' load address has changed...

David Daney ddaney@avtrex.com
Wed Aug 17 22:00:00 GMT 2005


David Daney wrote:
> I have noticed that between 2.16.1 and CVS-HEAD that the load address 
> for data has changed.
> 
> In the olden days (2.16.1 and before) the RW LOAD segment was always 
> loaded at 0x10000000.  In the modern world (cvs HEAD) it loads 
> immediately after the text segment.
> 
> The executables generated seem to run fine (on mipsel-linux), but it 
> causes some ld testsuite failures.
> 
> Two questions:
> 
> Q1) Is this intentional?
> 

I will answer my own question: Yes.

> If so, I will fix some of the testsuite failures related to the change.
> 

I will fix the testsuite failures canused by the change.

> Q2) Where is this controlled?  I am haveing difficulty following how the 
> linker scripts are generated for this part.

This is the patch that did it:

http://sourceware.org/ml/binutils/2005-05/msg00712.html

David Daney.



More information about the Binutils mailing list