bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/14196] New: gold mistreats -Wl,-Ttext


From: phcoder at gmail dot com
Subject: [Bug gold/14196] New: gold mistreats -Wl,-Ttext
Date: Mon, 04 Jun 2012 10:08:11 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14196

             Bug #: 14196
           Summary: gold mistreats -Wl,-Ttext
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden
    Classification: Unclassified


Namely the minimal testcase is:
gcc -o 1.img -ffreestanding -Wl,-Ttext,0x8200 1.S -nostdlib -m32
The resulting file has .text at 9200 and not 8200
1.S:
.text

.globl _start
_start:

Because of this GRUB is miscompiled if attempting to link with gold

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]