2005-08-03 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Resize .rela.got only if it isn't NULL.
This commit is contained in:
parent
66096db758
commit
90b263f311
|
@ -1,3 +1,8 @@
|
||||||
|
2005-08-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* elfxx-ia64.c (elfNN_ia64_relax_section): Resize .rela.got
|
||||||
|
only if it isn't NULL.
|
||||||
|
|
||||||
2005-08-03 H.J. Lu <hongjiu.lu@intel.com>
|
2005-08-03 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* elf32-i386.c (elf_howto_table): Undo the overflow change for
|
* elf32-i386.c (elf_howto_table): Undo the overflow change for
|
||||||
|
|
|
@ -1338,7 +1338,8 @@ elfNN_ia64_relax_section (abfd, sec, link_info, again)
|
||||||
elfNN_ia64_dyn_sym_traverse (ia64_info, allocate_local_got, &data);
|
elfNN_ia64_dyn_sym_traverse (ia64_info, allocate_local_got, &data);
|
||||||
ia64_info->got_sec->size = data.ofs;
|
ia64_info->got_sec->size = data.ofs;
|
||||||
|
|
||||||
if (ia64_info->root.dynamic_sections_created)
|
if (ia64_info->root.dynamic_sections_created
|
||||||
|
&& ia64_info->rel_got_sec != NULL)
|
||||||
{
|
{
|
||||||
/* Resize .rela.got. */
|
/* Resize .rela.got. */
|
||||||
ia64_info->rel_got_sec->size = 0;
|
ia64_info->rel_got_sec->size = 0;
|
||||||
|
|
Loading…
Reference in New Issue