bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/26583] New: erroneous address relocation: Mircrosoft COFF .BSS l


From: minnowware at hotmail dot com
Subject: [Bug ld/26583] New: erroneous address relocation: Mircrosoft COFF .BSS linked to .ELF using ld
Date: Tue, 08 Sep 2020 11:57:42 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]