[MIPS] Initial support of microMIPS code linking

Description

[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

Details

Committed
atanasyanSep 12 2017, 6:08 AM
Differential Revision
D37335: [MIPS] Initial support of microMIPS code linking
Parents
rL313027: Fix GCC build error and warnings from r313025
Branches
Unknown
Tags
Unknown