X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-cris.h;h=ce16e97c521c5b10531c7edaef6a0f8851644d6e;hb=feb4bea70a297eb6316d1b0685bbbb8095b7fb29;hp=c84a2b7491b98ca1fc167f6ff8fc24246aa09e43;hpb=4b4da1607aeed19ac399963a3aa12b0417e477ae;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-cris.h b/gas/config/tc-cris.h index c84a2b7491..ce16e97c52 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 - Free Software Foundation, Inc. + Copyright (C) 2000-2016 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 @@ -99,10 +91,9 @@ extern int md_cris_force_relocation (struct fix *); || (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)) @@ -114,6 +105,13 @@ extern int md_cris_force_relocation (struct fix *); && (! IS_CRIS_PIC_RELOC ((FIX)->fx_r_type) \ || (FIX)->fx_r_type == BFD_RELOC_CRIS_32_GOTREL)) +/* FIXME: This *should* be a redundant definition, as the + TC_FORCE_RELOCATION* definitions already told about the cases where + we *don't* want the symbol value calculated. Here we seem to answer + the "are you sure" question. It certainly has very little to do with + whether the symbol value is passed to md_apply_fix. */ +#define MD_APPLY_SYM_VALUE(FIX) 0 + /* When we have fixups against constant expressions, we get a GAS-specific section symbol at no extra charge for obscure reasons in adjust_reloc_syms. Since ELF outputs section symbols, it gladly