llvm-6502/test/MC/ELF
Rafael Espindola 94ed5fca3f Change MCExpr::EvaluateAsRelocatableImpl of variables to return the original
variable if recursing fails to simplify it.

Factor AliasedSymbol to be a method of MCSymbol.

Update MCAssembler::EvaluateFixup to match the change in
EvaluateAsRelocatableImpl.

Remove the WeakRefExpr hack, as the object writer now sees the weakref with
no extra effort needed.

Nothing else is using MCTargetExpr, but keep it for now.

Now that the ELF writer sees relocations with aliases, handle

    .weak    foo2
foo2:
    .weak    bar2
    .set    bar2,foo2
    .quad    bar2

the same way gas does and produce a relocation with bar2.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119152 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-15 16:33:49 +00:00
..
abs.s
alias-reloc.s Change MCExpr::EvaluateAsRelocatableImpl of variables to return the original 2010-11-15 16:33:49 +00:00
alias.s
align-bss.s
align-nops.s
align-size.s
align-text.s
align.s
basic-elf.ll
bss.ll
comdat.s Handle a peculiar comdat case: Creating a section with an undefined 2010-11-14 04:17:37 +00:00
common2.s
common.s Fix another case of a .comm directive without a corresponding .type 2010-11-14 21:11:16 +00:00
debug-line.s Fix test. 2010-11-01 17:10:53 +00:00
debug-loc.s Fix the encoding of negative line deltas. 2010-11-13 01:06:27 +00:00
dg.exp
diff2.s
diff.s
elf_directive_previous.s
elf_directive_section.s
empty.s
entsize.ll
entsize.s
file.s
global-offset.s
got.s
ident.s
invalid-symver.s
leb128.s Add support for expressions in .sleb/.uleb directives. 2010-11-02 17:22:24 +00:00
local-reloc.s
merge.s
norelocation.s
pic-diff.s
plt.s
relax-arith.s
relax-crash.s Relax dwarf line fragments. This fixes a crash in the included testcase. 2010-11-07 02:07:12 +00:00
relax.s
relocation-386.s
relocation.s
rename.s
section.s gnu as support both % and @ before types, do the same. 2010-11-12 15:47:08 +00:00
set.s Fix PR8565. 2010-11-15 14:40:36 +00:00
size.s
sleb.s
symref.s
tls.s Mark labels declared in tls sections as STT_TLS. This matches the behavior of 2010-11-11 19:04:55 +00:00
type.s Parse and record the gnu_unique_object type. 2010-11-13 04:51:02 +00:00
uleb.s
undef2.s
undef.s
weak.s
weakref-plt.s Make AliasedSymbol able to handle MCTargetExpr. They can get here if 2010-11-11 17:24:43 +00:00
weakref-reloc.s Fix the symbol index of weak references. Also make RecordRelocation a bit 2010-11-11 16:48:11 +00:00
weakref.s
zero.s