aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-06-15 17:23:43 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-06-15 17:23:43 +0000
commit048cbda4419086de3a9dac2c18e2ec50fc655451 (patch)
tree4840df41d8ddfc7c453b8174461651a165c555f3
parentfe2ceba1015932a19f428ccc01143df437567be4 (diff)
downloadgdb-048cbda4419086de3a9dac2c18e2ec50fc655451.zip
gdb-048cbda4419086de3a9dac2c18e2ec50fc655451.tar.gz
gdb-048cbda4419086de3a9dac2c18e2ec50fc655451.tar.bz2
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-i386.c16
-rw-r--r--bfd/elf64-x86-64.c16
3 files changed, 21 insertions, 16 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f9d4a39..e89dc00 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index e6fc7bf..6cbf428 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -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;
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index efae09d..f7a48e9 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -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;