diff options
author | Hal Finkel <hfinkel@anl.gov> | 2015-10-16 19:01:50 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2015-10-16 19:01:50 +0000 |
commit | 00918628019f00fded332effbc92feae1eeaee8d (patch) | |
tree | 9354476947f60d67a8af5de97717f6c289ced9de /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b93483dbce540b7888df4938dd984955ec8b0343 (diff) | |
download | llvm-00918628019f00fded332effbc92feae1eeaee8d.zip llvm-00918628019f00fded332effbc92feae1eeaee8d.tar.gz llvm-00918628019f00fded332effbc92feae1eeaee8d.tar.bz2 |
[ELF2/PPC64] Invert PPC64TargetInfo::isRelRelative's default
When I initially implemented PPC64TargetInfo::isRelRelative, I included a fixed
set of relative relocations, and made the default false. In retrospect, this
seems unwise in two respects: First, most PPC64 relocations are relative
(either to the base address, the TOC, etc.). Second, most relocation targets
are not appropriate for R_PPC64_RELATIVE (which writes a 64-bit absolute
address). Thus, back off, and include only those relocations for which we test
(or soon will), and are obviously appropriate for R_PPC64_RELATIVE.
llvm-svn: 250540
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions