[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] Mach-O BFD back-end
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] Mach-O BFD back-end |
Date: |
30 Oct 2003 22:15:22 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings!
Where do you get documentation for this stuff?
Take care,
Aurelien Chanudet <address@hidden> writes:
> > I'm just wondering now if macosx happens to use a gp pointer in its
> > relocation logic. An example implementation of
> > bfd_get_relocated_section_contents on such a machine would likely
> open
> > up in one step all the remaining others. My guess though is that
> > macosx is closer to ppc linux instead.
>
> To keep a long story short: no, it does not. I guess you're referring
> to the gp register that points to the GOT (Global Offset Table) in
> ELF.
> The primary difference between Mach-O and ELF is that Mach-O code
> references
> data using a direct offset, while ELF indirects all data access
> through
> the global offset table.
>
> Aurelien_______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah