2009-06-15 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 15 Jun 2009 17:23:43 +0000 (17:23 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 15 Jun 2009 17:23:43 +0000 (17:23 +0000)
* elf32-i386.c (elf_i386_check_relocs): Reformat.
* elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.

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

index f9d4a39..e89dc00 100644 (file)
@@ -1,5 +1,10 @@
 2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
 
+       * elf32-i386.c (elf_i386_check_relocs): Reformat.
+       * elf64-x86-64.c (elf64_x86_64_check_relocs): Likewise.
+
+2009-06-15  H.J. Lu  <hongjiu.lu@intel.com>
+
        * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerated.
 
index e6fc7bf..6cbf428 100644 (file)
@@ -1472,16 +1472,16 @@ elf_i386_check_relocs (bfd *abfd,
 
              switch (r_type)
                {
-                default:
-                  (*_bfd_error_handler)
-                    (_("%B: relocation %s against STT_GNU_IFUNC "
-                       "symbol `%s' isn't handled by %s"), abfd,
-                     elf_howto_table[r_type].name,
+               default:
+                 (*_bfd_error_handler)
+                   (_("%B: relocation %s against STT_GNU_IFUNC "
+                      "symbol `%s' isn't handled by %s"), abfd,
+                    elf_howto_table[r_type].name,
                     (h->root.root.string
                      ? h->root.root.string : "a local symbol"),
-                     __FUNCTION__);
-                  bfd_set_error (bfd_error_bad_value);
-                  return FALSE;
+                    __FUNCTION__);
+                 bfd_set_error (bfd_error_bad_value);
+                 return FALSE;
 
                case R_386_32:
                  h->non_got_ref = 1;
index efae09d..f7a48e9 100644 (file)
@@ -1258,16 +1258,16 @@ elf64_x86_64_check_relocs (bfd *abfd, struct bfd_link_info *info,
 
              switch (r_type)
                {
-                default:
-                  (*_bfd_error_handler)
-                    (_("%B: relocation %s against STT_GNU_IFUNC "
-                       "symbol `%s' isn't handled by %s"), abfd,
-                     x86_64_elf_howto_table[r_type].name,
+               default:
+                 (*_bfd_error_handler)
+                   (_("%B: relocation %s against STT_GNU_IFUNC "
+                      "symbol `%s' isn't handled by %s"), abfd,
+                    x86_64_elf_howto_table[r_type].name,
                     (h->root.root.string
                      ? h->root.root.string : "a local symbol"),
-                     __FUNCTION__);
-                  bfd_set_error (bfd_error_bad_value);
-                  return FALSE;
+                    __FUNCTION__);
+                 bfd_set_error (bfd_error_bad_value);
+                 return FALSE;
 
                case R_X86_64_64:
                  h->non_got_ref = 1;