diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-09-17 18:31:14 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-09-17 18:31:14 +0000 |
commit | 1daa8083cb8c369cb80ba585afc3ca499de47870 (patch) | |
tree | 9b1a773914dd4e796f68f49b3e9dd0182c613050 | |
parent | e427656c90a675cb7b23bdf329936596d62c3bd4 (diff) | |
download | binutils-redhat-1daa8083cb8c369cb80ba585afc3ca499de47870.tar.gz |
Replace return FALSE with abort in x86 finish_dynamic_symbol
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Replace return
FALSE with abort.
* 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 d6d72bb9a0..cc4239c33d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2012-09-17 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_finish_dynamic_symbol): Replace return + FALSE with abort. + * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise. + 2012-09-17 Walter Lee <walt@tilera.com> * elf32-tilepro.c (tilepro_elf_relocate_section): Remove unused diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 25e3a33122..59feea2871 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -4520,7 +4520,7 @@ elf_i386_finish_dynamic_symbol (bfd *output_bfd, || plt == NULL || gotplt == NULL || relplt == NULL) - return FALSE; + abort (); /* 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 7daecb4ddf..cccc5cad25 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -4466,7 +4466,7 @@ elf_x86_64_finish_dynamic_symbol (bfd *output_bfd, || plt == NULL || gotplt == NULL || relplt == NULL) - return FALSE; + abort (); /* Get the index in the procedure linkage table which corresponds to this symbol. This is the index of this symbol |