This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Porting binutils to Amiga Unix


On Feb 15 2017, Mack Wallace <mackbw@mapinternet.com> wrote:

> My understanding has been that Amiga Unix uses the elf format for
> binaries. Looking at some binaries on the system, they begin with the
> magic number 7F. Wondering if the information I require could be gleaned
> by readelf, I downloaded the earliest copy of binutils that has that. I
> was able to compile readelf and its dependencies. Looking at some
> binaries, the “Entry Point Address” is something greater than 0x80000000
> (I’ve seen addresses of 0x800000f94, 0x80000117c, 0x8000027d0). This is a
> guess, but using m68kelf.sh in emulparameters as a starting point:
> TEXT_START_ADDR=0x80000000? For both paged and non-paged?

I think you should be able to use m68kelf.sh unchanged.  It is also used
on m68k-linux, whose ELF support was based on SVr4 (with a few
peculiarities due to it's heritage which was based on the SunOS a.out
configuration).

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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