https://sourceware.org/bugzilla/show_bug.cgi?id=26583
Bug ID: 26583 Summary: erroneous address relocation: Mircrosoft COFF .BSS 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 12820 --> https://sourceware.org/bugzilla/attachment.cgi?id=12820&action=edit GITHUB download GNU-ld-for-MicrosoftCOFF-to-LinuxELF Hi all, when using uninitialized global variables (that are placed in the .BSS section) 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 .BSS bug: https://github.com/KilianKegel/GNU-ld-for-MicrosoftCOFF-to-LinuxELF#bss-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.