[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/12627] New: ld from binutils 2.21.51.0.6 mishandles differ
From: |
hpa at zytor dot com |
Subject: |
[Bug binutils/12627] New: ld from binutils 2.21.51.0.6 mishandles differences between two section-relative symbols |
Date: |
Thu, 31 Mar 2011 01:21:23 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12627
Summary: ld from binutils 2.21.51.0.6 mishandles differences
between two section-relative symbols
Product: binutils
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: address@hidden
ReportedBy: address@hidden
Created attachment 5344
--> http://sourceware.org/bugzilla/attachment.cgi?id=5344
Linker script
Defining two section-relative symbols in a linker script and subtracting them
produces the wrong result (specifically, they end up with the section base
added in.)
See attached test case; in particular, %ecx gets 0x500 loaded into it instead
of the expected 0x100.
--
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/12627] New: ld from binutils 2.21.51.0.6 mishandles differences between two section-relative symbols,
hpa at zytor dot com <=
- [Bug binutils/12627] ld from binutils 2.21.51.0.6 mishandles differences between two section-relative symbols, hpa at zytor dot com, 2011/03/30
- [Bug binutils/12627] ld from binutils 2.21.51.0.6 mishandles differences between two section-relative symbols, hjl.tools at gmail dot com, 2011/03/30
- [Bug binutils/12627] ld from binutils 2.21.51.0.6 mishandles differences between two section-relative symbols, hjl.tools at gmail dot com, 2011/03/31
- [Bug binutils/12627] ld from binutils 2.21.51.0.6 mishandles differences between two section-relative symbols, hjl.tools at gmail dot com, 2011/03/31
- [Bug binutils/12627] ld from binutils 2.21.51.0.6 mishandles differences between two section-relative symbols, hjl.tools at gmail dot com, 2011/03/31