Created attachment 12821 [details] 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
Dup *** This bug has been marked as a duplicate of bug 26583 ***