PR 11225
[binutils/dougsmingw.git] / gas / config / tc-lm32.h
blobdbba939d06b10f61d5d4920426d6b9ceb3b94ef2
1 /* tc-lm32.h -- Header file for tc-lm32.c
2 Copyright 2008 Free Software Foundation, Inc.
3 Contributed by Jon Beniston <jon@beniston.com>
5 This file is part of GAS, the GNU Assembler.
7 GAS is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
12 GAS is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License along
18 with GAS; see the file COPYING. If not, write to the Free Software
19 Foundation, 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
22 #ifndef TC_LM32_H
23 #define TC_LM32_H
25 #define TARGET_FORMAT "elf32-lm32"
26 #define TARGET_ARCH bfd_arch_lm32
27 #define TARGET_MACH bfd_mach_lm32
29 #define TARGET_BYTES_BIG_ENDIAN 1
31 /* Permit temporary numeric labels. */
32 #define LOCAL_LABELS_FB 1
34 #define WORKING_DOT_WORD
36 /* Values passed to md_apply_fix3 don't include the symbol value. */
37 #define MD_APPLY_SYM_VALUE(FIX) 0
39 #define md_operand(X)
40 #define tc_gen_reloc gas_cgen_tc_gen_reloc
42 /* Call md_pcrel_from_section(), not md_pcrel_from(). */
43 extern long md_pcrel_from_section (struct fix *, segT);
44 #define MD_PCREL_FROM_SECTION(FIXP, SEC) md_pcrel_from_section (FIXP, SEC)
46 extern bfd_boolean lm32_fix_adjustable (struct fix *);
47 #define tc_fix_adjustable(FIX) lm32_fix_adjustable (FIX)
49 #endif /* TC_LM32_H */