Fix overflow detection in the Z80 assembler.
[binutils-gdb.git] / gas / config / tc-or1k.h
index 18e22a5d85138c3d8b149f3a5816609f977fb157..a5782fd8f352a0bf24e1fea9f0ba0650e6aaac62 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-or1k.h -- Header file for tc-or1k.c.
-   Copyright 2001-2014 Free Software Foundation, Inc.
+   Copyright (C) 2001-2021 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -46,19 +46,16 @@ extern const char or1k_comment_chars [];
 #define md_apply_fix or1k_apply_fix
 extern void or1k_apply_fix (struct fix *, valueT *, segT);
 
-extern bfd_boolean or1k_fix_adjustable (struct fix *);
+extern bool or1k_fix_adjustable (struct fix *);
 #define tc_fix_adjustable(FIX) or1k_fix_adjustable (FIX)
 
 /* Call md_pcrel_from_section(), not md_pcrel_from().  */
-extern long md_pcrel_from_section (struct fix *, segT);
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
 
 /* For 8 vs 16 vs 32 bit branch selection.  */
 extern const struct relax_type md_relax_table[];
 #define TC_GENERIC_RELAX_TABLE md_relax_table
 
-#define GAS_CGEN_PCREL_R_TYPE(r_type) gas_cgen_pcrel_r_type(r_type)
-
 #define elf_tc_final_processing or1k_elf_final_processing
 void or1k_elf_final_processing (void);
 
@@ -77,3 +74,5 @@ void or1k_elf_final_processing (void);
 #define tc_cfi_frame_initial_instructions \
     or1k_cfi_frame_initial_instructions
 extern void or1k_cfi_frame_initial_instructions (void);
+
+#define md_single_noop_insn "l.nop"