[PATCH] D13760: ELF2: Implement __start_SECNAME and __stop_SECNAME.
    Rui Ueyama via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Oct 14 19:15:39 PDT 2015
    
    
  
ruiu created this revision.
ruiu added a reviewer: rafael.
ruiu added subscribers: llvm-commits, silvas.
If a section name is valid as a C identifier (which is rare because of
the leading '.'), linkers are expected to define __start_<secname> and
__stop_<secname> symbols. They are at beginning and end of the section,
respectively. This is not requested by the ELF standard, but GNU ld and
gold provide this feature.
http://reviews.llvm.org/D13760
Files:
  ELF/SymbolTable.cpp
  ELF/SymbolTable.h
  ELF/Writer.cpp
  test/elf2/startstop.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13760.37438.patch
Type: text/x-patch
Size: 4782 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151015/54d00fe7/attachment.bin>
    
    
More information about the llvm-commits
mailing list