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: elf64lppc: ld script template


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



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