~ubuntu-branches/ubuntu/hoary/binutils/hoary

« back to all changes in this revision

Viewing changes to gas/config/tc-d30v.h

  • Committer: Bazaar Package Importer
  • Author(s): James Troup
  • Date: 2004-05-19 10:35:44 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040519103544-17h3o6e8pwndydrg
Tags: 2.14.90.0.7-8
debian/rules: don't use gcc-2.95 on m68k.  Thanks to Adam Conrad for
pointing this out.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* tc-310v.h -- Header file for tc-d30v.c.
 
2
   Copyright 1997, 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
 
3
   Written by Martin Hunt, Cygnus Support.
 
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
 
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.  */
 
21
 
 
22
#define TC_D30V
 
23
 
 
24
#ifndef BFD_ASSEMBLER
 
25
 #error D30V support requires BFD_ASSEMBLER
 
26
#endif
 
27
 
 
28
/* The target BFD architecture.  */
 
29
#define TARGET_ARCH bfd_arch_d30v
 
30
#define TARGET_FORMAT "elf32-d30v"
 
31
#define TARGET_BYTES_BIG_ENDIAN 1
 
32
 
 
33
#define md_operand(x)
 
34
 
 
35
/* Call md_pcrel_from_section, not md_pcrel_from.  */
 
36
struct fix;
 
37
extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
 
38
#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section(FIX, SEC)
 
39
 
 
40
/* Permit temporary numeric labels.  */
 
41
#define LOCAL_LABELS_FB 1
 
42
 
 
43
#define DIFF_EXPR_OK            /* .-foo gets turned into PC relative relocs */
 
44
 
 
45
/* We don't need to handle .word strangely.  */
 
46
#define WORKING_DOT_WORD
 
47
 
 
48
#define md_number_to_chars           number_to_chars_bigendian
 
49
 
 
50
int d30v_cleanup PARAMS ((int));
 
51
#define md_after_pass_hook()         d30v_cleanup (FALSE)
 
52
#define md_cleanup()                 d30v_cleanup (FALSE)
 
53
#define TC_START_LABEL(ch, ptr)      (ch == ':' && d30v_cleanup (FALSE))
 
54
void d30v_start_line PARAMS ((void));
 
55
#define md_start_line_hook()         d30v_start_line ()
 
56
 
 
57
void d30v_frob_label PARAMS ((symbolS *));
 
58
#define tc_frob_label(sym)           d30v_frob_label(sym)
 
59
 
 
60
void d30v_cons_align PARAMS ((int));
 
61
#define md_cons_align(nbytes)        d30v_cons_align(nbytes)
 
62
 
 
63
/* Values passed to md_apply_fix3 don't include the symbol value.  */
 
64
#define MD_APPLY_SYM_VALUE(FIX) 0
 
65
 
 
66
/* No shared lib support, so we don't need to ensure externally
 
67
   visible symbols can be overridden.  */
 
68
#define EXTERN_FORCE_RELOC 0