include/elf/
[deliverable/binutils-gdb.git] / include / elf / ppc.h
index 06df6303e441b6622b82ca8e0ebcb659c799e06f..8f4ed9e18bc776870ab024cba6b17731334ee9a7 100644 (file)
@@ -122,11 +122,13 @@ START_RELOC_NUMBERS (elf_ppc_reloc_type)
   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)
This page took 0.040411 seconds and 4 git commands to generate.