[PATCH] D13904: [ELF2] .shstrtab section implemented

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 20 09:54:24 PDT 2015


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.

The section header table index of the entry that is associated with the section name string table. 

This looks to be prerequisite for --discard-all I am currently working on. 
It will remove the StrTab from output, but we still need assign something to EHdr->e_shstrndx (currently index of StrTab is assigned, patch changes that) and that something is an index of .shstrtab.

http://reviews.llvm.org/D13904

Files:
  ELF/OutputSections.cpp
  ELF/OutputSections.h
  ELF/Writer.cpp
  test/elf2/basic-aarch64.s
  test/elf2/basic-mips.s
  test/elf2/basic.s
  test/elf2/basic32.s
  test/elf2/basic64be.s
  test/elf2/discard-locals.s
  test/elf2/discard-none.s
  test/elf2/emulation.s
  test/elf2/ppc64-shared-rel-toc.s
  test/elf2/shared.s
  test/elf2/string-table.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13904.37892.patch
Type: text/x-patch
Size: 25035 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151020/dc053cb2/attachment.bin>


More information about the llvm-commits mailing list