This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: MIPS question: _gp = (. + 0x8000);
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Michael Anburaj <embeddedeng at hotmail dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 20 Feb 2004 19:32:08 +0000
- Subject: Re: [ECOS] MIPS question: _gp = (. + 0x8000);
- References: <BAY12-F78IUP3Vkifff00001e60@hotmail.com>
Michael Anburaj wrote:
Hi Jonathan,
Thanks a lot for your response. That was very helpful.
I have a small question related to this.
From YAMON's (mips's ROM monitor) linker scrip:
_gp = ABSOLUTE(. + 0x7ff0);
Is there a good reason to pick 0x7ff0 or any other offset instead of
0x8000?
I think it's to do with compatibility with existing ABIs. Best to go with
what's usual and in fact yes it looks like 0x7ff0 is normally preferred to
0x8000.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
>>>>> Visit us in booth 2527 at the Embedded Systems Conference 2004 <<<<<
March 30 - April 1, San Francisco http://www.esconline.com/electronicaUSA/
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss