diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2017-08-16 12:18:04 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2017-08-16 12:18:04 +0000 |
commit | 9c5d64b901cf3b056edf17c9960ae54338a4bd52 (patch) | |
tree | 3e5fa2f1c3b44b7f59512e12e5c96a0fa6559311 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | bba2c83493c8c6293fc9518cbf9f672ae28cedc5 (diff) | |
download | llvm-9c5d64b901cf3b056edf17c9960ae54338a4bd52.zip llvm-9c5d64b901cf3b056edf17c9960ae54338a4bd52.tar.gz llvm-9c5d64b901cf3b056edf17c9960ae54338a4bd52.tar.bz2 |
[mips] Handle variables with an explicit section and interactions with .sdata, .sbss
If a variable has an explicit section such as .sdata or .sbss, it is placed
in that section and accessed in a gp relative manner. This overrides the global
-G setting.
Otherwise if a variable has a explicit section attached to it, such as '.rodata'
or '.mysection', it is not placed in the small data section. This also overrides
the global -G setting.
Reviewers: atanasyan, nitesh.jain
Differential Revision: https://reviews.llvm.org/D36616
llvm-svn: 311001
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions