[Bug ld/19541] Format reader for ILF format (used by MSVC-generated import libraries) does not properly handle data imports

2016-02-05 Thread njs at pobox dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19541 --- Comment #5 from Nathaniel J. Smith --- Can the test suite include binary files? Two tests I can think of would be: 1) Include the ILF file; run objdump on it; confirm that the appropriate symbols appear. 2) Include the ILF file + a

[Bug ld/19541] Format reader for ILF format (used by MSVC-generated import libraries) does not properly handle data imports

2016-01-31 Thread njs at pobox dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19541 --- Comment #3 from Nathaniel J. Smith --- Created attachment 8946 --> https://sourceware.org/bugzilla/attachment.cgi?id=8946=edit Tiny ILF file with DATA symbol for testing Attaching an example ILF-format import member, extracted from a

[Bug ld/19541] Format reader for ILF format (used by MSVC-generated import libraries) does not properly handle data imports

2016-01-31 Thread njs at pobox dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19541 --- Comment #2 from Nathaniel J. Smith --- Update: on further investigation my helpful tester reports that their segfault problem was an unrelated configuration error that they made; once they sorted that out then all was well. So, I'm now

[Bug ld/19541] Format reader for ILF format (used by MSVC-generated import libraries) does not properly handle data imports

2016-01-30 Thread njs at pobox dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19541 --- Comment #1 from Nathaniel J. Smith --- Created attachment 8943 --> https://sourceware.org/bugzilla/attachment.cgi?id=8943=edit First attempt at a patch -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/19541] New: Format reader for ILF format (used by MSVC-generated import libraries) does not properly handle data imports

2016-01-30 Thread njs at pobox dot com
: unspecified Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: njs at pobox dot com Target Milestone: --- On Windows, there are two formats for "import libraries"