http://llvm.org/bugs/show_bug.cgi?id=20610
Bug ID: 20610
Summary: ARM exception vectors - error: constant expression
expected
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: LLVM assembly language parser
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
This is a common way of implementing ARM exception vectors. The GNU assembler
eats this the LLVM assembler produces
error: constant expression expected
ldr pc, [pc, #reset_handler_address - . - 8]
ldr pc, [pc, #undef_handler_address - . - 8]
ldr pc, [pc, #swi_handler_address - . - 8]
ldr pc, [pc, #pabort_handler_address - . - 8]
ldr pc, [pc, #dabort_handler_address - . - 8]
nop
ldr pc, [pc, #irq_handler_address - . - 8]
ldr pc, [pc, #fiq_handler_address - . - 8]
reset_handler_address:
.word reset_handler
undef_handler_address:
.word undef_handler
swi_handler_address:
.word swi_handler
pabort_handler_address:
.word pabort_handler
dabort_handler_address:
.word dabort_handler
irq_handler_address:
.word irq_handler
fiq_handler_address:
.word fiq_handler
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs