diff options
author | Clément Chigot <chigot@adacore.com> | 2023-10-16 10:13:36 +0200 |
---|---|---|
committer | Clément Chigot <chigot@adacore.com> | 2023-10-16 10:37:23 +0200 |
commit | 9f9073e5b8f7828a97d6cb1e7a43c6ad1fb40a9b (patch) | |
tree | 2a61371e30ae8245f8b138e66aae4c92d9f2f978 /binutils | |
parent | 6674b23fe6409e08de9c36f640bd58127eff9dda (diff) | |
download | gdb-9f9073e5b8f7828a97d6cb1e7a43c6ad1fb40a9b.zip gdb-9f9073e5b8f7828a97d6cb1e7a43c6ad1fb40a9b.tar.gz gdb-9f9073e5b8f7828a97d6cb1e7a43c6ad1fb40a9b.tar.bz2 |
objcopy: Fix name of the field modified by pe_stack_reserve.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/objcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 2ce1b07..ba304c2 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -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; |