forked from Imagelibrary/binutils-gdb
readelf: Reset file position to beginning for thin archive members
* readelf.c (process_archive): Reset file position to the beginning when calling process_object for thin archive members. * testsuite/binutils-all/readelf.exp: Add test. * testsuite/binutils-all/readelf.h.thin: New file.
This commit is contained in:
committed by
Nick Clifton
parent
417f991f08
commit
75a2da57a1
22
binutils/testsuite/binutils-all/readelf.h.thin
Normal file
22
binutils/testsuite/binutils-all/readelf.h.thin
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
File: .*bintest\.thin\.a.*
|
||||
ELF Header:
|
||||
Magic: 7f 45 4c 46 0[12] 0[12] 01 .. .. 00 00 00 00 00 00 00
|
||||
Class: ELF[36][24]
|
||||
Data: 2's complement,.* endian
|
||||
Version: 1 \(current\)
|
||||
OS/ABI: .*
|
||||
ABI Version: .*
|
||||
Type: REL \(Relocatable file\)
|
||||
Machine: .*
|
||||
Version: 0x1
|
||||
Entry point address: 0x0
|
||||
Start of program headers: 0 \(bytes into file\)
|
||||
Start of section headers: .* \(bytes into file\)
|
||||
Flags: .*
|
||||
Size of this header: .* \(bytes\)
|
||||
Size of program headers: 0 \(bytes\)
|
||||
Number of program headers: 0
|
||||
Size of section headers: .* \(bytes\)
|
||||
Number of section headers: .*
|
||||
Section header string table index: .*
|
||||
Reference in New Issue
Block a user