This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][PATCH 0/3] readelf and libbfd: Add Extended Numbering Support for ELF


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]