diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2011-04-21 21:16:51 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2011-04-21 21:16:51 +0000 |
commit | f6df62c820e674bda7550f998e83f8b95f22d0fb (patch) | |
tree | 8cecb6ce37ad92c79f0285fcfa9b1de5e35965d5 | |
parent | bcb28afc532c6defc36fd52db211f3a785a8a6ef (diff) | |
download | gdb-f6df62c820e674bda7550f998e83f8b95f22d0fb.zip gdb-f6df62c820e674bda7550f998e83f8b95f22d0fb.tar.gz gdb-f6df62c820e674bda7550f998e83f8b95f22d0fb.tar.bz2 |
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.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elf32-i386.c | 2 | ||||
-rw-r--r-- | bfd/elf64-x86-64.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 94f3e22..225a3fb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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. diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 8934d27..1bdc05e 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -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 diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 84ee101..6190a98 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -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 |