http://sourceware.org/bugzilla/show_bug.cgi?id=13288
--- Comment #1 from Cary Coutant <ccoutant at google dot com> 2011-10-12 22:11:42 UTC --- With --map-whole-files, gold doesn't bother to check that the requested view is wholly contained within the file. With --no-map-whole-files, we get the expected error: $ ./ld-new --no-map-whole-files -r foo-truncated.o ./ld-new: fatal error: foo-truncated.o: attempt to map 24 bytes at offset 1192 exceeds size of file; the file may be corrupt -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- 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