search for: assignsectionstoseg

Displaying 2 results from an estimated 2 matches for "assignsectionstoseg".

2015 Jul 06
2
[LLVMdev] [lld] Current ways to position memory sections (e.g. .text, .data, .bss) with lld?
...her into two different segments. Since it puts these two sections (.text > and .data) in the same ELF segment, the segment is forced to be huge > because the start addresses of these sections are far apart from each > other. I would begin by investigating how > TargetLayout<ELFT>::assignSectionsToSegments() works and go from there. > This function lives at lld/lib/ReaderWriter/ELF/TargetLayout.cpp. I don't > believe you can try any other flags to try to get this done without fixing > this logic. > > Rafael Auler > > On Wed, Jul 1, 2015 at 12:00 PM, ed at modk.it <ed...
2015 Jul 01
2
[LLVMdev] [lld] Current ways to position memory sections (e.g. .text, .data, .bss) with lld?
Hi All, Congratulations on the major progress on the llvm linker lld over the past year including the new linker script support. This really makes it possible to ditch binutils altogether. It looks like lld's MEMORY sections are currently parsed but not evaluated, but so far that hasn't been a problem. The only snag is I can't figure out how to define the start of the .data section