aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-ppc.c4
-rw-r--r--bfd/elf32-v850.c2
3 files changed, 10 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 52f3ca5..11bfbfc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2009-06-22 Alan Modra <amodra@bigpond.net.au>
+ * elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch.
+ * elf32-v850.c (v850_elf_relocate_section): Warning fix.
+
+2009-06-22 Alan Modra <amodra@bigpond.net.au>
+
* elf64-ppc.c (ppc64_elf_edit_opd): Avoid gcc warning.
2009-06-19 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 7aafbeb..0a27ffd 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -3643,6 +3643,10 @@ ppc_elf_check_relocs (bfd *abfd,
case R_PPC_EMB_MRKREF:
case R_PPC_NONE:
case R_PPC_max:
+ case R_PPC_RELAX32:
+ case R_PPC_RELAX32PC:
+ case R_PPC_RELAX32_PLT:
+ case R_PPC_RELAX32PC_PLT:
break;
/* These should only appear in dynamic objects. */
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index 5ecfa69..fa9dedf 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -1680,7 +1680,7 @@ v850_elf_relocate_section (bfd *output_bfd,
name = bfd_section_name (input_bfd, sec);
}
- switch (r)
+ switch ((int) r)
{
case bfd_reloc_overflow:
if (! ((*info->callbacks->reloc_overflow)