]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR 33385, Extended Image Header
authorAlan Modra <amodra@gmail.com>
Sun, 7 Sep 2025 22:46:21 +0000 (08:16 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 8 Sep 2025 12:47:46 +0000 (22:17 +0930)
commitab7f5fd719e9bc6a18b44891ccaf1044324be9e0
treeebc876073cbdd96e7acfb5ac94a223eea9d28793
parent897d8d7bba581e4c1614af5712b730b006f03407
PR 33385, Extended Image Header

This modifies some of the PR 21813 fixes, allowing for smaller EIHD.
Not knowing any better, I chose to use EIHD__C_LENGTH as the minimum
length.

include/
* vms/eihd.h (EIHD__C_LENGTH): Comment.
bfd/
* vms-alpha.c (_bfd_vms_slurp_eihd): Remove size check
duplicating that done by the caller of this function.
(alpha_vms_object_p): Allow smaller EIHD.
(evax_bfd_print_image): Likewise.  Don't print fields past
the record size.
bfd/vms-alpha.c
include/vms/eihd.h