From: Jim Wilson <wilson@specifix.com>
To: 김민찬 <barrioskmc@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Who know latest Linux/MIPS ABI ?
Date: Fri, 16 Feb 2007 10:50:46 -0800 [thread overview]
Message-ID: <1171651846.2577.18.camel@localhost.localdomain> (raw)
In-Reply-To: <000701c750a3$24ecf9b0$8aab580a@swcenter.sec.samsung.co.kr>
On Thu, 2007-02-15 at 10:46 +0900, 김민찬 wrote:
> I hope I get a latest MIPS ABI and ELF Spec on Linux/MIPS.
> Who know where I get it?
There is some documentation available from SGI. Try
http://docs.sgi.com
You start by searching for ABI, but there may also be other docs you
want to look at. There may also be relevant documentation available
from MIPS. Try them also.
http://www.mips.com
and then hunt around for documentation.
You can find good info on calling conventions in these places, but you
aren't going to find good info on low level stuff like object file
formats. For that, you will probably need to read code. You have two
basic choices here.
1) Buy an SGI Irix5 and/or Irix6 machine, and start reading header files
in /usr/include. Irix5 has ECOFF and ELF o32 support. Irix6 has ELF
o32, n32, and n64 support.
2) Start reading the MIPS bfd support in GNU binutils.
jcr is a gcc feature for java. Something like "java class record". It
should be safe to ignore it unless you are using java. This isn't MIPS
specific.
pdr is procedure descriptor record. It is a left over from the SGI
Irix5 ECOFF days, which SGI carried forward into their ELF
implementation, and which was copied by the GNU and linux tools.
For MIPS.stubs, that one I didn't know, I had to look it up. The bfd
comments say it is for dynamic linking, so that function pointer
comparisons work correctly for functions defined in shared libraries.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com
next prev parent reply other threads:[~2007-02-16 18:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-15 1:46 Who know latest Linux/MIPS ABI ? 김민찬
2007-02-15 1:46 ` 김민찬
2007-02-15 12:34 ` Ralf Baechle
2007-02-16 18:50 ` Jim Wilson [this message]
2007-02-16 19:01 ` Jim Wilson
2007-02-16 20:27 ` regan
2007-02-16 22:31 ` Jim Wilson
2007-02-16 23:35 ` Thiemo Seufer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1171651846.2577.18.camel@localhost.localdomain \
--to=wilson@specifix.com \
--cc=barrioskmc@gmail.com \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.