i386: Add tests for -malign-branch-boundary and -malign-branch
[deliverable/binutils-gdb.git] / gas / config / tc-ppc.h
index 08e381e293c25eb8c0443811bd5dc03e53d472d7..2b18ecda2fd15e140efe050ace4db2e7b9bbb464 100644 (file)
@@ -82,6 +82,9 @@ extern const char *ppc_target_format (void);
   if ((FRAGP)->fr_type == rs_align_code)                               \
     ppc_handle_align (FRAGP);
 
+extern unsigned int ppc_nop_select (void);
+#define NOP_OPCODE ppc_nop_select ()
+
 extern void ppc_handle_align (struct frag *);
 extern void ppc_frag_check (struct frag *);
 
@@ -273,7 +276,13 @@ extern int ppc_force_relocation (struct fix *);
      || (FIX)->fx_r_type == BFD_RELOC_PPC64_HIGHER_S           \
      || (FIX)->fx_r_type == BFD_RELOC_PPC64_HIGHEST            \
      || (FIX)->fx_r_type == BFD_RELOC_PPC64_HIGHEST_S          \
-     || (FIX)->fx_r_type == BFD_RELOC_PPC_16DX_HA))
+     || (FIX)->fx_r_type == BFD_RELOC_PPC64_ADDR16_HIGHER34    \
+     || (FIX)->fx_r_type == BFD_RELOC_PPC64_ADDR16_HIGHERA34   \
+     || (FIX)->fx_r_type == BFD_RELOC_PPC64_ADDR16_HIGHEST34   \
+     || (FIX)->fx_r_type == BFD_RELOC_PPC64_ADDR16_HIGHESTA34  \
+     || (FIX)->fx_r_type == BFD_RELOC_PPC_16DX_HA              \
+     || (FIX)->fx_r_type == BFD_RELOC_PPC64_D34                        \
+     || (FIX)->fx_r_type == BFD_RELOC_PPC64_D28))
 #endif
 
 #define TC_VALIDATE_FIX_SUB(FIX, SEG) 0
This page took 0.02558 seconds and 4 git commands to generate.