Return false on dynamic symbol error.

2011-04-21  H.J. Lu  <hongjiu.lu@intel.com>

	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Return false
	on dynamic symbol error.
	* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
This commit is contained in:
H.J. Lu 2011-04-21 21:16:51 +00:00
parent bcb28afc53
commit f6df62c820
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2011-04-21 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Return false
on dynamic symbol error.
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.
2011-04-20 Tristan Gingold <gingold@adacore.com>
* config.bfd (alpha*-*-*vms*, ia64*-*-*vms*): Define targ_selvecs.

View File

@ -4189,7 +4189,7 @@ elf_i386_finish_dynamic_symbol (bfd *output_bfd,
|| plt == NULL
|| gotplt == NULL
|| relplt == NULL)
abort ();
return FALSE;
/* Get the index in the procedure linkage table which
corresponds to this symbol. This is the index of this symbol

View File

@ -3961,7 +3961,7 @@ elf_x86_64_finish_dynamic_symbol (bfd *output_bfd,
|| plt == NULL
|| gotplt == NULL
|| relplt == NULL)
abort ();
return FALSE;
/* Get the index in the procedure linkage table which
corresponds to this symbol. This is the index of this symbol