[LLVMbugs] [Bug 12304] New: ARM: invalid relocation type used for conditional BL instructions
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Mar 19 06:28:20 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12304
Bug #: 12304
Summary: ARM: invalid relocation type used for conditional BL
instructions
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: mans at mansr.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 8233
--> http://llvm.org/bugs/attachment.cgi?id=8233
Use proper fixup kind for conditional BL
Since r151571, BL instructions are given R_ARM_CALL relocations, which is not
allowed for conditional BL. This results in the wrong instruction ending up in
linked executables/libs, leading to obscure runtime crashes.
The attached patch reverts conditional BL instructions to the old behaviour.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list