gas: Fix checking for backwards .org with negative offset
[deliverable/binutils-gdb.git] / gas / config / tc-d30v.h
index da7326f6dd245ab0668a223c5f485f47b277618f..0454d44ddfda5bbc25bbd12c70a6fb50382aec4e 100644 (file)
@@ -1,6 +1,5 @@
 /* tc-310v.h -- Header file for tc-d30v.c.
-   Copyright 1997, 1998, 2000, 2001, 2002, 2005, 2007
-   Free Software Foundation, Inc.
+   Copyright (C) 1997-2020 Free Software Foundation, Inc.
    Written by Martin Hunt, Cygnus Support.
 
    This file is part of GAS, the GNU Assembler.
@@ -30,8 +29,6 @@
 #define md_operand(x)
 
 /* Call md_pcrel_from_section, not md_pcrel_from.  */
-struct fix;
-extern long md_pcrel_from_section (struct fix *, segT);
 #define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
 
 /* Permit temporary numeric labels.  */
@@ -46,9 +43,9 @@ extern long md_pcrel_from_section (struct fix *, segT);
 #define md_number_to_chars           number_to_chars_bigendian
 
 int d30v_cleanup (int);
-#define md_after_pass_hook()        d30v_cleanup (FALSE)
 #define md_cleanup()                d30v_cleanup (FALSE)
-#define TC_START_LABEL(ch, s, ptr)      (ch == ':' && d30v_cleanup (FALSE))
+#define TC_START_LABEL(STR, NUL_CHAR, NEXT_CHAR)       \
+  (NEXT_CHAR == ':' && d30v_cleanup (FALSE))
 void d30v_start_line (void);
 #define md_start_line_hook()        d30v_start_line ()
 
This page took 0.023024 seconds and 4 git commands to generate.