This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Porting binutils to Amiga Unix
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Mack Wallace <mackbw at mapinternet dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 16 Feb 2017 10:46:59 +0100
- Subject: Re: Porting binutils to Amiga Unix
- Authentication-results: sourceware.org; auth=none
- References: <CFEDEDC3-E90C-4048-8141-A6A709B51861@mapinternet.com>
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."