[Bug binutils/3679] sh_entsize not set for .rel.dyn cause an assert to detonate with mips-linux-elf-ld -shared -q
-- What|Removed |Added Summary|sh_entsize not set for |sh_entsize not set for |.dyn.rel cause an assert to |.rel.dyn cause an assert to
[Bug binutils/3679] New: sh_entsize not set for .dyn.rel cause an assert to detonate with mips-linux-elf-ld -shared -q
I have an assert detonating in bfd/elflink.c with the following code linked with mips-linux-elf-ld -shared -q: main.c: /* 'a' goes into .data */ int a = 1; /* 'b' goes into .rodata and creates a reloc for .rodata against .data */ const int *b = &a; when linking with mips-linux-elf-ld version