This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Why has MIPS data 'segment' load address has changed...
- From: David Daney <ddaney at avtrex dot com>
- To: "Maciej W. Rozycki" <macro at linux-mips dot org>, Thiemo Seufer <ths at networkno dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 17 Aug 2005 14:59:24 -0700
- Subject: Re: Why has MIPS data 'segment' load address has changed...
- References: <4303A2C3.7000006@avtrex.com>
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.