forked from OSchip/llvm-project
c77f5fa4f4
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 |
||
---|---|---|
.. | ||
absolute-basic.objtxt | ||
absolute-local.objtxt | ||
archive-basic.objtxt | ||
archive-chain.objtxt | ||
archive-tentdef-search.objtxt | ||
associates.objtxt | ||
auto-hide-coalesce.objtxt | ||
code-model-attributes.objtxt | ||
constants-coalesce.objtxt | ||
cstring-coalesce.objtxt | ||
custom-section-coalesce.objtxt | ||
custom-section.objtxt | ||
dead-strip-attributes.objtxt | ||
dead-strip-basic.objtxt | ||
dead-strip-globals.objtxt | ||
dead-strip-reverse.objtxt | ||
empty.objtxt | ||
error-atom-attribute.objtxt | ||
error-atom-content-byte-value.objtxt | ||
error-atom-content-bytes.objtxt | ||
error-atom-type.objtxt | ||
error-atom-undefined-wrong-attribue.objtxt | ||
error-duplicate-absolutes.objtxt | ||
error-file-attribute.objtxt | ||
error-fixup-attribute.objtxt | ||
error-fixup-target.objtxt | ||
fixups-addend.objtxt | ||
fixups-dup-named.objtxt | ||
fixups-named.objtxt | ||
fixups-unnamed.objtxt | ||
gnulinkonce-rearrange-resolve.objtxt | ||
gnulinkonce-remaining-undef.objtxt | ||
gnulinkonce-resolve.objtxt | ||
gnulinkonce-simple.objtxt | ||
ingroup-test-big.objtxt | ||
ingroup-test-loop.objtxt | ||
ingroup-test-with-layout-after.objtxt | ||
ingroup-test.objtxt | ||
inline-coalesce.objtxt | ||
layout-transitivity.objtxt | ||
layoutafter-test.objtxt | ||
multiple-def-error.objtxt | ||
permissions.objtxt | ||
section-position.objtxt | ||
sectiongroup-gnulinkonce-error.objtxt | ||
sectiongroup-rearrange-resolve.objtxt | ||
sectiongroup-remaining-undef.objtxt | ||
sectiongroup-resolve.objtxt | ||
sectiongroup-simple.objtxt | ||
shared-library-basic.objtxt | ||
shared-library-coalesce.objtxt | ||
tent-merge.objtxt | ||
undef-coalesce-error.objtxt | ||
undef-coalesce.objtxt | ||
undef-fallback.objtxt | ||
undef-weak-coalesce.objtxt | ||
weak-coalesce.objtxt |