Skip to content

Commit 9f9073e

Browse files
committed
objcopy: Fix name of the field modified by pe_stack_reserve.
1 parent 6674b23 commit 9f9073e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binutils/objcopy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2878,7 +2878,7 @@ copy_object (bfd *ibfd, bfd *obfd, const bfd_arch_info_type *input_arch)
28782878
pe->pe_opthdr.SizeOfStackCommit = pe_stack_commit;
28792879

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

28832883
if (pe_subsystem != -1)
28842884
pe->pe_opthdr.Subsystem = pe_subsystem;

0 commit comments

Comments
 (0)