* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[deliverable/binutils-gdb.git] / gas / config / tc-alpha.h
CommitLineData
5749c497 1/* This file is tc-alpha.h
6543a7fb 2 Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
5749c497
KR
3 Written by Ken Raeburn <raeburn@cygnus.com>.
4
5 This file is part of GAS, the GNU Assembler.
6
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 2, or (at your option)
10 any later version.
11
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.
16
17 You should have received a copy of the GNU General Public License
6543a7fb
ILT
18 along with GAS; see the file COPYING. If not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
5749c497
KR
21
22#define TC_ALPHA
23
24#define TARGET_ARCH bfd_arch_alpha
25
26#define TARGET_FORMAT (OUTPUT_FLAVOR == bfd_target_ecoff_flavour \
27 ? "ecoff-littlealpha" \
28 : OUTPUT_FLAVOR == bfd_target_elf_flavour \
29 ? "elf64-alpha" \
30 : "unknown-format")
31
32#define NEED_LITERAL_POOL
33#define TC_HANDLES_FX_DONE
34#define REPEAT_CONS_EXPRESSIONS
35
36extern int alpha_force_relocation PARAMS ((struct fix *));
37extern int alpha_fix_adjustable PARAMS ((struct fix *));
5749c497
KR
38
39extern unsigned long alpha_gprmask, alpha_fprmask;
42426320 40extern valueT alpha_gp_value;
5749c497
KR
41
42#define TC_FORCE_RELOCATION(FIXP) alpha_force_relocation (FIXP)
43#define tc_fix_adjustable(FIXP) alpha_fix_adjustable (FIXP)
44#define RELOC_REQUIRES_SYMBOL
5749c497 45
42426320 46#define md_convert_frag(b,s,f) as_fatal ("alpha convert_frag\n")
5749c497
KR
47#define md_create_long_jump(p,f,t,fr,s) as_fatal("alpha_create_long_jump")
48#define md_create_short_jump(p,f,t,fr,s) as_fatal("alpha_create_short_jump")
49#define md_estimate_size_before_relax(f,s) \
50 (as_fatal("estimate_size_before_relax called"),1)
265d172e 51#define md_operand(x) ((void) (0))
5749c497 52
6543a7fb
ILT
53#ifdef OBJ_ECOFF
54#define LOCAL_LABEL(name) ((name)[0] == 'L')
55#endif
56#ifdef OBJ_ELF
57#define LOCAL_LABEL(name) ((name)[0] == '$')
58#define FAKE_LABEL_NAME "$L0\001"
59#endif
5749c497
KR
60
61#define md_number_to_chars number_to_chars_littleendian
62
265d172e
ILT
63extern int tc_get_register PARAMS ((int frame));
64extern void alpha_frob_ecoff_data PARAMS ((void));
65
66#define tc_frob_label(sym) alpha_define_label (sym)
67extern void alpha_define_label PARAMS ((struct symbol *));
42426320 68
6543a7fb
ILT
69#define md_cons_align(nbytes) alpha_cons_align (nbytes)
70extern void alpha_cons_align PARAMS ((int));
71
This page took 0.203948 seconds and 4 git commands to generate.