X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-cris.h;h=bdff71e96c0af9452f254fb2b5882c277bd14a82;hb=d4340f89eccb0b0a0811e142ce365efc48beb064;hp=8737232491e2f7ace5b04c2146eb0d3e3b743a3e;hpb=2571583aed598dd3f9651b53434e5f177a0e3cf7;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-cris.h b/gas/config/tc-cris.h index 8737232491..bdff71e96c 100644 --- a/gas/config/tc-cris.h +++ b/gas/config/tc-cris.h @@ -1,5 +1,5 @@ /* tc-cris.h -- Header file for tc-cris.c, the CRIS GAS port. - Copyright (C) 2000-2017 Free Software Foundation, Inc. + Copyright (C) 2000-2019 Free Software Foundation, Inc. Contributed by Axis Communications AB, Lund, Sweden. Originally written for GAS 1.38.1 by Mikael Asker. @@ -93,9 +93,8 @@ extern int md_cris_force_relocation (struct fix *); /* Make sure we don't resolve fixups for which we want to emit dynamic relocations. */ #define TC_FORCE_RELOCATION_LOCAL(FIX) \ - (!(FIX)->fx_pcrel \ - || IS_CRIS_PIC_RELOC ((FIX)->fx_r_type) \ - || TC_FORCE_RELOCATION (FIX)) + (GENERIC_FORCE_RELOCATION_LOCAL (FIX) \ + || IS_CRIS_PIC_RELOC ((FIX)->fx_r_type)) /* For some reloc types, don't adjust fixups by reducing to a section symbol. */