[llvm-bugs] [Bug 24652] "Unknown ELF relocation type" assertion failure in llvm-mc for aarch64

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 14 05:58:57 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=24652

Arnaud de Grandmaison <arnaud.degrandmaison at arm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arnaud.degrandmaison at arm.co
                   |                            |m
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Arnaud de Grandmaison <arnaud.degrandmaison at arm.com> ---
armv7 as a byte relocation (R_ARM_ABS8) whereas not such thing exists with
aarch64, so this testcase can not be supported on aarch64.

LLVM @ r346851 fails gracefully with the proper error / diagnostic message:

> bin/llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj test.s -o test.o
test.s:7:23: error: 1-byte data relocations not supported
string_base_64: .byte string_table
                      ^

-- 
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/20181114/b353b684/attachment.html>


More information about the llvm-bugs mailing list