[LLVMbugs] [Bug 24095] New: MIPS integrated assembler no longer supports backwards branches in macros
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jul 12 05:20:10 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24095
Bug ID: 24095
Summary: MIPS integrated assembler no longer supports backwards
branches in macros
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Backend: MIPS
Assignee: unassignedbugs at nondot.org
Reporter: csdavec at swan.ac.uk
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Reduced test case:
.macro MACRO
0:
lui $t8, %hi(%neg(%gp_rel(0b)))
.endm
foo:
MACRO
Assembles to:
0: 3c 18 00 00 lui $24, 0
0000000000000000: R_MIPS_GPREL16/R_MIPS_SUB/R_MIPS_HI16
$tmp00
This then causes undefined references to $tmp00 at link time.
This pattern is fairly common in assembly macros, and used to work...
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150712/53ff3d57/attachment.html>
More information about the llvm-bugs
mailing list