llvm-project/lld/include/lld
Simon Atanasyan c77f5fa4f4 [ELF] Add CodeModel attribute to the DefinedAtom class
MIPS ELF symbols might contain some additional MIPS-specific flags
in the st_other field besides visibility ones. These flags indicate
code properties like microMIPS / MIPS16 encoding, position independent
code etc. We need to transfer the flags from input objects to the
output linked file to write them into the symbol table, adjust symbols
addresses etc.

I add new attribute CodeModel to the DefinedAtom class to hold target
specific flag and to get over YAML/Native format conversion barrier.
Other architectures/targets can extend CodeModel enumeration by their
own flags.

MIPS specific part of this patch adds support for STO_MIPS_MICROMIPS
flag. This flag marks microMIPS symbols. Such symbol should:
a) Has STO_MIPS_MICROMIPS in the corresponding .symtab record.
b) Has adjusted (odd) address in the corresponding .symtab
   and .dynsym records.

llvm-svn: 221864
2014-11-13 07:03:41 +00:00
..
Config Add support to print version. 2014-10-08 03:47:51 +00:00
Core [ELF] Add CodeModel attribute to the DefinedAtom class 2014-11-13 07:03:41 +00:00
Driver [mach-o] Fix MachOFileNode to own archives same as ELFFileNode 2014-11-07 22:00:23 +00:00
Passes [mach-o] Add support for -order_file option 2014-11-07 21:01:21 +00:00
ReaderWriter [ELF] Fix max-page-size option. 2014-11-13 03:25:38 +00:00
Makefile Add support to print version. 2014-10-08 03:47:51 +00:00