1 /* TI COFF information for Texas Instruments TMS320C4X/C3X.
2 This file customizes the settings in coff/ti.h.
4 Copyright 2002, 2003 Free Software Foundation, Inc.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
23 #define TIC4X_TARGET_ID 0x0093
24 /* Octets per byte, as a power of two. */
25 #define TI_TARGET_ID TIC4X_TARGET_ID
26 #define OCTETS_PER_BYTE_POWER 2
27 /* Add to howto to get absolute/sect-relative version. */
29 #define TICOFF_TARGET_ARCH bfd_arch_tic4x
31 #define TICOFF_DEFAULT_MAGIC TICOFF2MAGIC
33 #define TICOFF_TARGET_MACHINE_GET(FLAGS) \
34 (((FLAGS) & F_VERS) ? bfd_mach_tic4x : bfd_mach_tic3x)
36 #define TICOFF_TARGET_MACHINE_SET(FLAGSP, MACHINE) \
39 if ((MACHINE) == bfd_mach_tic4x) \
40 *(FLAGSP) |= F_VERS; \
46 #endif /* COFF_TIC4X_H */
This page took 0.029638 seconds and 4 git commands to generate.