search for: commitsect

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

Did you mean: commitment
2020 Mar 30
2
LLD bug causing objcopy ELF to binary generation to create large binaries
...ot; The ELF size is actually smaller, compared to what was generated from LLVM 7.x. (~900Kb vs ~250Kb) When we run llvm-objcopy -O Binary blah.elf blah.bin, it would generate a 400Mb binary file. I presume the `noload` flag used in `InputSection` is not properly enforced throughout the code. CommitSection is not applied to .heap and .stack section as I can recall during my debug.... .stack (NOLOAD) :ALIGN(4) { _StackLow =.; . +=_STACK_SIZE; /* Multiple of 4, asserted above. */ _StackHigh =.; _StackLowIrq =.; . +=_IRQ_STACK_SIZE; /*...
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