This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC][PATCH 0/3] readelf and libbfd: Add Extended Numbering Support for ELF
- From: Ian Lance Taylor <iant at google dot com>
- To: Daisuke HATAYAMA <d dot hatayama at jp dot fujitsu dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 15 Jan 2010 07:53:26 -0800
- Subject: Re: [RFC][PATCH 0/3] readelf and libbfd: Add Extended Numbering Support for ELF
- References: <20100115.114307.193710254.d.hatayama@jp.fujitsu.com>
Daisuke HATAYAMA <d.hatayama@jp.fujitsu.com> writes:
> Extended Numbering is an ELF extension specified in order to cover a
> lack of field size for some fields of ELF header. Concretely, they are
> e_phnum, e_shnum and e_shstrndx, which have only 4 byte length in
> either 32- or 64-bit environments.
You mean that they currently have a 2 byte length.
I very sincerely hope that we never have an ELF file with more than
4,294,967,295 segments.
It's hard enough to understand having more than 65,535 segments
(sections, sure; segments?).
Ian