/* tc-cris.h -- Header file for tc-cris.c, the CRIS GAS port.
- Copyright 2000, 2001, 2002, 2003, 2004, 2005
- Free Software Foundation, Inc.
+ Copyright (C) 2000-2020 Free Software Foundation, Inc.
Contributed by Axis Communications AB, Lund, Sweden.
Originally written for GAS 1.38.1 by Mikael Asker.
GAS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
GAS is distributed in the hope that it will be useful,
extern const char cris_comment_chars[];
extern const char line_comment_chars[];
extern const char line_separator_chars[];
-extern const char EXP_CHARS[];
-extern const char FLT_CHARS[];
/* This should be optional, since it is ignored as an escape (assumed to
be itself) if it is not recognized. */
#define md_operand(x)
#define md_number_to_chars number_to_chars_littleendian
-
-/* There's no use having different functions for this; the sizes are the
- same. Note that we can't #define md_short_jump_size here. */
-#define md_create_short_jump md_create_long_jump
-
extern const struct relax_type md_cris_relax_table[];
#define TC_GENERIC_RELAX_TABLE md_cris_relax_table
|| (RTYPE) == BFD_RELOC_CRIS_32_PLT_PCREL)
/* Make sure we don't resolve fixups for which we want to emit dynamic
- relocations. FIXME: Set fx_plt instead of using IS_CRIS_PIC_RELOC. */
+ relocations. */
#define TC_FORCE_RELOCATION_LOCAL(FIX) \
- (!(FIX)->fx_pcrel \
- || (FIX)->fx_plt \
- || IS_CRIS_PIC_RELOC ((FIX)->fx_r_type) \
- || TC_FORCE_RELOCATION (FIX))
+ (GENERIC_FORCE_RELOCATION_LOCAL (FIX) \
+ || IS_CRIS_PIC_RELOC ((FIX)->fx_r_type))
/* For some reloc types, don't adjust fixups by reducing to a section
symbol. */