Skip to content

Commit

Permalink
objcopy: Fix name of the field modified by pe_stack_reserve.
Browse files Browse the repository at this point in the history
  • Loading branch information
Helflym committed Oct 16, 2023
1 parent 6674b23 commit 9f9073e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binutils/objcopy.c
Original file line number Diff line number Diff line change
Expand Up @@ -2878,7 +2878,7 @@ copy_object (bfd *ibfd, bfd *obfd, const bfd_arch_info_type *input_arch)
pe->pe_opthdr.SizeOfStackCommit = pe_stack_commit;

if (pe_stack_reserve != (bfd_vma) -1)
pe->pe_opthdr.SizeOfStackCommit = pe_stack_reserve;
pe->pe_opthdr.SizeOfStackReserve = pe_stack_reserve;

if (pe_subsystem != -1)
pe->pe_opthdr.Subsystem = pe_subsystem;
Expand Down

0 comments on commit 9f9073e

Please sign in to comment.