This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: elf64lppc: ld script template
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Breno Leitao <brenohl at br dot ibm dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 14 May 2015 16:05:04 -0500
- Subject: Re: elf64lppc: ld script template
- Authentication-results: sourceware.org; auth=none
- References: <555503A0 dot 2090500 at br dot ibm dot com>
On Thu, 2015-05-14 at 17:20 -0300, Breno Leitao wrote:
> Hi there,
>
> I am working to try to enable Erlang HIPE for ppc64le ABI, and they use a specific
> loader script file during the build, as:
>
> # ld -m elf64ppc -T hipe/elf64ppc.x ....
>
> The elf64ppc.x file could be found at [1], and I willing to create a elf64lppc.x
> file to specific the new ABi.
>
> That said, I am wondering if there is a template I can look at, or some file to
> guide me on creating this new file.
That looks like a hacked (or just old?) default linker script. If you
want a base to start with, grab the default linker script used on a LE
system. You can get that via:
linux$ ld --verbose > elf64lppc.x
Peter