[llvm-bugs] [Bug 16957] Generation of PLT code isn't working for ARM
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Oct 15 23:58:28 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=16957
Eric Christopher <echristo at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Eric Christopher <echristo at gmail.com> ---
Seems fixed:
echristo-macbookpro2:~/tmp> ~/builds/build-llvm/Debug+Asserts/bin/clang -target
arm-linux-gnu -O0 foo.c -S -o - -fPIC
clang: warning: unknown platform, assuming -mfloat-abi=soft
clang: warning: unknown platform, assuming -mfloat-abi=soft
.text
.syntax unified
.eabi_attribute 67, "2.09" @ Tag_conformance
.cpu arm7tdmi
.eabi_attribute 6, 2 @ Tag_CPU_arch
.eabi_attribute 8, 1 @ Tag_ARM_ISA_use
.eabi_attribute 15, 1 @ Tag_ABI_PCS_RW_data
.eabi_attribute 16, 1 @ Tag_ABI_PCS_RO_data
.eabi_attribute 17, 2 @ Tag_ABI_PCS_GOT_use
.eabi_attribute 20, 1 @ Tag_ABI_FP_denormal
.eabi_attribute 21, 1 @ Tag_ABI_FP_exceptions
.eabi_attribute 23, 3 @ Tag_ABI_FP_number_model
.eabi_attribute 34, 0 @ Tag_CPU_unaligned_access
.eabi_attribute 24, 1 @ Tag_ABI_align_needed
.eabi_attribute 25, 1 @ Tag_ABI_align_preserved
.eabi_attribute 38, 1 @ Tag_ABI_FP_16bit_format
.eabi_attribute 18, 4 @ Tag_ABI_PCS_wchar_t
.eabi_attribute 26, 2 @ Tag_ABI_enum_size
.eabi_attribute 14, 0 @ Tag_ABI_PCS_R9_use
.file "foo.c"
.globl bar
.align 2
.type bar,%function
bar: @ @bar
.fnstart
@ BB#0: @ %entry
push {r11, lr}
mov r11, sp
bl foo(PLT)
add r0, r0, #4
pop {r11, lr}
bx lr
.Lfunc_end0:
.size bar, .Lfunc_end0-bar
.cantunwind
.fnend
.ident "clang version 3.8.0 (trunk 250369) (llvm/trunk 250370)"
.section ".note.GNU-stack","",%progbits
--
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/20151016/311d8127/attachment.html>
More information about the llvm-bugs
mailing list