https://sourceware.org/bugzilla/show_bug.cgi?id=26584
Bug ID: 26584 Summary: erroneous address relocation: Microsoft COFF OPTIMIZED code linked to .ELF using ld Product: binutils Version: 2.34 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: minnowware at hotmail dot com Target Milestone: --- Created attachment 12821 --> https://sourceware.org/bugzilla/attachment.cgi?id=12821&action=edit GITHUB download GNU-ld-for-MicrosoftCOFF-to-LinuxELF Hi all, I have seen, when enabling compiler optimizations that for structure elements the linker assigns wrong addresses in the .ELF binary. >From the same .OBJ the Microsoft LINK.EXE assigns correct addresses in the .EXE binary. I have created a comprehensive documentation on my GITHUB account for that particular OPTIMIZATION bug: https://github.com/KilianKegel/GNU-ld-for-MicrosoftCOFF-to-LinuxELF#optimization-bug All .OBJ, .EXE, .ELF, .DIS (disassembler), .MAP files are kept there. This is the one single bug already reported in https://sourceware.org/bugzilla/show_bug.cgi?id=26547 Regards, Kilian -- You are receiving this mail because: You are on the CC list for the bug.