This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/19139] New: data referenced as short misplaced in non-short linkonce section
- From: "jbeulich at novell dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Dec 2004 14:53:09 -0000
- Subject: [Bug target/19139] New: data referenced as short misplaced in non-short linkonce section
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
.gnu.linkonce.* sections never get the SECTION_SMALL attribute set, but items
small enough and placed therein will still be referenced through gprel22 (i.e.
without going through the linkage table).
A simple solution could be to have IA64 have a custom TARGET_SECTION_TYPE_FLAGS
handler so that the the SECTION_SMALL flag can get properly set. This would also
allow to not depend on a not ABI-mandated assembler feature marking .tdata.* and
.tbss.* sections (as seen with -f{function,data}-sections) as short.
--
Summary: data referenced as short misplaced in non-short linkonce
section
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jbeulich at novell dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19139