llvm-6502/test/Object
Simon Atanasyan eb0c9094ac [yaml2obj][ELF] ELF Relocations Support.
The patch implements support for both relocation record formats: Elf_Rel
and Elf_Rela. It is possible to define relocation against symbol only.
Relocations against sections will be implemented later. Now yaml2obj
recognizes X86_64, MIPS and Hexagon relocation types.

Example of relocation section specification:
Sections:
- Name: .text
  Type: SHT_PROGBITS
  Content: "0000000000000000"
  AddressAlign: 16
  Flags: [SHF_ALLOC]

- Name: .rel.text
  Type: SHT_REL
  Info: .text
  AddressAlign: 4
  Relocations:
    - Offset: 0x1
      Symbol: glob1
      Type: R_MIPS_32
    - Offset: 0x2
      Symbol: glob2
      Type: R_MIPS_CALL16

The patch reviewed by Michael Spencer, Sean Silva, Shankar Easwaran.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206017 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-11 04:13:39 +00:00
..
ARM
Inputs obj2yaml: Don't crash if the characteristics field is zero 2014-04-09 16:38:15 +00:00
Mips
X86 YAMLIO: Allow scalars to dictate quotation rules 2014-04-10 07:37:33 +00:00
ar-create.test
archive-delete.test
archive-error-tmp.txt
archive-extract-dir.test
archive-format.test
archive-long-index.test
archive-move.test
archive-replace-pos.test
archive-symtab.test
archive-toc.test
archive-update.test
check_binary_output.ll
coff-archive-short.test
coff-archive.test
corrupt.test
directory.ll
elf-reloc-no-sym.test
extract.ll Fix typo: : not ; 2014-01-16 07:08:22 +00:00
lit.local.cfg
mangle-ir.ll Now that it is possible, use the mangler in IRObjectFile. 2014-02-28 02:17:23 +00:00
nm-archive.test
nm-error.test We do use pipefail these days. Update the test. 2014-01-29 04:08:05 +00:00
nm-ir.ll Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
nm-shared-object.test Mark the first dynamic elf symbol as SF_FormatSpecific. 2014-01-31 21:40:13 +00:00
nm-trivial-object.test Only clear the thumb bit from function addresses. 2014-04-03 02:20:43 +00:00
nm-universal-binary.test
nm-weak-global-macho.test
obj2yaml-coff-long-file-symbol.test Object: Output .file symbols properly 2014-03-20 06:29:02 +00:00
obj2yaml-coff-weak-external.test obj2yaml: Don't crash if the characteristics field is zero 2014-04-09 16:38:15 +00:00
obj2yaml.test Revert "Revert "YAMLIO: Encode ambiguous hex strings explicitly"" 2014-04-09 17:04:27 +00:00
objdump-file-header.test
objdump-private-headers.test
objdump-relocations.test [Object][ELF][Mips] Print symbol name for MIPS ELF relocations. 2014-01-23 15:05:45 +00:00
objdump-section-content.test
objdump-sectionheaders.test
objdump-symbol-table.test
readobj-elf-versioning.test Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00
readobj-shared-object.test Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00
readobj.test
relocation-executable.test
simple-archive.test
yaml2obj-elf-bits-endian.test
yaml2obj-elf-file-headers-with-e_flags.yaml [yaml2obj] Add support for ELF e_flags. 2014-03-31 09:44:05 +00:00
yaml2obj-elf-file-headers.yaml
yaml2obj-elf-rel.yaml [yaml2obj][ELF] ELF Relocations Support. 2014-04-11 04:13:39 +00:00
yaml2obj-elf-section-basic.yaml [yaml2obj][ELF] Assign name (.shstrtab) to the section holds sections names. 2014-03-14 06:53:16 +00:00
yaml2obj-elf-symbol-basic.yaml Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00
yaml2obj-elf-symbol-LocalGlobalWeak.yaml
yaml2obj-readobj.test