elf64lppc: ld script template

Peter Bergner bergner@vnet.ibm.com
Thu May 14 21:05:00 GMT 2015


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




More information about the Binutils mailing list