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 f9d4a3942a80930e434d2a53b4a34539bea59fd0..e89dc008d877431c49e4f02dddd97e11e86c3435 100644 (file)
@@ -1,3 +1,8 @@
+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".
index e6fc7bff8dc2f01b2b2483a021456dbe7c257a1b..6cbf428e01b39703b1d2258d32551d2dba431280 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 efae09d57e6d50ad0f552b2bbe8a50000d65bdd2..f7a48e93f4909f364138a5c4b6a098d4d10bc1b0 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;