mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
gdb-5.0 and binutils-2.10.1 still have overly conservative elfcode.h
committer: jreiser <jreiser> 962254011 +0000
This commit is contained in:
parent
3980081a5a
commit
d5b2ff99b7
|
@ -1,8 +1,11 @@
|
||||||
The GNU bfd binary file descriptor package, part of the GNU binutils package,
|
The GNU bfd binary file descriptor package, part of the GNU binutils package,
|
||||||
contains code to recognize an Elf file by looking at fields in the file header.
|
contains code to recognize an Elf file by looking at fields in the file header.
|
||||||
Many programs (such as gdb, size, objdump, objcopy, strip and others) use bfd.
|
Many programs (such as gdb, size, objdump, objcopy, strip and others) use bfd.
|
||||||
Unfortunately, bfd has been overly strict. In releases binutils-2.9.1.0.4,
|
Unfortunately, bfd has been overly strict. In releases
|
||||||
binutils-2.9.1.0.23, binutils-2.9.5.0.0, gdb-4.17, and probably others,
|
binutils-2.9.1.0.4, binutils-2.9.1.0.23, binutils-2.9.5.0.0,
|
||||||
|
binutils-2.10.1,
|
||||||
|
gdb-4.17, gdb-5.0,
|
||||||
|
and probably others,
|
||||||
bfd does not recognize a file with zero in Elf32_Ehdr.e_shoff, .e_shentsize,
|
bfd does not recognize a file with zero in Elf32_Ehdr.e_shoff, .e_shentsize,
|
||||||
or .e_shnum, even though the operating system kernel does not care, and many
|
or .e_shnum, even though the operating system kernel does not care, and many
|
||||||
bfd clients would work just fine in these cases.
|
bfd clients would work just fine in these cases.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user