summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionImport/funcimport_alias.ll
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2016-11-09 21:36:56 +0000
committerSimon Atanasyan <simon@atanasyan.com>2016-11-09 21:36:56 +0000
commitce02cf0099e912e31300d58477d65ae26ea13ef8 (patch)
tree7f8ab1d2c2ce98aee2425bc51427437b595604d1 /llvm/test/Transforms/FunctionImport/funcimport_alias.ll
parentb0e067b08dd57a510f7d2c705fbd3c68bf73aecf (diff)
downloadbcm5719-llvm-ce02cf0099e912e31300d58477d65ae26ea13ef8.tar.gz
bcm5719-llvm-ce02cf0099e912e31300d58477d65ae26ea13ef8.zip
[ELF][MIPS] Convert .reginfo and .MIPS.options sections to synthetic input sections
Previously, we have both input and output sections for .reginfo and .MIPS.options. Now for each such sections we have one synthetic input sections: MipsReginfoSection and MipsOptionsSection respectively. Both sections are handled as regular sections until the control reaches Writer. Writer then aggregates all sections whose type is SHT_MIPS_REGINFO or SHT_MIPS_OPTIONS to create a single synthesized input section. In that moment Writer also save GP0 value to the MipsGp0 field of the corresponding ObjectFile. This value required for R_MIPS_GPREL16 and R_MIPS_GPREL32 relocations calculation. Differential revision: https://reviews.llvm.org/D26444 llvm-svn: 286397
Diffstat (limited to 'llvm/test/Transforms/FunctionImport/funcimport_alias.ll')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud