[PATCH] D30319: [ELF] Make __ehdr_start point to ELF file headers

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 20:00:03 PST 2017


ruiu added a comment.

It's reproducible on my machine. This is an output of llvm-readobj.

D:\b>bin\llvm-readobj -symbols \b\tools\lld\test\ELF\Output\ehdr_start.s.tmp

Error reading file: invalid section index
.

File: \b\tools\lld\test\ELF\Output\ehdr_start.s.tmp
Format: ELF64-x86-64
Arch: x86_64
AddressSize: 64bit
LoadName:
Symbols [

  Symbol {
    Name:  (0)
    Value: 0x0
    Size: 0
    Binding: Local (0x0)
    Type: None (0x0)
    Other: 0
    Section: Undefined (0x0)
  }


Repository:
  rL LLVM

https://reviews.llvm.org/D30319





More information about the llvm-commits mailing list