mold produces binaries with non-contiguous .rodata and .rodata.xxx
sections. The code that merges their addresses can only handle 1
rodata which means only contiguous sections can be merged.
Since this now seems to be a "normal" case I've changed the warning
message to be a SYMTAB_TRACE message.
478211 Redundant code for vgdb.c and Valgrind core tools
478624 Valgrind incompatibility with binutils-2.42 on x86 with new nop patterns
(unhandled instruction bytes: 0x2E 0x8D 0xB4 0x26
+478837 valgrind fails to read debug info for rust binaries
n-i-bz Add redirect for memccpy
To see details of a given bug, visit
if (svma == tmp) { /* adjacent to previous .rodata* */
di->rodata_size = size + tmp - di->rodata_svma;
} else {
- BAD(".rodata"); /* is OK, but we cannot handle multiple .rodata* */
+ /* is OK, but we cannot handle multiple .rodata* */
+ TRACE_SYMTAB("%s section avma = %#lx .. %#lx is not contiguous, not merged\n",
+ name,
+ di->rodata_avma,
+ di->rodata_avma + di->rodata_size - 1);
}
}
if (inrx) {