aboutsummaryrefslogtreecommitdiff
path: root/gas/read.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-08-09 19:36:25 +0000
committerIan Lance Taylor <ian@airs.com>1995-08-09 19:36:25 +0000
commite28c40d72519ff512fd217c6e74ef27a249b7693 (patch)
tree69b3089146732e32d9c999f4a0cb0462fae6f635 /gas/read.h
parente120d9fbcd6e5768201d7263c6cc2c387b7a837f (diff)
downloadgdb-e28c40d72519ff512fd217c6e74ef27a249b7693.zip
gdb-e28c40d72519ff512fd217c6e74ef27a249b7693.tar.gz
gdb-e28c40d72519ff512fd217c6e74ef27a249b7693.tar.bz2
* read.c (abs_section_offset): New global variable.
(potable): Add offset, struct. (do_org): New static function; handle changing the origin in the absolute section. (s_org): Use do_org. (s_set): Likewise. (equals): Likewise. (s_space): In absolute_section, just increase abs_section_offset. (s_struct): New function. (emit_expr): Handle absolute_section specially. * read.h (abs_section_offset): Declare. (s_struct): Declare. * read.c (potable): Add ifeq, ifge, ifgt, ifle, iflt, ifne. Change if to pass O_ne to s_if. (read_a_source_file): Don't define an label without a colon if ignore_input returns true. * read.c (potable): Add dcb, dcb.b, dcb.d, dcb.l, dcb.s, dcb.w, dcb.x, ds.d, ds.p, ds.s, ds.x, elsec, endc, fail, format, llen, noformat. (read_a_source_file): If pseudo-op handler is s_end, quit immediately. (s_end): New function. (s_fail): New function. (s_float_space): New function. (hex_float): New static function. (float_cons): Use hex_float. * read.h (s_fail): Declare. (s_float_space): Declare.
Diffstat (limited to 'gas/read.h')
-rw-r--r--gas/read.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gas/read.h b/gas/read.h
index 3a3d82d..4a00b32 100644
--- a/gas/read.h
+++ b/gas/read.h
@@ -60,6 +60,9 @@ extern const char line_separator_chars[];
/* This flag whether to generate line info for asm file */
extern int generate_asm_lineno;
+/* The offset in the absolute section. */
+extern addressT abs_section_offset;
+
/* This is used to support MRI common sections. */
extern symbolS *mri_common_symbol;
@@ -86,13 +89,14 @@ void s_align_ptwo PARAMS ((int));
void s_app_file PARAMS ((int));
void s_app_line PARAMS ((int));
void s_comm PARAMS ((int));
-void s_mri_common PARAMS ((int));
void s_data PARAMS ((int));
void s_desc PARAMS ((int));
void s_else PARAMS ((int arg));
void s_end PARAMS ((int arg));
void s_endif PARAMS ((int arg));
+void s_fail PARAMS ((int));
void s_fill PARAMS ((int));
+void s_float_space PARAMS ((int mult));
void s_globl PARAMS ((int arg));
void s_if PARAMS ((int arg));
void s_ifdef PARAMS ((int arg));
@@ -101,10 +105,12 @@ void s_ignore PARAMS ((int arg));
void s_include PARAMS ((int arg));
void s_lcomm PARAMS ((int needs_align));
void s_lsym PARAMS ((int));
+void s_mri_common PARAMS ((int));
void s_org PARAMS ((int));
void s_set PARAMS ((int));
void s_space PARAMS ((int mult));
void s_stab PARAMS ((int what));
+void s_struct PARAMS ((int));
void s_text PARAMS ((int));
void stringer PARAMS ((int append_zero));
void s_xstab PARAMS ((int what));