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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [listing.h] - Blame information for rev 853

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* This file is listing.h
2
   Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1995, 1997, 1998,
3
   2003, 2007, 2008 Free Software Foundation, Inc.
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
#ifndef __listing_h__
23
#define __listing_h__
24
 
25
#define LISTING_LISTING    1
26
#define LISTING_SYMBOLS    2
27
#define LISTING_NOFORM     4
28
#define LISTING_HLL        8
29
#define LISTING_NODEBUG   16
30
#define LISTING_NOCOND    32
31
#define LISTING_MACEXP    64
32
#define LISTING_GENERAL  128
33
 
34
#define LISTING_DEFAULT    (LISTING_LISTING | LISTING_HLL | LISTING_SYMBOLS)
35
 
36
#ifndef NO_LISTING
37
#define LISTING_NEWLINE() { if (listing) listing_newline (NULL); }
38
#else
39
#define LISTING_NEWLINE() {;}
40
#endif
41
#define LISTING_EOF()     LISTING_NEWLINE()
42
 
43
#define LISTING_SKIP_COND() ((listing & LISTING_NOCOND) != 0)
44
 
45
void listing_eject (int);
46
void listing_error (const char *message);
47
void listing_file (const char *name);
48
void listing_flags (int);
49
void listing_list (int on);
50
void listing_newline (char *ps);
51
void listing_prev_line (void);
52
void listing_print (char *, char **);
53
void listing_psize (int);
54
void listing_nopage (int);
55
void listing_source_file (const char *);
56
void listing_source_line (unsigned int);
57
void listing_title (int depth);
58
void listing_warning (const char *message);
59
void listing_width (unsigned int x);
60
 
61
extern int listing_lhs_width;
62
extern int listing_lhs_width_second;
63
extern int listing_lhs_cont_lines;
64
extern int listing_rhs_width;
65
 
66
#endif /* __listing_h__ */
67
 
68
/* end of listing.h */

powered by: WebSVN 2.1.0

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