This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MIPS question: _gp = (. + 0x8000);


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]