Files
clang-p2996/lld/test/ELF/Inputs/mips-micro.s
Simon Atanasyan 4f70b30d6f [MIPS] Initial support of microMIPS code linking
The patch implements initial support of microMIPS code linking:
  - Handle microMIPS specific relocations.
  - Emit both R1-R5 and R6 microMIPS PLT records.

For now linking mixed set of regular and microMIPS object files is not
supported. Also the patch does not handle (setup and clear) the
least-significant bit of an address which is utilized as the ISA mode
bit and allows to make jump between regular and microMIPS code without
any thunks.

Differential revision: https://reviews.llvm.org/D37335

llvm-svn: 313028
2017-09-12 13:08:24 +00:00

13 lines
139 B
ArmAsm

.text
.set micromips
.global foo
.type foo,@function
foo:
nop
.set nomicromips
.global bar
.type bar,@function
bar:
nop