[AArch64] Fix typo in comments on relocation name
[deliverable/binutils-gdb.git] / gas / config / tc-i960.h
index 17c509746b7f92df7072e0936ea7ec1231091567..96cdd319f2fd19b14c855a172cff932abfff71d1 100644 (file)
@@ -1,7 +1,5 @@
 /* tc-i960.h - Basic 80960 instruction formats.
-   Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2005, 2007, 2008
-   Free Software Foundation, Inc.
+   Copyright (C) 1989-2017 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -124,8 +122,8 @@ struct relocation_info
 /* Makes no sense to use the difference of 2 arbitrary symbols
    as the target of a call instruction.  */
 #define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEG) \
-  ((FIX)->fx_tcbit                             \
-   || ! SEG_NORMAL (SEG)                       \
+  (GENERIC_FORCE_RELOCATION_SUB_SAME (FIX, SEG)        \
+   || (FIX)->fx_tcbit                          \
    || TC_FORCE_RELOCATION (FIX))
 
 /* reloc_callj() may replace a 'call' with a 'calls' or a
@@ -138,8 +136,7 @@ extern int reloc_callj (struct fix *);
    || reloc_callj (FIX))
 
 #define TC_FORCE_RELOCATION_LOCAL(FIX)         \
-  (!(FIX)->fx_pcrel                            \
-   || TC_FORCE_RELOCATION (FIX)                \
+  (GENERIC_FORCE_RELOCATION_LOCAL (FIX)                \
    || reloc_callj (FIX))
 
 #ifdef OBJ_COFF
@@ -147,12 +144,6 @@ extern int reloc_callj (struct fix *);
 /* We store the bal information in the sy_tc field.  */
 #define TC_SYMFIELD_TYPE symbolS *
 
-#define TC_ADJUST_RELOC_COUNT(FIX,COUNT) \
-  { fixS *tcfixp = (FIX); \
-    for (;tcfixp;tcfixp=tcfixp->fx_next) \
-      if (tcfixp->fx_tcbit && tcfixp->fx_addsy != 0) \
-       ++(COUNT); \
-  }
 #endif
 
 extern int i960_validate_fix (struct fix *, segT);
This page took 0.024039 seconds and 4 git commands to generate.