Fri Apr 5 15:13:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
[binutils-gdb.git] / gas / ChangeLog
index 5b5ded59522ffa677f2409d9ffdb9e626d313cbb..6982da9b43111d67ba6c45c18f7b18d47843f05f 100644 (file)
@@ -1,3 +1,373 @@
+Fri Apr  5 15:13:10 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * config/atof-ieee.c: Fix handling of denormalized extended
+       precision numbers and overflow/underflow detection.
+       (MAX_PRECISION, X_PRECISION, P_PRECISION): Changed from 6 to 5, to
+       not include the 16 bit gap in the m68k extended precision format.
+
+Fri Apr  5 14:29:23 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Add i386-*-freebsdelf* target; from John Polstra
+       <jdp@polstra.com>.
+       * configure: Rebuild.
+
+Fri Apr  5 18:39:28 1996  James G. Smith  <jsmith@cygnus.co.uk>
+
+       * config/tc-mips.c: Allow non-zero offsets from .sdata symbols to
+       be accessed using the $gp register.
+       * config/tc-mips.h (MAX_GPREL_OFFSET): Added.
+
+Wed Apr  3 10:56:14 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * config/tc-sparc.c (sparc_md_end): Set bfd machine number to
+       bfd_mach_sparc_sparclet if current_architecture is sparclet.
+
+Mon Apr  1 16:55:44 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * read.c (get_line_sb): Bump line counters based on
+       input_line_pointer[-1], not *input_line_pointer.  Don't bother to
+       call LISTING_NEWLINE.
+       (s_macro): Don't call demand_empty_rest_of_line.
+       * app.c (do_scrub_chars): When handling C style comments, unget
+       ch2 rather than ch.
+
+Fri Mar 29 16:15:06 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * read.h (enum linkonce_type): Define.
+       (s_linkonce): Declare.
+       * read.c (potable): Add "linkonce".
+       (s_linkonce): New function.
+       * subsegs.h (segment_info_type): Add linkonce field to
+       MANY_SEGMENTS && ! BFD_ASSEMBLER section.
+       * config/obj-coff.h (obj_handle_link_once): Define if TE_PE.
+       (obj_coff_pe_handle_link_once): Declare if TE_PE.
+       * config/obj-coff.c: If TE_PE and not BFD_ASSEMBLER, #include
+       "coff/pe.h".
+       (obj_coff_pe_handle_link_once): New function, defined if TE_PE.
+       (c_section_symbol): If TE_PE, set the x_comdat field in the aux
+       entry based on the linkonce field in segment_info.
+       * doc/as.texinfo: Document .linkonce.
+
+Fri Mar 29 11:31:27 1996  J.T. Conklin  (jtc@lisa.cygnus.com)
+
+       * doc/as.1: Changed to be recognized by catman -w on Solaris.
+
+Thu Mar 28 15:27:47 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * stabs.c (s_stab_generic): Call the listing functions before
+       doing the rest of the processing, which may involve freeing the
+       string.  Pass string, not string + stroff, to OBJ_PROCESS_STAB in
+       SEPARATE_STAB_SECTIONS case.
+
+       * config/tc-hppa.c: Remove nested comment.
+       (tc_gen_reloc): Move label done inside the ifdef in which it is
+       used.
+       (md_apply_fix): Pass pointers to correct types to libhppa.h
+       functions.  Always return a value.
+
+       * config/tc-mips.h (tc_frob_file): Define.
+       (mips_frob_file): Declare.
+       * config/tc-mips.c (struct mips_hi_fixup): Define.
+       (mips_hi_fixup_list): New static variable.
+       (imm_unmatched_hi): New static variable.
+       (md_assemble): Clear imm_reloc, imm_unmatched_hi, and
+       offset_reloc.  Pass imm_unmatched_hi to append_insn.
+       (append_insn): Add unmatched_hi parameter.  If it is set, add the
+       new fixup to mips_hi_fixup_list.  Change all callers.
+       (mips_ip): Set imm_unmatched_hi when appropriate.
+       (mips_frob_file): New function.
+
+Thu Mar 28 11:47:59 1996  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in (sparc-*-solaris2*): Renamed from sparc*-*-solaris2*.
+       * configure: Regenerated.
+
+Tue Mar 26 18:19:12 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * as.c (main): Call bfd_set_error_program_name.
+
+Fri Mar 22 11:13:00 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * as.h (strdup): Don't declare.
+       * stabs.c: Include libiberty.h
+       (get_stab_string_offset): Use xstrdup rather than strdup.
+       (s_stab_generic): Likewise.
+       * as.c (parse_args): Likewise.
+       * read.c (s_mri_sect): Likewise.
+
+       * gasp.c (change_base): Recognize \(...) construct documented to
+       pass through enclosed characters literally through to the output.
+       (process_assigns): Likewise.  Also, be more careful to avoid
+       looking past the end of the buffer.
+
+Thu Mar 21 13:18:43 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-i386.c (md_parse_option): If OBJ_ELF, ignore -k for
+       FreeBSD compatibility.  From John Polstra <jdp@polstra.com>.
+
+Wed Mar 20 18:13:32 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * doc/as.texinfo, doc/c-i960.texi: Fix typos.
+
+Wed Mar 20 17:05:16 1996  David Mosberger-Tang  <davidm@azstarnet.com>
+
+       * config/alpha-opcode.h: Added cvtst instruction.
+
+Mon Mar 18 13:12:46 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecoff.c (ecoff_stab): Don't try to make a symbol out of the stab
+       string.  Extract the addend from the result of expression.
+
+Fri Mar 15 17:10:43 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * app.c (do_scrub_chars): If whitespace is seen in state 11, and
+       LABELS_WITHOUT_COLONS is not defined, and we are not in m68k MRI
+       mode, change the state to 3 rather than 1.
+
+Thu Mar 14 18:18:25 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/obj-coff.h (C_REGISTER_SECTION): Change from 20 to 50, to
+       correspond to 11 March change.
+
+Thu Mar 14 15:27:10 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-h8300.c (build_bytes, MEMIND case): Generate
+       an R_MEM_INDIRECT reloc rather than R_RELBYTE.
+
+Tue Mar 12 12:21:10 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Rebuild with autoconf 2.8.
+
+Mon Mar 11 18:57:12 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/atof-ieee.c (gen_to_words): Improve handling of
+       X_PRECISION numbers.  Based on patches from Andreas Schwab
+       <schwab@issan.informatik.uni-dortmund.de>.
+
+Mon Mar 11 09:59:53 1996  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * as.h (SEG_NORMAL, SEG_LIST): Bump segment limit from 10 to 40.
+       (SEG_LAST): New.
+       * subsegs.c (MANY_SEGMENTS): Increase segment limit.
+       * obj-coff.c (seg_N_TYPE, seg_info_off_by_4): Likewise.
+       (do_relocs_for, w_symbols, obj_coff_add_segment, do_linenos_for,
+       crawl_symbols, coff_header_append): Loop to SEG_LAST rather than
+       SEG_E9.
+       
+Thu Mar  7 15:17:39 1996  Doug Evans  <dje@charmed.cygnus.com>
+
+       * config/tc-sparc.c (sparc_ip): Handle operand char 'O' (neg reg).
+
+Thu Mar  7 09:19:15 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-hppa.c (SUBSEG_MILLI): Define.
+       (pa_def_subspaces): Add $MILLICODE$.
+       (pa_spaces_begin): Set section flags for $MILLICODE$.
+
+Wed Mar  6 14:11:30 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/obj-elf.c (obj_elf_section): Only SEC_LOAD if the type is
+       not SHT_NOBITS.  Don't tamper with flags based on type if a
+       special section was found (revert Feb 29 change).
+
+       * config/tc-sh.c (sh_do_align): Only align using the nop pattern
+       if aligning to a longword boundary or greater.
+
+Tue Mar  5 15:10:43 1996  Jim Wilson  <wilson@chestnut.cygnus.com>
+
+       * config/tc-sh.c (sh_do_align): Pass 1 not 2 to frag_align.
+
+Mon Mar  4 20:50:57 1996  Steve Chamberlain  <sac@slash.cygnus.com>
+
+       * configure.in (i386-*-cygwin32): Don't use bfd_gas.
+       * configure: Regenerated.
+
+Mon Mar  4 10:13:06 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-hppa.c: Add default definitions for R_N0SEL and
+       R_N1SEL since they're not defined for old versions of hpux.
+
+       * config/tc-hppa.c (tc_gen_reloc): Fix typo in R_COMP2 code.
+       Set "sym_ptr_ptr" and "addend" fields to dummy values for
+       R_N0SEL and R_N1SEL.
+
+Fri Mar  1 10:20:52 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * flonum-konst.c: Add two more constants for 1e+-2048 and
+       1e+-4096, and correct the other constants.
+
+       * symbols.c (resolve_symbol_value): Handle O_logical_not.
+
+Thu Feb 29 13:58:35 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config/obj-elf.c (obj_elf_section): Allow predefined section
+       types to set the nobits type.  Avoid a shadowed declaration.
+
+Wed Feb 28 15:38:56 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-hppa.c (hppa_fix_adjustable): For SOM, don't
+       reduce relocs using e_nlrsel field selectors.
+
+       * write.c (fix_new_exp): Don't use #elif.  Some compilers
+       don't handle it.
+
+       * config/tc-hppa.c (selector_table): Add "n", "nl", and "nlr" to
+       the selector table.
+       (pa_chk_field_selector): Handle new field selectors for SOM.
+
+Tue Feb 27 14:42:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * configure.in (m68k-*-linux*aout*, m68k-*-linux*): New targets.
+       * configure: Rebuild.
+       * config/te-linux.h (LOCAL_LABELS_FB): Define.
+       * config/tc-m68k.h (TARGET_FORMAT) [TE_LINUX]: Define to
+       "a.out-m68k-linux".
+       * config/tc-m68k.c (comment_chars): Don't include '#' if TE_LINUX
+       is defined.
+
+Mon Feb 26 18:58:58 1996  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * mpw-make.sed: Update to handle shared library support.
+
+Mon Feb 26 10:34:10 1996  Doug Evans  <dje@charmed.cygnus.com>
+
+       * config/tc-sparc.c (sparc_ip): Print all architectures that support
+       the insn on mismatch.
+
+Fri Feb 23 21:44:39 1996  Rob Savoye  <rob@chinadoll.cygnus.com>
+
+       * configure.in: Add support for a29-coff.
+       * configure: Rebuild.
+
+Thu Feb 22 16:39:43 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-sh.c (sh_coff_frob_file): Don't consider the address
+       of the section when looking for the R_SH_USES fixup, because the
+       frag addresses have not yet been adjusted.
+
+       * gdbinit.in: Set a breakpoint on as_warn_where.
+
+       * config/tc-mips.c (macro): Add missing arguments to macro_build
+       omitted in last change.  From Jim Wilson <wilson@cygnus.com>.
+
+Wed Feb 21 17:00:32 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-h8300.c (tc_reloc_mangle): Change reloc based on size
+       if it is TC_CONS_RELOC.  Set a size of 4 to R_RELLONG.
+
+Wed Feb 21 09:25:39 1996  Doug Evans  <dje@charmed.cygnus.com>
+
+       * config/tc-sparc.c (sparc_ip): Recognize %asr0 for v8.
+
+Tue Feb 20 21:48:03 1996  Doug Evans  <dje@charmed.cygnus.com>
+
+       * config/tc-sparc.c (parse_keyword_arg): Accept leading '%'.
+       (sparc_ip): Accept %asr[1..31] for v8 and %asr[%16..31] for v9.
+       Recognize [uU] format args as sparclet cpregs.
+
+Tue Feb 20 22:25:55 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-sh.c (sh_handle_align): Don't emit R_SH_ALIGN relocs
+       in bss_section.
+
+Mon Feb 19 14:16:24 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-sparc.h (TC_RELOC_RTSYM_LOC_FIXUP): Check S_IS_WEAK as
+       well as S_IS_EXTERNAL.
+       (tc_fix_adjustable): Likewise.
+       * config/tc-sparc.c (md_apply_fix): In OBJ_ELF case, check for
+       S_IS_WEAK as well as S_IS_EXTERNAL when deciding whether to return
+       early.
+       (tc_gen_reloc): Check S_IS_WEAK as wel as S_IS_EXTERNAL when
+       deciding whether to convert BFD_RELOC_32_PCREL_S2 if PIC.
+
+Mon Feb 19 02:15:57 1996  Doug Evans  <dje@charmed.cygnus.com>
+
+       * config/tc-sparc.c (max_architecture): Change to sparclite for
+       32 bit arch.
+       (default_compatible): Delete.
+       (sparc_ffs): New function.
+       (md_begin): Only call SPARC_OPCODE_CONFLICT_P once.
+       (sparc_ip): Rewrite architecture match and bump logic.
+
+Sun Feb 18 15:03:50 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Check for 'do not mix' from native linker before
+       trying to use -rpath.
+       * configure: Rebuild.
+
+Fri Feb 16 16:53:31 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/obj-coff.h (SF_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
+       (SF_GET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
+       (SF_SET_ADJ_LNNOPTR): Define (non BFD_ASSEMBLER).
+       * config/obj-coff.c (obj_coff_endef): Set ADJ_LNNOPTR when LNNOPTR
+       is set.
+       (w_symbols): If ADJ_LNNOPTR is set, add the section lnnoptr field
+       to the symbol lnnoptr field, to get the correct file offset.
+
+Thu Feb 15 14:48:38 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config/obj-elf.c (elf_frob_symbol): On the PowerPC, force all
+       symbols that are not function, file, or section symbols to be
+       object types.
+
+Thu Feb 15 11:20:18 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure: Set and substitute RPATH_ENVVAR.
+       * configure: Rebuild.
+       * Makefile.in (RPATH_ENVVAR): New variable.
+       (check): Use $(RPATH_ENVVAR) rather than LD_LIBRARY_PATH.
+
+       * configure.in: Accept i686.  From H.J. Lu <hjl@zoom.com>: i386
+       doesn't need opcodes.  If configuring shared, opcodes needs bfd.
+       * configure: Rebuild.
+
+Wed Feb 14 16:33:12 1996  Martin Anantharaman  <martin@mail.imech.uni-duisburg.de>
+
+       * read.c (s_mri_sect): Don't return '\0' in type.  Set all
+       appropriate flags in BFD section.
+
+       * configure.in (m68k-*-psos*): New target.
+       * configure: Rebuild.
+       * config/te-psos.h: New file.
+       * config/tc-m68k.c (comment_chars): Don't include '#' if TE_PSOS
+       is defined.
+
+Wed Feb 14 13:43:24 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       From Alan Modra <alan@spri.levels.unisa.edu.au>:
+       * configure.in: Remove duplicate setting of cpu_type.  Check
+       whether opcodes library is required for on all targets, not just
+       primary one.
+       * configure: Rebuild.
+
+       * config/tc-mips.c (mips_big_got): New static variable.
+       (s_extern): Don't declare.
+       (reg_needs_delay): New static function.
+       (macro_build): Permit GOT/CALL_HI/LO relocs.
+       (macro_build_lui): If place is not NULL, use the number in the
+       expression.
+       (load_address): Handle mips_big_got case.
+       (macro): Handle mips_big_got for M_LA_AB, M_JAL_A, and load and
+       store macros.
+       (OPTION_XGOT): Define.
+       (md_longopts): Add "xgot" if OBJ_ELF.
+       (md_parse_option): Handle -xgot.
+       (md_show_usage): Mention -xgot.
+       (md_apply_fix): Permit GOT/CALL_HI/LO relocs.
+       (tc_gen_reloc): Handle GOT/CALL_HI/LO relocs.
+
+Wed Feb 14 11:22:27 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * config/tc-m68k.c (m68k_ip) [operand kind '#']: When fixing
+       the byte relocation, point it to the low byte of the word.
+
+Tue Feb 13 15:31:18 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Set HDLFLAGS for *-*-hpux with --enable-shared.
+       * configure: Rebuild.
+
 Mon Feb 12 15:53:46 1996  Doug Evans  <dje@charmed.cygnus.com>
 
        * configure.in: Recognize any sparc* cpu.