X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-cris.h;h=76c988333f9358e15524f224acc58244fd3deb1d;hb=301a9420d947da145884261ac31a7a52438c2894;hp=59bbc071637938efc0d5e0116db8aec3a7cf270c;hpb=20ee54e8179d55eb972076578d9642dabd8abff8;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-cris.h b/gas/config/tc-cris.h index 59bbc07163..76c988333f 100644 --- a/gas/config/tc-cris.h +++ b/gas/config/tc-cris.h @@ -1,6 +1,5 @@ /* tc-cris.h -- Header file for tc-cris.c, the CRIS GAS port. - Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2007 - 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. @@ -10,7 +9,7 @@ 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, @@ -55,8 +54,6 @@ extern const pseudo_typeS md_pseudo_table[]; 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. */ @@ -68,11 +65,6 @@ extern const char FLT_CHARS[]; #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 @@ -101,9 +93,8 @@ extern int md_cris_force_relocation (struct fix *); /* Make sure we don't resolve fixups for which we want to emit dynamic relocations. */ #define TC_FORCE_RELOCATION_LOCAL(FIX) \ - (!(FIX)->fx_pcrel \ - || 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. */