This is the mail archive of the
mailing list for the binutils project.
Re: bfd_get_relocated_section_contents on hppa and ia64
- From: Camm Maguire <camm at maguirefamily dot org>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sourceware dot org, gcl-devel at gnu dot org
- Date: Wed, 14 Apr 2010 12:10:46 -0400
- Subject: Re: bfd_get_relocated_section_contents on hppa and ia64
- References: <E1NaaJq-0006Ia-OP@localhost.m.enhanced.com> <4B62BD4E.firstname.lastname@example.org> <email@example.com> <4B67F17B.firstname.lastname@example.org>
Nick Clifton <email@example.com> writes:
>> On ia64, hppa, the relocation algorithm terminates in the error shown,
>> which I will try to detail on bugzilla. I don't believe this is a
>> programming error, rather this routine was never written for these
>> cpu's because it is never used by the linker. This is my
>> understanding only.
> Fair enough. By the way are you aware that the readelf program has
> its own relocation processing code which is a lot simpler and might be
> more suitable for your application ? (Currently this code is not
> exported in a library but that could be changed).
Had a look and it appears very clean. To your knowledge, are there
any current platforms supporting open source software besides Windows
and Mac OSX which *do not* use elf? I think the former is coff, but
in any case we have a "roll your own" reloc solution there. Also some
darwin specific bfd modification code I mentioned earlier for Mac
OSX. But it would appear the the many other non-elf bfd-supported
target formats are defacto legacy at present. True?
Camm Maguire firstname.lastname@example.org
"The earth is but one country, and mankind its citizens." -- Baha'u'llah