[llvm-commits] [PATCH] ARM: conditional BL should use fixup_arm_condbranch

Tim Northover Tim.Northover at arm.com
Mon Mar 26 08:51:10 PDT 2012


On Friday 23 Mar 2012 00:04:52 Måns Rullgård wrote:
> By using the same fixup kind for both, the distinction is lost in the
> object writers.  Perhaps adding another fixup kind for conditional calls
> (fixup_arm_condbl?) would be a solution.  The Mach-o writer could handle
> this identically to fixup_arm_bl, while the ELF writer would select the
> appropriate relocation type.  To me this seems cleaner than littering
> the otherwise generic code emitter with platform-specifics.

We've also hit this issue, it causes fairly widespread regressions on ELF 
runtime tests.

I'd tend to agree that's a better fix and I've attached a patch following that 
route. Could someone review it please?

Regards.

Tim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: condcall_fixup.patch
Type: text/x-patch
Size: 5291 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120326/83efbbf9/attachment.bin>


More information about the llvm-commits mailing list