* [binutils-gdb] objcopy: Fix name of the field modified by pe_stack_reserve.
@ 2023-10-16 8:38 Cl?ment Chigot
0 siblings, 0 replies; only message in thread
From: Cl?ment Chigot @ 2023-10-16 8:38 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9f9073e5b8f7828a97d6cb1e7a43c6ad1fb40a9b
commit 9f9073e5b8f7828a97d6cb1e7a43c6ad1fb40a9b
Author: Clément Chigot <chigot@adacore.com>
Date: Mon Oct 16 10:13:36 2023 +0200
objcopy: Fix name of the field modified by pe_stack_reserve.
Diff:
---
binutils/objcopy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 2ce1b07bf7c..ba304c21890 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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-10-16 8:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 8:38 [binutils-gdb] objcopy: Fix name of the field modified by pe_stack_reserve Cl?ment Chigot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).