X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fcoff-tic80.c;h=49647bd7f19aad89967870fe29234eb1f1e5abab;hb=d310f46e3343f2575465fed65079fc6912dee9cf;hp=22d4e947b101a6aae270229695ea36fdc60fa820;hpb=68ffbac672c0d7f2566e715f878e65ed9b44795f;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/coff-tic80.c b/bfd/coff-tic80.c index 22d4e947b1..49647bd7f1 100644 --- a/bfd/coff-tic80.c +++ b/bfd/coff-tic80.c @@ -1,6 +1,5 @@ /* BFD back-end for Texas Instruments TMS320C80 Multimedia Video Processor (MVP). - Copyright 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, - 2012 Free Software Foundation, Inc. + Copyright (C) 1996-2016 Free Software Foundation, Inc. Written by Fred Fish (fnf@cygnus.com) @@ -563,7 +562,7 @@ coff_tic80_relocate_section (bfd *output_bfd, + sec->output_offset); } - else if (! info->relocatable) + else if (! bfd_link_relocatable (info)) { if (! ((*info->callbacks->undefined_symbol) (info, h->root.root.string, input_bfd, input_section, @@ -700,15 +699,6 @@ coff_tic80_relocate_section (bfd *output_bfd, return TRUE; } -/* Clear the r_reserved field in relocs. */ -#define SWAP_OUT_RELOC_EXTRA(abfd,src,dst) \ - do \ - { \ - dst->r_reserved[0] = 0; \ - dst->r_reserved[1] = 0; \ - } \ - while (0) - #define TIC80COFF 1 /* Customize coffcode.h */ #undef C_AUTOARG /* Clashes with TIc80's C_UEXT */ #undef C_LASTENT /* Clashes with TIc80's C_STATLAB */ @@ -719,4 +709,4 @@ coff_tic80_relocate_section (bfd *output_bfd, #include "coffcode.h" -CREATE_LITTLE_COFF_TARGET_VEC (tic80coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE) +CREATE_LITTLE_COFF_TARGET_VEC (tic80_coff_vec, "coff-tic80", D_PAGED, 0, '_', NULL, COFF_SWAP_TABLE)