Use CXXCOMPILE in gold/testsuite/Makefile for c++ testcases
[deliverable/binutils-gdb.git] / gas / config / tc-i386.h
index 28f03cf2dbe21d64621489a136710e2db1717a9a..cb426b5b911de13dafd8fb8445353c03f0591176 100644 (file)
@@ -1,5 +1,5 @@
 /* tc-i386.h -- Header file for tc-i386.c
-   Copyright (C) 1989-2019 Free Software Foundation, Inc.
+   Copyright (C) 1989-2020 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -180,6 +180,14 @@ extern int tc_i386_fix_adjustable (struct fix *);
    || (FIX)->fx_r_type == BFD_RELOC_X86_64_GOTPCRELX           \
    || (FIX)->fx_r_type == BFD_RELOC_X86_64_REX_GOTPCRELX)
 
+#define TC_FORCE_RELOCATION_ABS(FIX)                           \
+  (TC_FORCE_RELOCATION (FIX)                                   \
+   || (FIX)->fx_r_type == BFD_RELOC_386_GOT32                  \
+   || (FIX)->fx_r_type == BFD_RELOC_386_GOT32X                 \
+   || (FIX)->fx_r_type == BFD_RELOC_X86_64_GOTPCREL            \
+   || (FIX)->fx_r_type == BFD_RELOC_X86_64_GOTPCRELX           \
+   || (FIX)->fx_r_type == BFD_RELOC_X86_64_REX_GOTPCRELX)
+
 extern int i386_parse_name (char *, expressionS *, char *);
 #define md_parse_name(s, e, m, c) i386_parse_name (s, e, c)
 
@@ -273,6 +281,7 @@ struct i386_tc_frag_data
   unsigned char prefix_length;
   unsigned char default_prefix;
   unsigned char cmp_size;
+  unsigned int mf_type : 3;
   unsigned int classified : 1;
   unsigned int branch_type : 3;
 };
@@ -299,6 +308,7 @@ struct i386_tc_frag_data
      (FRAGP)->tc_frag_data.cmp_size = 0;                       \
      (FRAGP)->tc_frag_data.classified = 0;                     \
      (FRAGP)->tc_frag_data.branch_type = 0;                    \
+     (FRAGP)->tc_frag_data.mf_type = 0;                        \
    }                                                           \
  while (0)
 
This page took 0.023629 seconds and 4 git commands to generate.