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: unassignedb...@nondot.org Reporter: mga...@gmail.com CC: llvm-bugs@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.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs