OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-binutils/] [binutils-2.19.1/] [gas/] [config/] [tc-xc16x.h] - Blame information for rev 6

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 6 jlechner
/* This file is tc-xc16x.h
2
   Copyright 2006, 2007 Free Software Foundation, Inc.
3
   Contributed by KPIT Cummins Infosystems
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 3, 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, 51 Franklin Street - Fifth Floor, Boston, MA
20
   02110-1301, USA.  */
21
 
22
#define TC_XC16X
23
 
24
#define TARGET_BYTES_BIG_ENDIAN 0
25
 
26
#define TARGET_ARCH bfd_arch_xc16x
27
 
28
#ifdef OBJ_ELF
29
#define TARGET_FORMAT       "elf32-xc16x"
30
#define LOCAL_LABEL_PREFIX  '.'
31
#define LOCAL_LABEL(NAME)   (NAME[0] == '.' && NAME[1] == 'L')
32
#define FAKE_LABEL_NAME     ".L0\001"
33
#endif
34
 
35
#if ANSI_PROTOTYPES
36
struct fix;
37
struct internal_reloc;
38
#endif
39
 
40
#define WORKING_DOT_WORD
41
 
42
#define BFD_ARCH bfd_arch_xc16x
43
#define TC_COUNT_RELOC(x)  1
44
#define IGNORE_NONSTANDARD_ESCAPES
45
 
46
#define TC_RELOC_MANGLE(s,a,b,c) tc_reloc_mangle(a,b,c)
47
extern void tc_reloc_mangle (struct fix *, struct internal_reloc *, bfd_vma);
48
 
49
/* No shared lib support, so we don't need to ensure externally
50
   visible symbols can be overridden.  */
51
#define EXTERN_FORCE_RELOC 0
52
 
53
/* Minimum instruction is of 16 bits.  */
54
#define DWARF2_LINE_MIN_INSN_LENGTH 2
55
 
56
#define DO_NOT_STRIP 0
57
#define LISTING_HEADER "Infineon XC16X GAS "
58
#define NEED_FX_R_TYPE 1
59
#define MD_PCREL_FROM_SECTION(FIX, SEC) md_pcrel_from_section (FIX, SEC)
60
extern long md_pcrel_from_section (struct fix *, segT);
61
 
62
#define md_operand(x)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.