https://sourceware.org/bugzilla/show_bug.cgi?id=16980
Bug ID: 16980 Summary: gold produces incomplete -M (map) output Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ian at airs dot com Reporter: ppluzhnikov at google dot com CC: ccoutant at google dot com Using current trunk: echo "int main() {}" | g++ -g -xc++ - -o /tmp/t -B/tmp/ld-gold -Wl,-Map=/tmp/map-gold readelf -WS /tmp/t | grep debug_line [31] .debug_line PROGBITS 0000000000000000 001156 00003a 00 0 0 1 grep debug_line /tmp/map-gold ... no output. Where did the debug_line in /tmp/t come from? Contrast this with BFD-ld: echo "int main() {}" | g++ -g -xc++ - -o /tmp/t -B/tmp/ld-bfd -Wl,-Map=/tmp/map-bfd readelf -WS /tmp/t | grep debug_line [30] .debug_line PROGBITS 0000000000000000 00110d 00003a 00 0 0 1 grep debug_line /tmp/map-bfd .debug_line 0x0000000000000000 0x3a *(.debug_line .debug_line.* .debug_line_end) .debug_line 0x0000000000000000 0x3a /tmp/cceom6fx.o -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils