summaryrefslogtreecommitdiff
path: root/gas/read.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2008-01-09 17:30:59 +0000
committerBob Wilson <bob.wilson@acm.org>2008-01-09 17:30:59 +0000
commitb535c5812a734c0d9ff9b3b66d3b05073b43c183 (patch)
tree4ad7dff3b1e29c02e06e42a58506248cc748f164 /gas/read.h
parentce90402382f10e812b3e97c3d37ee546927f6383 (diff)
downloadbinutils-redhat-b535c5812a734c0d9ff9b3b66d3b05073b43c183.tar.gz
gas/
* dwarf2dbg.c (out_sleb128): Delete. (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New. (out_fixed_inc_line_addr): Delete. (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set. (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr. (process_entries): Remove calls to out_fixed_inc_line_addr. When DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr. * read.h (emit_expr_fix): New prototype. * read.c (emit_expr): Move code to emit_expr_fix and use it here. (emit_expr_fix): New. testsuite/ * gas/lns/lns.exp: Run new lns-big-delta test for targets that set DWARF2_USE_FIXED_ADVANCE_PC. * gas/lns/lns-big-delta.s: New. * gas/lns/lns-big-delta.d: New.
Diffstat (limited to 'gas/read.h')
-rw-r--r--gas/read.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/read.h b/gas/read.h
index 8859994671..9974d741d2 100644
--- a/gas/read.h
+++ b/gas/read.h
@@ -1,6 +1,6 @@
/* read.h - of read.c
Copyright 1986, 1990, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005, 2007
+ 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -111,6 +111,7 @@ extern void add_include_dir (char *path);
extern void cons (int nbytes);
extern void demand_empty_rest_of_line (void);
extern void emit_expr (expressionS *exp, unsigned int nbytes);
+extern void emit_expr_fix (expressionS *, unsigned int, fragS *, char *);
extern void equals (char *sym_name, int reassign);
extern void float_cons (int float_type);
extern void ignore_rest_of_line (void);