* elf32-i386.c (elf_i386_check_relocs): Don't cast a unary &
[binutils.git] / bfd / coff-go32.c
blob65306d3059c03f42c510bf27a62340c7c1074f9f
1 /* BFD back-end for Intel 386 COFF files (DJGPP variant).
2 Copyright 1990, 1991, 1992, 1993, 1994, 1999, 2000, 2001
3 Free Software Foundation, Inc.
4 Written by DJ Delorie.
6 This file is part of BFD, the Binary File Descriptor library.
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
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
22 #define TARGET_SYM go32coff_vec
23 #define TARGET_NAME "coff-go32"
24 #define TARGET_UNDERSCORE '_'
25 #define COFF_LONG_SECTION_NAMES
26 #define COFF_SUPPORT_GNU_LINKONCE
27 #define COFF_LONG_FILENAMES
29 #define COFF_SECTION_ALIGNMENT_ENTRIES \
30 { COFF_SECTION_NAME_EXACT_MATCH (".data"), \
31 COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
32 { COFF_SECTION_NAME_EXACT_MATCH (".text"), \
33 COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
34 { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.d"), \
35 COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
36 { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.t"), \
37 COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
38 { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.r"), \
39 COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
40 { COFF_SECTION_NAME_PARTIAL_MATCH (".debug"), \
41 COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }, \
42 { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.wi"), \
43 COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }
45 #include "coff-i386.c"