http://sourceware.org/bugzilla/show_bug.cgi?id=13130
Bug #: 13130 Summary: ld does not truncate section names in PE-COFF sections Product: binutils Version: 2.20 Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassig...@sources.redhat.com ReportedBy: s...@tinctorius.net Classification: Unclassified Under circumstances unfortunately unknown to me, ld 2.20 can create a PE-COFF image whose section table contains "long names" (a reference to an item in the image's string table, instead of an 8-byte name). This is not allowed by the PE-COFF specification. Quoting the 8th version: Executable images do not use a string table and do not support section names longer than 8 characters. Long names in object files are truncated if they are emitted to an executable file. I found out about this behaviour while digging in libcairo-script-interpreter-2.dll from a 64-bit prebuilt GTK+ bundle (gtk+-bundle_2.22.1-20101229_win64). I'm sorry I can't give a more precise bug report. I wouldn't know what linking flags were used or what objects were fed to ld, because I didn't build the code. -- 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