llvm-6502/lib/MC
Ulrich Weigand 76fcace66e [MC] Pass MCSymbolData to needsRelocateWithSymbol
As discussed in a previous checking to support the .localentry
directive on PowerPC, we need to inspect the actual target symbol
in needsRelocateWithSymbol to make the appropriate decision based
on that symbol's st_other bits.

Currently, needsRelocateWithSymbol does not get the target symbol.
However, it is directly available to its sole caller.  This patch
therefore simply extends the needsRelocateWithSymbol by a new
parameter "const MCSymbolData &SD", passes in the target symbol,
and updates all derived implementations.

In particular, in the PowerPC implementation, this patch removes
the FIXME added by the previous checkin.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213487 91177308-0d34-0410-b5e6-96231b3b80d8
2014-07-20 23:15:06 +00:00
..
MCAnalysis Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
MCDisassembler
MCParser ms inline asm: Don't add x86 segment registers to the clobber list. 2014-07-17 20:24:55 +00:00
CMakeLists.txt Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
ConstantPools.cpp Fix build failure on windows 2014-07-18 16:41:58 +00:00
ELFObjectWriter.cpp [MC] Pass MCSymbolData to needsRelocateWithSymbol 2014-07-20 23:15:06 +00:00
LLVMBuild.txt Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
MachObjectWriter.cpp
Makefile Fix configure+make build. 2014-07-02 20:05:48 +00:00
MCAsmBackend.cpp
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmInfoELF.cpp
MCAsmStreamer.cpp MC: make DWARF and Windows unwinding handling more similar 2014-07-13 19:03:36 +00:00
MCAssembler.cpp MC: make MCSymbolData::dump work on const objects 2014-07-05 00:39:52 +00:00
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp CodeGen: Stick constant pool entries in COMDAT sections for WinCOFF 2014-07-14 22:57:27 +00:00
MCDisassembler.cpp
MCDwarf.cpp MC: permit emitting a symbol value as section relative 2014-07-19 21:01:58 +00:00
MCELF.cpp [MC] Constify MCELF::GetVisibility and MCELF::getOther 2014-07-11 17:34:44 +00:00
MCELFObjectTargetWriter.cpp [MC] Pass MCSymbolData to needsRelocateWithSymbol 2014-07-20 23:15:06 +00:00
MCELFStreamer.cpp
MCExpr.cpp
MCExternalSymbolizer.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp
MCNullStreamer.cpp
MCObjectFileInfo.cpp
MCObjectStreamer.cpp
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCRelocationInfo.cpp
MCSection.cpp
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp MC: permit emitting a symbol value as section relative 2014-07-19 21:01:58 +00:00
MCSubtargetInfo.cpp
MCSymbol.cpp
MCSymbolizer.cpp
MCTargetOptions.cpp
MCValue.cpp
MCWin64EH.cpp MC: make WinEH opcode an opaque value 2014-07-17 03:08:50 +00:00
StringTableBuilder.cpp Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00
SubtargetFeature.cpp
WinCOFFObjectWriter.cpp MC: Let non-temporary COFF aliases be in symtab 2014-07-13 04:31:19 +00:00
WinCOFFStreamer.cpp MC: rename EmitWin64EH routines 2014-06-29 01:52:01 +00:00
YAML.cpp Invert the MC -> Object dependency. 2014-07-03 02:01:39 +00:00