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

2012-06-04 Thread phcoder at gmail dot com
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: i...@airs.com
ReportedBy: phco...@gmail.com
CC: ccout...@google.com
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


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

2012-06-04 Thread phcoder at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14196

--- Comment #2 from Vladimir Serbinenko  2012-06-04 
15:30:08 UTC ---
It looks like I need to retest. It was probably some old gold version.

-- 
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.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils