[PATCH] D27516: [ELF] - Place ".text" to be first section if -Ttext is used.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 06:28:48 PST 2016


George Rimar <grimar at accesssoftek.com> writes:

> So both linkers set PT_LOAD address to 0x0. If I do -Ttext=0x30000 for example,
> gold and bfd set .text to 0x30080 and 0x30000, but again both set PT_LOAD address to exactly 0x30000.

I think bfd sets the section address, gold the segment. We would
probably try to do what bfd does.

Cheers,
Rafael


More information about the llvm-commits mailing list