llvm-project/llvm/test/MC
Ulrich Weigand 46797c6960 [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.

llvm-svn: 213487
2014-07-20 23:15:06 +00:00
..
AArch64 MC: support different sized constants in constant pools 2014-07-18 16:05:14 +00:00
ARM MC: support different sized constants in constant pools 2014-07-18 16:05:14 +00:00
AsmParser Allow using .cfi_startproc without a leading symbol. 2014-06-23 15:34:32 +00:00
COFF MC: Let non-temporary COFF aliases be in symtab 2014-07-13 04:31:19 +00:00
Disassembler [X86] AVX512: Add disassembler support for compressed displacement 2014-07-17 17:04:56 +00:00
ELF Avoid revocations when possible. 2014-07-01 14:34:30 +00:00
MachO llvm-readobj: fix MachO relocatoin printing a bit. 2014-07-04 10:57:56 +00:00
Markup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
Mips [mips] .reginfo is 8 byte aligned on N32. 2014-07-17 10:10:04 +00:00
PowerPC [MC] Pass MCSymbolData to needsRelocateWithSymbol 2014-07-20 23:15:06 +00:00
Sparc Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
SystemZ [SystemZ] Add MC support for LEDBRA, LEXBRA and LDXBRA 2014-07-10 11:00:55 +00:00
X86 MC: fix MCAsmInfo usage for windows-itanium 2014-07-17 16:27:40 +00:00