]> Git Repo - binutils.git/blobdiff - gas/ChangeLog
* read.c (s_set): Remove unused local ptr.
[binutils.git] / gas / ChangeLog
index de98956255a094a85a6b297b7ae9b6a09e740c9e..0db30c755b7d0b41f2a2695efa39b1c61aac3603 100644 (file)
@@ -1,5 +1,182 @@
+Thu Aug 10 00:38:11 1995  Ian Lance Taylor  <[email protected]>
+
+       * read.c (s_set): Remove unused local ptr.
+       (hex_float): Check target_big_endian.
+       (equals): Remove unused local p.
+       * config/tc-a29k.h (TARGET_BYTES_BIG_ENDIAN): Define.
+       * config/tc-h8500.h (TARGET_BYTES_BIG_ENDIAN): Define.
+       * config/tc-hppa.h (TARGET_BYTES_BIG_ENDIAN): Define.
+       * config/tc-i860.h (TARGET_BYTES_BIG_ENDIAN): Define.
+       * config/tc-m68k.h (TARGET_BYTES_BIG_ENDIAN): Define.
+       * config/tc-m88k.h (TARGET_BYTES_BIG_ENDIAN): Define.
+       * config/tc-tahoe.h (TARGET_BYTES_BIG_ENDIAN): Define.
+       * config/tc-sh.c (little): Set target_big_endian.
+       (md_begin): Likewise.
+       (md_parse_option): Likewise.
+       (build_relax): Check target_big_endian rather than shl.
+       (build_Mytes, md_atof): Likewise.
+       (md_convert_frag, md_apply_fix): Likewise.
+       (md_number_to_chars): Likewise.
+       
+Wed Aug  9 10:51:48 1995  Ian Lance Taylor  <[email protected]>
+
+       * config/tc-m68k.c (m68k_abspcadd): New static variable.
+       (m68k_quick): New static variable.
+       (m68k_rel32): New static variable.
+       (md_pseudo_table): Add opt and reg.
+       (m68k_ip): Permit absolute symbols in 'l'/'L' recognition.  Check
+       m68k_quick in 'M' and 'Q' recognition.  Check m68k_abspcadd in
+       DISP handling.  Check m68k_rel32 in BASE/POST/PRE handling.
+       (md_begin): In MRI mode, initialize m68k_abspcadd and m68k_rel32.
+       In MRI mode, change unsized branch aliases to be variable sized.
+       (struct opt_action): Define.
+       (opt_table): Define.
+       (s_opt): New static function.
+       (skip_to_comma): New static function.
+       (opt_chip): New static function.
+       (opt_list): New static function.
+       (opt_list_symbols): New static function.
+       (s_reg): New static function.
+       * as.h (flag_keep_locals): Change from unsigned char to int.
+       (flag_no_warnings): Likewise.
+
+       * read.c (mri_line_label): Make non-static.
+       (potable): Add nopage, page, plen.
+       (s_org): Error if in MRI mode.
+       * read.h (mri_line_label): Declare.
+       * listing.c (listing_nopage): New function.
+       * listing.h (listing_nopage): Declare.
+
+       * symbols.c (symbol_begin): Set sy_frag of abs_symbol to
+       &zero_address_frag.
+
+       * write.c (adjust_reloc_syms): Check that symbol is not NULL
+       before checking sy_mri_common.
+       (fixup_segment): Likewise.
+       * config/obj-coff.c (fixup_segment): Likewise.
+
+       * 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.
+       * frags.c (frag_more): Warn if in absolute_section.
+       (frag_now_fix): In absolute_section, return abs_section_offset.
+       * subsegs.c (subseg_change): If switching to absolute_section,
+       just set now_seg and now_subseg.
+       (subseg_set_rest): Special handling when switching to or from
+       absolute_section.
+
+       * config/tc-m68k.c (m68k_float_copnum): New static variable.
+       (md_pseudo_table): Add fopt and mask2.
+       (m68k_ip): Use m68k_float_copnum, not COPNUM, when setting
+       coprocessor register to use.  In case 'I' when checking operands,
+       correct coprocessor register numbers.  In case 'I' when setting
+       operands, don't add 1.
+       (s_fopt): New static function.
+       * config/m68k-parse.h (COPNUM): Don't define.
+
+       * 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.
+       * cond.c (s_if): Treat argument as an operatorT describing how to
+       compare the argument against zero.
+       (ignore_input): Don't require an initial dot in MRI mode, or if
+       NO_PSEUDO_DOT is defined.
+
+       * 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.
+       * cond.c (s_end): Remove.
+       * listing.c (listing_psize): Treat argument as indicating whether
+       a height is expected.
+
+       * read.c (mri_pending_align): New static variable.
+       (read_a_source_file): Handle mri_pending_align.
+       (cons): Set mri_pending_align if appropriate.
+
+       * configure.in: Move random special target handling before
+       possible break.
+       * configure: Rebuild.
+
+Tue Aug  8 23:41:25 1995  Alan Modra  <[email protected]>
+
+       * configure.in: Consistently use ${target_cpu_type} rather than
+       ${cpu_type} after the loop.
+       * configure: Rebuild.
+       * Makefile.in (targ-cpu.o): Use @target_cpu_type@ rather than
+       @cpu_type@.
+
+Tue Aug  8 17:27:17 1995  Ken Raeburn  <[email protected]>
+
+       * expr.h (operatorT): Remove comma after last enumerator value.
+
+       * config/obj-vms.c: Some whitespace cleanup from Pat Rankin.
+
+       Wed Aug  2 18:54:37 1995  Pat Rankin  <[email protected]>
+
+       * config/obj-vms.c (Flush_VMS_Object_Record_Buffer,
+       Close_VMS_Object_File): Reorganize the `#if !VMS' cross-assmebler
+       support code.
+       (Close_VMS_Object_File): Call Set_VMS_Object_File_Record to flush
+       output buffer--just in case--before closing the file.
+
+       * as.h (alloca): If __STDC__, declare void* instead of char*.
+
 Tue Aug  8 13:07:05 1995  Ian Lance Taylor  <[email protected]>
 
+       * config/tc-m68k.c (archs): Add 68ec000, 68hc000, 68hc001,
+       68ec020, 68ec030, 68ec040, and 68330.
+       (md_pseudo_table): Add chip and comline.
+       (m68k_init_after_args): Use strcasecmp when comparing default_cpu
+       against architectures.
+       (mri_chip, s_chip): New static functions.
+
+       * struc-symbol.h (struct symbol): Add sy_mri_common bit.
+       * read.h (mri_comon_symbol): Declare.
+       (s_mri_common): Declare.
+       * read.c (mri_line_label): New static variable.
+       (mri_common_symbol): New global variable.
+       (potable): Add "common" and "common.s".
+       (read_a_source_file): In MRI mode, set mri_line_label for a label
+       at the start of a line.
+       (s_mri_common): New function.
+       (s_space): Handle mri_common_symbol.
+       * symbols.c (colon): Change return value from void to symbolS *,
+       and return new symbol.  If mri_common_symbol is set, attach the
+       new symbol to it.
+       (resolve_symbol_value): Handle an sy_mri_common symbol.
+       * symbols.h (colon): Change return value in declaration.
+       * subsegs.c (subseg_set_rest): Clear mri_common_symbol.
+       (subseg_set (both versions)): Likewise.
+       * frags.c (frag_more): Warn if mri_common_symbol is not NULL.
+       * write.c (adjust_reloc_syms): Skip sy_mri_common symbols.
+       (write_object_file): Discard sy_mri_common symbols.
+       (fixup_segment): Change relocations against sy_mri_common symbols
+       to be against the common symbol itself.
+       * config/obj-coff.c (yank_symbols): Discard sy_mri_common symbols.
+       (fixup_segment): Change relocations against sy_mri_common symbols
+       to be against the common symbol itself.
+       * config/obj-aout.c (obj_crawl_symbol_chain): Discard
+       sy_mri_common symbols.
+
        * doc/c-m68k.texi: Add documentation for CPU specific options, and
        for Motorola syntax.
 
This page took 0.03403 seconds and 4 git commands to generate.