X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=gas%2Fconfig%2Ftc-mcore.c;h=fe3317059b441cfbbc154178fc9778ba8c04ac88;hb=26c9b704106607f6fe37eab8036bb2c04f32375a;hp=9b59166b910fb4247d1d725cea0754350ded28a4;hpb=30cdfbed0247ee03f38db0daa4e211c4517fe3db;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-mcore.c b/gas/config/tc-mcore.c index 9b59166b91..fe3317059b 100644 --- a/gas/config/tc-mcore.c +++ b/gas/config/tc-mcore.c @@ -1,5 +1,5 @@ /* tc-mcore.c -- Assemble code for M*Core - Copyright 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -2371,12 +2371,10 @@ int mcore_force_relocation (fix) fixS * fix; { - if ( fix->fx_r_type == BFD_RELOC_VTABLE_INHERIT - || fix->fx_r_type == BFD_RELOC_VTABLE_ENTRY - || fix->fx_r_type == BFD_RELOC_RVA) + if (fix->fx_r_type == BFD_RELOC_RVA) return 1; - return S_FORCE_RELOC (fix->fx_addsy); + return generic_force_reloc (fix); } /* Return true if the fix can be handled by GAS, false if it must