Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: bfd/coff-tic54x.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bfd/coff-tic4x.c ('k') | bfd/coff-tic80.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* BFD back-end for TMS320C54X coff binaries. 1 /* BFD back-end for TMS320C54X coff binaries.
2 Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2011, 2012 2 Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2011, 2012
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 Contributed by Timothy Wall (twall@cygnus.com) 4 Contributed by Timothy Wall (twall@cygnus.com)
5 5
6 This file is part of BFD, the Binary File Descriptor library. 6 This file is part of BFD, the Binary File Descriptor library.
7 7
8 This program is free software; you can redistribute it and/or modify 8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by 9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or 10 the Free Software Foundation; either version 3 of the License, or
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 ticoff_bfd_is_local_label_name (bfd *abfd ATTRIBUTE_UNUSED, 316 ticoff_bfd_is_local_label_name (bfd *abfd ATTRIBUTE_UNUSED,
317 const char *name) 317 const char *name)
318 { 318 {
319 if (TICOFF_LOCAL_LABEL_P(name)) 319 if (TICOFF_LOCAL_LABEL_P(name))
320 return TRUE; 320 return TRUE;
321 return FALSE; 321 return FALSE;
322 } 322 }
323 323
324 #define coff_bfd_is_local_label_name ticoff_bfd_is_local_label_name 324 #define coff_bfd_is_local_label_name ticoff_bfd_is_local_label_name
325 325
326 /* Clear the r_reserved field in relocs. */
327 #define SWAP_OUT_RELOC_EXTRA(abfd,src,dst) \
328 do \
329 { \
330 dst->r_reserved[0] = 0; \
331 dst->r_reserved[1] = 0; \
332 } \
333 while (0)
334
335 /* Customize coffcode.h; the default coff_ functions are set up to use COFF2; 326 /* Customize coffcode.h; the default coff_ functions are set up to use COFF2;
336 coff_bad_format_hook uses BADMAG, so set that for COFF2. The COFF1 327 coff_bad_format_hook uses BADMAG, so set that for COFF2. The COFF1
337 and COFF0 vectors use custom _bad_format_hook procs instead of setting 328 and COFF0 vectors use custom _bad_format_hook procs instead of setting
338 BADMAG. */ 329 BADMAG. */
339 #define BADMAG(x) COFF2_BADMAG(x) 330 #define BADMAG(x) COFF2_BADMAG(x)
340 331
341 #ifndef bfd_pe_print_pdata 332 #ifndef bfd_pe_print_pdata
342 #define bfd_pe_print_pdata NULL 333 #define bfd_pe_print_pdata NULL
343 #endif 334 #endif
344 335
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 BFD_JUMP_TABLE_SYMBOLS (coff), 664 BFD_JUMP_TABLE_SYMBOLS (coff),
674 BFD_JUMP_TABLE_RELOCS (coff), 665 BFD_JUMP_TABLE_RELOCS (coff),
675 BFD_JUMP_TABLE_WRITE (tic54x), 666 BFD_JUMP_TABLE_WRITE (tic54x),
676 BFD_JUMP_TABLE_LINK (coff), 667 BFD_JUMP_TABLE_LINK (coff),
677 BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic), 668 BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
678 669
679 & tic54x_coff2_vec, 670 & tic54x_coff2_vec,
680 671
681 COFF_SWAP_TABLE 672 COFF_SWAP_TABLE
682 }; 673 };
OLDNEW
« no previous file with comments | « bfd/coff-tic4x.c ('k') | bfd/coff-tic80.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698