diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2015-10-22 15:53:44 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2015-10-22 15:53:44 +0000 |
commit | de1dc9c98f9ce74d38aceb44e00d258370d1bb34 (patch) | |
tree | 6a2d457490b07f89f717fa277fbc8aaf57ccf916 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | 4947575666901ce1b3ee6b74b692203da3b11052 (diff) | |
download | llvm-de1dc9c98f9ce74d38aceb44e00d258370d1bb34.zip llvm-de1dc9c98f9ce74d38aceb44e00d258370d1bb34.tar.gz llvm-de1dc9c98f9ce74d38aceb44e00d258370d1bb34.tar.bz2 |
[PPC] Fix PR24686 by failing assembly for an invalid relocation
PR24686 identifies a problem where a relocation expression is invalid
when not all of the symbols in the expression can be locally
resolved. This causes the compiler to request a PC-relative half16ds
relocation, which is nonsensical for PowerPC. This patch recognizes
this situation and ensures we fail the assembly cleanly.
Test case provided by Anton Blanchard.
llvm-svn: 251027
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions