diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-01 03:50:49 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-05-01 03:50:49 +0000 |
commit | fd0578532417ca2ac3210d4b5b0ab05cea4d1ce1 (patch) | |
tree | 9b1346527e214253dc2f879de04d14cab5e55e31 /llvm/lib/MC/MCLoggingStreamer.cpp | |
parent | ca87290f367a67317f34deeef83e59fe60ee386f (diff) | |
download | bcm5719-llvm-fd0578532417ca2ac3210d4b5b0ab05cea4d1ce1.tar.gz bcm5719-llvm-fd0578532417ca2ac3210d4b5b0ab05cea4d1ce1.zip |
Simplify the handling of pcrel relocations on ELF. Now we do the right thing
for all symbol differences and can drop the old EmitPCRelSymbolValue
method.
This also make getExprForFDESymbol on ELF equal to the one on MachO, and it
can be made non-virtual.
llvm-svn: 130634
Diffstat (limited to 'llvm/lib/MC/MCLoggingStreamer.cpp')
-rw-r--r-- | llvm/lib/MC/MCLoggingStreamer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCLoggingStreamer.cpp b/llvm/lib/MC/MCLoggingStreamer.cpp index ae9f8a0c9a1..46ea9b844a6 100644 --- a/llvm/lib/MC/MCLoggingStreamer.cpp +++ b/llvm/lib/MC/MCLoggingStreamer.cpp @@ -154,9 +154,9 @@ public: } virtual void EmitValueImpl(const MCExpr *Value, unsigned Size, - bool isPCRel, unsigned AddrSpace){ + unsigned AddrSpace){ LogCall("EmitValue"); - return Child->EmitValueImpl(Value, Size, isPCRel, AddrSpace); + return Child->EmitValueImpl(Value, Size, AddrSpace); } virtual void EmitULEB128Value(const MCExpr *Value) { |