* read.c (abs_section_offset): New global variable.
authorIan Lance Taylor <ian@airs.com>
Wed, 9 Aug 1995 19:36:25 +0000 (19:36 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 9 Aug 1995 19:36:25 +0000 (19:36 +0000)
commite28c40d72519ff512fd217c6e74ef27a249b7693
tree69b3089146732e32d9c999f4a0cb0462fae6f635
parente120d9fbcd6e5768201d7263c6cc2c387b7a837f
* 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.
gas/ChangeLog
gas/read.c
gas/read.h