]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/config/rl78-defs.h
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gas / config / rl78-defs.h
CommitLineData
99c513f6 1/* rl78-defs.h Renesas RL78 internal definitions
250d07de 2 Copyright (C) 2008-2021 Free Software Foundation, Inc.
99c513f6
DD
3
4 This file is part of GAS, the GNU Assembler.
5
6 GAS is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
10
11 GAS is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GAS; see the file COPYING. If not, write to the Free
18 Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
19 02110-1301, USA. */
20
21#ifndef RL78_DEFS_H
3739860c 22#define RL78_DEFS_H
99c513f6
DD
23
24/* Third operand to rl78_op. */
25#define RL78REL_DATA 0
26#define RL78REL_PCREL 1
27
0c315784
DD
28#define RL78_RELAX_NONE 0
29#define RL78_RELAX_BRANCH 1
30
cc189285 31extern int rl78_error (const char *);
99c513f6
DD
32extern void rl78_lex_init (char *, char *);
33extern void rl78_prefix (int);
34extern int rl78_has_prefix (void);
35extern void rl78_base1 (int);
36extern void rl78_base2 (int, int);
37extern void rl78_base3 (int, int, int);
38extern void rl78_base4 (int, int, int, int);
39extern void rl78_field (int, int, int);
40extern void rl78_op (expressionS, int, int);
41extern void rl78_disp3 (expressionS, int);
42extern void rl78_field5s (expressionS);
43extern void rl78_field5s2 (expressionS);
44extern void rl78_relax (int, int);
9cea966c 45extern void rl78_linkrelax_addr16 (void);
99c513f6
DD
46extern void rl78_linkrelax_branch (void);
47extern int rl78_parse (void);
48extern int rl78_wrap (void);
49
0952813b
DD
50extern int rl78_isa_g10 (void);
51extern int rl78_isa_g13 (void);
52extern int rl78_isa_g14 (void);
53
99c513f6
DD
54extern char * rl78_lex_start;
55extern char * rl78_lex_end;
56#endif