PR ld/16192
* pe-dll.c (pe_create_runtime_relocator_reference): Zero the newly allocated idata5 block.
This commit is contained in:
parent
630b051036
commit
8d5c4b7bfd
|
@ -1,3 +1,9 @@
|
||||||
|
2013-11-21 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR ld/16192
|
||||||
|
* pe-dll.c (pe_create_runtime_relocator_reference): Zero the
|
||||||
|
newly allocated idata5 block.
|
||||||
|
|
||||||
2013-11-20 Nick Clifton <nickc@redhat.com>
|
2013-11-20 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* scripttempl/elf32msp430.sc (.data): Set the based on the next
|
* scripttempl/elf32msp430.sc (.data): Set the based on the next
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
/* Routines to help build PEI-format DLLs (Win32 etc)
|
/* Routines to help build PEI-format DLLs (Win32 etc)
|
||||||
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
|
Copyright 1998-2013 Free Software Foundation, Inc.
|
||||||
2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
|
|
||||||
Written by DJ Delorie <dj@cygnus.com>
|
Written by DJ Delorie <dj@cygnus.com>
|
||||||
|
|
||||||
This file is part of the GNU Binutils.
|
This file is part of the GNU Binutils.
|
||||||
|
@ -2591,7 +2590,7 @@ pe_create_runtime_relocator_reference (bfd *parent)
|
||||||
BSF_NO_FLAGS, 0);
|
BSF_NO_FLAGS, 0);
|
||||||
|
|
||||||
bfd_set_section_size (abfd, extern_rt_rel, PE_IDATA5_SIZE);
|
bfd_set_section_size (abfd, extern_rt_rel, PE_IDATA5_SIZE);
|
||||||
extern_rt_rel_d = xmalloc (PE_IDATA5_SIZE);
|
extern_rt_rel_d = xcalloc (1, PE_IDATA5_SIZE);
|
||||||
extern_rt_rel->contents = extern_rt_rel_d;
|
extern_rt_rel->contents = extern_rt_rel_d;
|
||||||
|
|
||||||
quick_reloc (abfd, 0, BFD_RELOC_RVA, 1);
|
quick_reloc (abfd, 0, BFD_RELOC_RVA, 1);
|
||||||
|
|
Loading…
Reference in New Issue