mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
f6972f8e23
The directive '.option pic2' enables PIC from assembly source. At the moment none of the macros/directives check the PIC bit but that's going to be fixed relatively soon. For example, the expansion of macros like 'la' depend on the relocation model. llvm-svn: 204803
7 lines
225 B
ArmAsm
7 lines
225 B
ArmAsm
# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o -| llvm-readobj -h | FileCheck %s
|
|
|
|
# This *MUST* match the output of gas compiled with the same triple.
|
|
# CHECK: Flags [ (0x50001006)
|
|
|
|
.option pic2
|