mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args.
This commit is contained in:
parent
58821868a5
commit
36b08f12d1
@ -1,3 +1,7 @@
|
||||
2002-07-16 Moritz Jodeit <moritz@jodeit.org>
|
||||
|
||||
* peXXigen.c (_bfd_XXi_swap_aouthdr_out): Correct order of memset args.
|
||||
|
||||
2002-07-16 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elflink.h: Formatting fixes, tidy prototypes.
|
||||
|
@ -620,7 +620,7 @@ _bfd_XXi_swap_aouthdr_out (abfd, in, out)
|
||||
extra->NumberOfRvaAndSizes = IMAGE_NUMBEROF_DIRECTORY_ENTRIES;
|
||||
|
||||
/* first null out all data directory entries .. */
|
||||
memset (extra->DataDirectory, sizeof (extra->DataDirectory), 0);
|
||||
memset (extra->DataDirectory, 0, sizeof (extra->DataDirectory));
|
||||
|
||||
add_data_entry (abfd, extra, 0, ".edata", ib);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user