+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.
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. */
+2009-06-22 Alan Modra <amodra@bigpond.net.au>
+
+ * ppc.h (R_PPC_RELAX*): Define as enum.
+
2009-06-11 Anthony Green <green@moxielogic.org>
* moxie.h (R_MOXIE_PCREL10): New.
RELOC_NUMBER (R_PPC_EMB_BIT_FLD, 115)
RELOC_NUMBER (R_PPC_EMB_RELSDA, 116)
+#ifndef RELOC_MACROS_GEN_FUNC
/* Fake relocations for branch stubs, only used internally by ld. */
-#define R_PPC_RELAX32 245
-#define R_PPC_RELAX32PC 246
-#define R_PPC_RELAX32_PLT 247
-#define R_PPC_RELAX32PC_PLT 248
+ RELOC_NUMBER (R_PPC_RELAX32, 245)
+ RELOC_NUMBER (R_PPC_RELAX32PC, 246)
+ RELOC_NUMBER (R_PPC_RELAX32_PLT, 247)
+ RELOC_NUMBER (R_PPC_RELAX32PC_PLT, 248)
+#endif
/* These are GNU extensions used in PIC code sequences. */
RELOC_NUMBER (R_PPC_REL16, 249)