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 Revert "Introduce a string_ostream string builder facilty" 2014-06-26 22:52:05 +00:00
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 MachO: support N_INDR aliases in assembly files. 2014-05-30 13:22:59 +00:00
Makefile Fix configure+make build. 2014-07-02 20:05:48 +00:00
MCAsmBackend.cpp Simplify a really complicated check for Arch == X86_64. 2014-03-11 21:22:57 +00:00
MCAsmInfo.cpp Print a=b as an assignment. 2014-06-24 22:45:16 +00:00
MCAsmInfoCOFF.cpp Re-commit: Demote EmitRawText call in AsmPrinter::EmitInlineAsm() and remove hasRawTextSupport() call 2014-02-13 14:44:26 +00:00
MCAsmInfoDarwin.cpp MachO: actually set linker-private prefix at MC level. 2014-03-29 07:33:24 +00:00
MCAsmInfoELF.cpp Refactor the setting of PrivateGlobalPrefix. 2013-12-02 23:39:26 +00:00
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 Remove redundant symbolization support from MCDisassembler interface. 2014-04-11 20:07:58 +00:00
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 Print a=b as an assignment. 2014-06-24 22:45:16 +00:00
MCExpr.cpp [mips][mips64r6] Add Relocations R_MIPS_PCHI16, R_MIPS_PCLO16 2014-05-27 14:58:51 +00:00
MCExternalSymbolizer.cpp [C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr. 2014-04-13 04:57:38 +00:00
MCInst.cpp [C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr. 2014-04-13 04:57:38 +00:00
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCLinkerOptimizationHint.cpp [ARM64][CollectLOH] Add some comments to explain how the LOHs 2014-04-02 01:02:28 +00:00
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Print a=b as an assignment. 2014-06-24 22:45:16 +00:00
MCNullStreamer.cpp Merge the used symbol scanning of MCObjectStreamer and RecordStreamer. 2014-06-25 18:37:33 +00:00
MCObjectFileInfo.cpp Re-apply r211399, "Generate native unwind info on Win64" with a fix to ignore SEH pseudo ops in X86 JIT emitter. 2014-06-25 12:41:52 +00:00
MCObjectStreamer.cpp Merge the used symbol scanning of MCObjectStreamer and RecordStreamer. 2014-06-25 18:37:33 +00:00
MCObjectWriter.cpp
MCRegisterInfo.cpp
MCRelocationInfo.cpp [C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr. 2014-04-13 04:57:38 +00:00
MCSection.cpp
MCSectionCOFF.cpp Fix a few issues with comdat handling on COFF. 2014-06-06 19:26:12 +00:00
MCSectionELF.cpp Remove AllowQuotesInName and friends from MCAsmInfo. 2013-11-13 14:01:59 +00:00
MCSectionMachO.cpp [C++11] More 'nullptr' conversion or in some cases just using a boolean check instead of comparing to nullptr. 2014-04-13 04:57:38 +00:00
MCStreamer.cpp MC: permit emitting a symbol value as section relative 2014-07-19 21:01:58 +00:00
MCSubtargetInfo.cpp ArrayRef-ize the Feature and Processor tables for SubtargetFeatures. 2014-05-06 20:23:04 +00:00
MCSymbol.cpp Revert "Add back r203962, r204028 and r204059." 2014-03-19 00:13:43 +00:00
MCSymbolizer.cpp Move MCSymbolizer's constructor into header. It's trivial - there's no need for 2014-03-27 02:42:52 +00:00
MCTargetOptions.cpp Move -dwarf-version to an MC level command line option so it's 2014-06-19 06:22:08 +00:00
MCValue.cpp Fix pr19645. 2014-05-03 19:57:04 +00:00
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 Make the split function use StringRef::split. 2014-05-13 19:55:17 +00:00
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