Displaying 2 results from an estimated 2 matches for "d76981".
2020 Mar 30
2
LLD bug causing objcopy ELF to binary generation to create large binaries
...onfig->emachine, type));
type = SHT_PROGBITS;
}
}
if (noload)
type = SHT_NOBITS;
However, having said that, I think the following fix (although not the
cleanest nor addresses any shortcommings in other parts of the code)
seems to fix my issue.
https://reviews.llvm.org/D76981
I'm also hoping to get involve in the LLVM development in near future.....
regards
Kasun
On 30/3/20 9:50 pm, Andrew Ng wrote:
> Hi Kasun,
>
> The purpose of commit ccba42c7eb3cdfe7824cd4b473a9688e5738fa3a was to
> fix an issue that was causing incorrect segment file offset al...
2020 Mar 29
2
LLD bug causing objcopy ELF to binary generation to create large binaries
Hi LLVM devs,
I came across an LLD bug in v 10.x where ELF parser / processor is
setting .PROGBITS attribute for .heap and .stack sections, which leads
to large binaries when we do `llvm-objcopy -o binary` to generate the
binary output for armv6m. (e.g. for a 57Kb elf would yield a ~400Mb
binary).
This in comparison with LLVM 7.x , would produce the correct binary size
of 35Kb and the