* config/tc-sparc.c (s_reserve): Don't permit redefinition, even
[binutils-gdb.git] / gas / ChangeLog
index ca168380713da822eb3c5925c3d31d5a358ef477..a59501d63d7cb2f48d700fb9ec1c8d283188311e 100644 (file)
@@ -1,3 +1,212 @@
+Thu Jul  6 12:54:27 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-sparc.c (s_reserve): Don't permit redefinition, even
+       if the symbol was already in bss_section.  Fix warning message.
+
+       * listing.c (struct file_info_struct): Rename end_pending field to
+       at_end.
+       (file_info): Initialize at_end, not end_pending.
+       (buffer_line): If at_end set, just return immediately.  Don't
+       worry about end_pending cases.  Set at_end when EOF is read.
+       (print_source): Check at_end, not end_pending.
+       (listing_listing): Likewise.
+
+       * config/tc-alpha.h (alpha_do_align): Don't declare.
+       (md_do_align): Don't define.
+       (tc_frob_label): Define.
+       (alpha_define_label): Declare.
+       (md_flush_pending_output): Define.
+       (alpha_flush_pending_output): Declare.
+       * config/tc-alpha.c (insn_label): New static variable.
+       (auto_align): New static variable.
+       (md_pseudo_table): Add cases for .text, .data, .align, .byte,
+       .hword, .int, .long, .octa, .quad, .short, .word, .double, .float,
+       and .single.  Change .t_floating, .s_floating, .f_floating,
+       .g_floating, and .d_floating to use s_alpha_float_cons rather than
+       float_cons.
+       (s_alpha_text, s_alpha_data): New static functions.
+       (s_rdata, s_sdata): Clear insn_label and set auto_align.
+       (s_gprel32): If auto_align, align.  Clear insn_label.
+       (emit_insn): Clear insn_label.
+       (s_alpha_align): New static function.
+       (alpha_align): Make static.  Take label argument.
+       (alpha_flush_pending_output): New static function.
+       (s_alpha_cons, s_alpha_float_cons): New static functions.
+       (alpha_define_label): New function.
+
+Wed Jul  5 22:49:31 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * conf.in: Regenerate with autoreconf.
+
+       Mon Jul  3 19:47:53 1995  Pat Rankin  (rankin@eql.caltech.edu)
+
+       * config/obj-vms.h (vms_resolve_symbol_redef): Use full prototype.
+       (vms_check_for_special_label, tc_frob_label): Move them to group
+       with other prototypes.
+       [WANT_VMS_OBJ_DEFS]: Only define the many OBJ_x, DBG_x, and DST_x
+       macros when this is defined.
+       * config/obj-vms.c: Fully prototype all local functions.
+       [symbolS, fragS]: Use consistently instead of their struct tags.
+       [WANT_VMS_OBJ_DEFS]: Define this.
+       (s_const): Make definition correctly match actual usage.
+       (VMS_stab_parse): Make `expected_type' arg be int rather than char.
+       (get_VMS_time_on_unix): Define as `static void'.
+       (hash_string): Make definition match actual usage; argument is
+       `char const *' rather than `unsigned char *'.
+       (VMS_Case_Hack_Symbol, VMS_Modify_Psect_Attributes, VMS_Psect_Spec,
+       VMS_Global_Symbol_Spec): Declare string args as `const char *'.
+       [IS_GXX_VTABLE]: New macro.
+       (vms_write_object_file: GSD loop): Use it.
+       (vms_write_object_file: data segment): Reorganize `fill' loop.
+
+Wed Jul  5 12:01:49 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-sparc.c (md_shortopts): Add "K:" if OBJ_ELF.
+       (md_parse_option): If OBJ_ELF, check for -K.  Die if -K PIC, since
+       PIC code is not currently supported.
+
+       * as.c (parse_args): Change std_shortopts to be an array rather
+       than a constant string.  Only include 'K' if WORKING_DOT_WORD is
+       not defined.  Only check for 'K' in that case as well.
+       * as.h (flag_warn_displacement): Only declare if WORKING_DOT_WORD
+       is not defined.
+
+       * conf.in: Add undef of HAVE_SBRK.
+
+       * config/obj-coff.c (obj_coff_line): Call listing_source_line, in
+       both BFD_ASSEMBLER and non BFD_ASSEMBLER versions of the function.
+
+       * symbols.c (S_SET_EXTERNAL): Warn if symbol is weak.
+       (S_CLEAR_EXTERNAL): Likewise.
+       (S_SET_WEAK): Warn if symbol is global.
+
+       * config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
+       to put an undefined symbol into a set.
+
+       * Makefile.in: Remove @configure_input@; it's not needed in
+       files named Makefile.
+
+       * config/tc-m88k.c (md_pseudo_table): Add ".set" so that the
+       explicit pseudo-op works, while continuing to treat "set" as an
+       instruction.
+
+       * ecoff.c (ecoff_debugging_seen): New global variable.
+       (ecoff_directive_def): Set ecoff_debugging_seen.
+       (ecoff_stab): Likewise.
+       * ecoff.h: Make idempotent.
+       (ecoff_debugging_seen): Declare.
+       * config/tc-mips.c: Include ecoff.h.
+       (mips_debug): New static variable.
+       (s_stringer, s_mips_space): Remove unneeded declarations.
+       (md_parse_option): In case 'g', set mips_debug to debugging level.
+       (mips_local_label): New function.
+       * tc-mips.h (LOCAL_LABEL): Call mips_local_label.
+       (mips_local_label): Declare.
+
+Wed Jul  5 00:59:22 1995  Fred Fish  (fnf@cygnus.com)
+
+       * as.c (main):  Only use sbrk when HAVE_SBRK defined.
+       * configure.in:  Add test for sbrk.
+       * configure:  Regenerate using autoconf 2.4.
+
+Mon Jul  3 15:58:16 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.h (MAX_RELOC_EXPANSION): Bump to 6.
+       * config/tc-hppa.c (tc_gen_reloc, SOM version): Handle
+       relocations for the difference of two (possibly external)
+       symbols.
+       (hppa_fix_adjustable): For SOM, reject reductions involving
+       the difference of two symbols.
+       (hppa_force_relocation): Force relocations for expressions
+       involving the difference of two symbols.
+
+Mon Jul  3 14:22:59 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * configure[.in] (i386-*-win32): New host and target.
+
+Thu Jun 29 17:25:43 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       Support for long filenames non-bfd coff. bfd/7288
+       * config/obj-coff.c (filename_list_head, filename_list_tail): New.
+       (yank_symbols): Notice and record filenames which are too long.
+       (w_strings): Write out filename strings.
+       (c_dot_file_symbols): Put long filenames onto list.
+
+Wed Jun 28 17:33:13 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * config/obj-coff.c (fixup_segment): PE doesn't use
+       the strange common symbol format that other 386s formats
+       do.
+       * config/tc-i386.c (md_begin): If LEX_AT defined then
+       '@' is in the set of identifiers.
+       (i386_operand): If LEX_AT, then don't look for @goto stuff.
+       * config/te-pe.h: Define LEX_AT.
+
+Wed Jun 28 17:49:59 1995  Ken Raeburn  <raeburn@cygnus.com>
+
+       * doc/as.texinfo (H8/500 Floating Point): Indicate that IEEE FP
+       numbers are for the standard emulation code.
+       (SH Floating Point): Ditto.
+       (Overview): Describe new --emulation option for MIPS.
+       * doc/*.m4: Deleted.
+
+Thu Jun 22 19:26:25 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       Sun May  7 11:53:41 MDT 1995  Bryan Ford  <baford@cs.utah.edu>
+
+       * configure.in: Added i386-*-moss* target.
+
+Thu Jun 22 14:41:23 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * write.c (write_object_file): Cast decode_local_label_name
+       argument to char * to avoid warning.
+
+Wed Jun 21 18:07:59 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       Changes from Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>:
+       * config/tc-m68k.c (insword): Increment the frag offsets.
+       (struct m68k_it): Add reloc[].pcrel_fix field to hold pc-rel
+       fixup.
+       (add_fix): Accept additional parameter, the pc-rel fixup. All
+       callers changed.  Fix offset address if width == 'b'.
+       (m68k_ip) [case AINDX]: Allow explicit size spec.  Don't make the
+       outer displacement pc-relative.
+       (md_pcrel_from): Make it relative to the first extension word of
+       the operand.
+       (opcode_ptr): Make it a macro if DO_BREAK_UP_BIG_DECL is
+       undefined.
+       (md_convert_frag_1): Don't reference fragP->fr_opcode[2..].
+       (md_estimate_size_before_relax) [case TAB (FBRANCH, SZ_UNDEF)]:
+       Turn on long bit.
+       (m68k_ip) [case 'C']: Don't set set long bit, set it in the opcode
+       table.
+       (md_estimate_size_before_relax) [case TAB (PCINDEX, SZ_UNDEF)]:
+       Variable part increases by four, not six.
+       * write.c (fixup_segment) [TC_M68K]: Don't do further pcrel
+       processing after converting difference of two symbols in the
+       same segment.
+
+       * write.c (fixup_segment): Don't conditionalize the pcrel fix on
+       TC_M68K.
+
+       * config/tc-sparc.c (sparc_ip, case 'A'): If ASI is not a "#"
+       value, don't shift it an extra time.
+
+Wed Jun 21 14:18:37 1995  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * gasp.c (do_print, do_form, buffer_and_nest): Use case insensitive
+       string compares. gas/7274.
+
+Tue Jun 20 14:55:02 1995  Ken Raeburn  <raeburn@cujo.cygnus.com>
+
+       * config/obj-coff.c (write_object_file): Cast time() argument to
+       time_t *.
+
+Tue Jun 20 12:00:53 1995  Jeff Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.c (pa_build_unwind_subspace): Fix typo in last
+       change.
+
 Mon Jun 19 15:27:17 1995  Jeff Law  (law@snake.cs.utah.edu)
 
        * config/tc-hppa.c (pa_build_unwind_subspace): Zero out memory