[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/6727] New: Thumb interworking code zero under certain circumstan
From: |
adsouzp at netscape dot net |
Subject: |
[Bug ld/6727] New: Thumb interworking code zero under certain circumstances |
Date: |
8 Jul 2008 07:51:04 -0000 |
PROBLEM DESCRIPTION
under certain circumstances, Thumb interworking code is not
generated correctlyby GNU LD. it is full of NULLs.
with arm-elf-ld:
- if you have --gc-sections enabled
- if you have asm in ARM mode with -mthumb-interwork
- asm code contains an "ax" section .VhaInit with instructions
- if you have a C file in Thumb mode -mthumb with -mthumb-interwork
- if asm code is positioned before C generated code
using --section-start whereas .text is positioned later with -Ttext
- if you prevent garbage-collection of .VhaInit using instructions
from .text to access .VhaInit
then, the thumb interworking code is zero.
WORKAROUND
the interworking code is generated correctly if you place -Ttext before
--section-start.
--
Summary: Thumb interworking code zero under certain circumstances
Product: binutils
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: adsouzp at netscape dot net
CC: bug-binutils at gnu dot org
GCC host triplet: CYGWIN_NT-5.1 jenny 1.5.25(0.156/4/2) 2008-06-12 19:34
i686 Cygw
GCC target triplet: ARM ELF arm7tdmi armv4t
http://sourceware.org/bugzilla/show_bug.cgi?id=6727
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/6727] New: Thumb interworking code zero under certain circumstances,
adsouzp at netscape dot net <=
- [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text, adsouzp at netscape dot net, 2008/07/08
- [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text, adsouzp at netscape dot net, 2008/07/08
- [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text, adsouzp at netscape dot net, 2008/07/08
- [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text, nickc at redhat dot com, 2008/07/09
- [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text, adsouzp at netscape dot net, 2008/07/14
- [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text, adsouzp at netscape dot net, 2008/07/17
- [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text, nickc at redhat dot com, 2008/07/21
- [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text, adsouzp at netscape dot net, 2008/07/23
- [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text, adsouzp at netscape dot net, 2008/07/23