aboutsummaryrefslogtreecommitdiff
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
commit7ddd14deffa8d2579c691bb8f19585fb2e7b5de3 (patch)
treef69cd2e1c9990d8a85958bd82e6a13169f66e9d6 /gas/read.h
parent39d5313e31d72b291493315a2b7b0d98341cf14b (diff)
downloadgdb-7ddd14deffa8d2579c691bb8f19585fb2e7b5de3.zip
gdb-7ddd14deffa8d2579c691bb8f19585fb2e7b5de3.tar.gz
gdb-7ddd14deffa8d2579c691bb8f19585fb2e7b5de3.tar.bz2
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 8859994..9974d74 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);