[PATCH] Customize a relocation table output format (rel / rela)

Simon Atanasyan simon at atanasyan.com
Thu Jan 23 00:57:22 PST 2014


Hi shankarke,

The patch allows customization of a relocation table output format (rel / rela). New virtual virtual function `isRelaOutputFormat` declared in the `ELFLinkingContext` class is used to select the format, dynamic table tags names etc.

http://llvm-reviews.chandlerc.com/D2601

Files:
  include/lld/ReaderWriter/ELFLinkingContext.h
  lib/ReaderWriter/ELF/DefaultLayout.h
  lib/ReaderWriter/ELF/ExecutableWriter.h
  lib/ReaderWriter/ELF/Mips/MipsLinkingContext.h
  lib/ReaderWriter/ELF/SectionChunks.h
  test/elf/Mips/exe-dynamic.test
  test/elf/Mips/exe-fileheader.test
  test/elf/Mips/r26.test
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2601.1.patch
Type: text/x-patch
Size: 13945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140123/870ddf01/attachment.bin>


More information about the llvm-commits mailing list