mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 19:14:52 +08:00
2008-12-02 Kai Tietz <kai.tietz@onevision.com>
* pe-dll.c (make_runtime_pseudo_reloc): Make symtab big enough to hold relocations.
This commit is contained in:
parent
f96fc22a9d
commit
acac4c6962
@ -1,3 +1,8 @@
|
||||
2008-12-02 Kai Tietz <kai.tietz@onevision.com>
|
||||
|
||||
* pe-dll.c (make_runtime_pseudo_reloc): Make symtab big enough to
|
||||
hold relocations.
|
||||
|
||||
2008-11-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
|
||||
|
||||
* emultempl/cr16elf.em (cr16_after_open): New function to handle
|
||||
|
@ -2284,7 +2284,14 @@ make_runtime_pseudo_reloc (const char *name ATTRIBUTE_UNUSED,
|
||||
bfd_set_arch_mach (abfd, pe_details->bfd_arch, 0);
|
||||
|
||||
symptr = 0;
|
||||
symtab = xmalloc (2 * sizeof (asymbol *));
|
||||
if (link_info.pei386_runtime_pseudo_reloc == 2)
|
||||
{
|
||||
symtab = xmalloc ((runtime_pseudp_reloc_v2_init ? 3 : 6) * sizeof (asymbol *));
|
||||
}
|
||||
else
|
||||
{
|
||||
symtab = xmalloc (2 * sizeof (asymbol *));
|
||||
}
|
||||
rt_rel = quick_section (abfd, ".rdata_runtime_pseudo_reloc",
|
||||
SEC_HAS_CONTENTS, 2);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user