]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Replace return FALSE with abort in x86 finish_dynamic_symbol
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 17 Sep 2012 18:31:15 +0000 (18:31 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 17 Sep 2012 18:31:15 +0000 (18:31 +0000)
* elf32-i386.c (elf_i386_finish_dynamic_symbol): Replace return
FALSE with abort.
* elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Likewise.

bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c

index d6d72bb9a03a1ba2f923cb2129a6caf6e8bb1c44..cc4239c33db292edf21cee52544dbbb211ce5c67 100644 (file)
@@ -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
index 25e3a33122fbf6dd68d772032693ad3e0598ba2d..59feea287135fd92f881e5a748383e8d866f635d 100644 (file)
@@ -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
index 7daecb4ddf42062b3bf0a31a747c859e6d3d4e1f..cccc5cad25a4f104392a787869b7782d7d824573 100644 (file)
@@ -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