[lld] r263664 - [ELF] SHF_MERGE section with 0 entsize is not fatal

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 20:30:24 PDT 2016


On 17 March 2016 at 01:27, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> BTW, how are these files being produced in freebsd?

Ah, it appears that these sh_entsize == 0 objects are being produced
by lld -r (on i386).

% ld.lld -o crt1.o -r crt1_s.o crt1_c.o

crt1_s.o:
  [ 4] .comment          PROGBITS        00000000 00004d 00000b 01  MS  0   0  1
crt1_c.o
  [ 4] .comment          PROGBITS        00000000 0001ca 000071 01  MS  0   0  1
crt1.o:
  [ 8] .comment          PROGBITS        00000000 000308 00005d 00  MS  0   0  1


More information about the llvm-commits mailing list