]> Git Repo - binutils.git/blobdiff - gas/config/tc-i960.h
Fix sh-elf linker relaxation:
[binutils.git] / gas / config / tc-i960.h
index f75fc3ba567ac216b60224854a22d7bfd112bc48..59269359b67d3dcfbe6b50b1784c7cfbc4767d62 100644 (file)
@@ -1,6 +1,6 @@
 /* tc-i960.h - Basic 80960 instruction formats.
    Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1997, 1998, 1999,
-   2000, 2002
+   2000, 2002, 2003
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -134,7 +134,8 @@ struct relocation_info
    as the target of a call instruction.  */
 #define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEG) \
   ((FIX)->fx_tcbit                             \
-   || ! SEG_NORMAL (SEG))
+   || ! SEG_NORMAL (SEG)                       \
+   || TC_FORCE_RELOCATION (FIX))
 
 /* reloc_callj() may replace a 'call' with a 'calls' or a
    'bal', in which cases it modifies *fixP as appropriate.
@@ -160,7 +161,7 @@ extern int reloc_callj PARAMS ((struct fix *));
   { fixS *tcfixp = (FIX); \
     for (;tcfixp;tcfixp=tcfixp->fx_next) \
       if (tcfixp->fx_tcbit && tcfixp->fx_addsy != 0) \
-        ++(COUNT); \
+       ++(COUNT); \
   }
 #endif
 
This page took 0.024704 seconds and 4 git commands to generate.