bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/6727] Thumb interworking code zero when another section is posit


From: adsouzp at netscape dot net
Subject: [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text
Date: 8 Jul 2008 08:07:32 -0000

------- Additional Comments From adsouzp at netscape dot net  2008-07-08 08:07 
-------
i narrowed down the exact situation when Thumb interworking code is zero.

- when you position any section, say .data, before you position .text
  using --section-start or -Tdata for other sections and -Ttext for .text,
- when Thumb interworking is enabled
- when --gc-sections is enabled

at that time, Thumb interworking code is zero.
it does not matter if the offending section is finally garbage collected or not.

WORKAROUND
- position .text before .data/other section on ld command line.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Thumb interworking code zero|Thumb interworking code zero
                   |under certain circumstances |when another section is
                   |                            |positioned before
                   |                            |positioning .text


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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]