[LLVMdev] section relative expressions
Sid Manning
sidneym at codeaurora.org
Fri Nov 8 08:03:43 PST 2013
It looks like llvm-mc isn't treating section relative expressions correctly.
In this example:
.text
mov (.rodata+0), %rsi
.section .rodata
.byte 0xff
llvm-mc will create an undefined symbol for the expression, ".rodata+0"
and a relocation will be generated against the undefined symbol not the
section.
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev
mailing list