aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2014-04-11 04:13:39 +0000
committerSimon Atanasyan <simon@atanasyan.com>2014-04-11 04:13:39 +0000
commit42ac0dd3c35c9e2fedcfaeb4814776789bbcdaec (patch)
tree00b959cdd63eee8dd504727fe7820217feb01a03 /clang/lib/Frontend/CompilerInvocation.cpp
parentceec2bdaa52186b0bf92a6efe1545d093d70eb60 (diff)
downloadllvm-42ac0dd3c35c9e2fedcfaeb4814776789bbcdaec.zip
llvm-42ac0dd3c35c9e2fedcfaeb4814776789bbcdaec.tar.gz
llvm-42ac0dd3c35c9e2fedcfaeb4814776789bbcdaec.tar.bz2
[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. llvm-svn: 206017
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions