RE: readelf reporting of e_shstrndx is slightly wrong

2018-08-21 Thread Mike Murphy
0 (210016) Section header string table index: 1 The code in readelf seems to assume that if there are > 0xff00 sections then shstrndx will be one of those sections that are > 0xff00. -Original Message- From: Nick Clifton Sent: Tuesday, August 21, 2018 8:32 AM To: Mike Murphy

readelf reporting of e_shstrndx is slightly wrong

2018-08-17 Thread Mike Murphy
According to the ELF standard: e_shstrndx This member holds the section header table index of the entry associated with the section name string table. If the file has no section name string table, this member holds the value SHN_UNDEF. See ``Sections''