[llvm-bugs] [Bug 24652] New: "Unknown ELF relocation type" assertion failure in llvm-mc for aarch64
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Sep 1 08:15:00 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24652
Bug ID: 24652
Summary: "Unknown ELF relocation type" assertion failure in
llvm-mc for aarch64
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: AArch64
Assignee: unassignedbugs at nondot.org
Reporter: mgabka at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
The following piece of code is causing a hang in llvm-mc when built without
assertions,
and hit an assertion when llvm-mc is built with assertions:
.section test,"x"
.global string_table
string_table:
.byte 0xa
.byte 0xb
string_base_64: .byte string_table
.end
./bin/llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj test.s -o test.o
Unknown ELF relocation type
UNREACHABLE executed at
/home/mgabka/repos_dir/llvm_disslib/shoji/open_source/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp:244!
Although this piece of code looks incorrect, it can be compiled with triple
defined as
-triple=armv7-eabi
--
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/20150901/4d9b744a/attachment.html>
More information about the llvm-bugs
mailing list