IRIX GCC fixes from 5.0 branch.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 2ef6239bccf7bf3d3fb3603affc67dbced9b3d86..3e9aad7d32dcbdae1a95701e336fd34bdd30ce1d 100644 (file)
@@ -1,3 +1,394 @@
+2000-05-23  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-i386.c (md_assemble): Pass jump reloc in fr_var...
+       (md_estimate_size_before_relax): so we can use it here instead of
+       old kludges.  Localise vars to blocks.  Comment.
+
+       * frags.c (frag_new): Update fr_var comments.
+       * frags.h (struct frag): Ditto.
+
+2000-05-22  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-ia64.c (FUNC_PC_RELATIVE): New.
+       (pseudo_func): Add pcrel.
+       (operand_match):  Handle IA64_OPND_TGT64.
+       (build_insn): Likewise.
+       (md_begin): Initialize pseudo_func[FUNC_PC_RELATIVE].
+       (ia64_gen_real_reloc_type): Handle FUNC_PC_RELATIVE.
+       (fix_insn): Handle all three 64-bit relocation types.
+
+Mon May 22 22:43:32 2000  Hans-Peter Nilsson  <hp@axis.com>
+
+       * obj.h (struct format_ops): New members begin, app_file,
+       s_set_other, s_set_desc, s_get_type, s_set_type,
+       separate_stab_sections, init_stab_section.
+
+       * config/obj-multi.h: Update GPL notice to v2.
+       (obj_begin): New.
+       (obj_app_file): New.
+       (S_SET_SIZE): Test s_set_size for NULL before calling.
+       (S_SET_ALIGN): Similar for s_set_align.
+       (S_SET_OTHER): New.
+       (S_SET_DESC): New.
+       (S_GET_TYPE): New.
+       (S_SET_TYPE): New.
+       (SEPARATE_STAB_SECTIONS): New.
+       (INIT_STAB_SECTION): New.
+       (EMIT_SECTION_SYMBOLS): New.
+       (AOUT_STABS) [OBJ_MAYBE_AOUT]: Define.
+
+       * config/obj-elf.h: Update GPL notice to v2.
+       Mention that this file is included from obj-multi.h.
+       (obj_begin): Wrap definition in ifndef.
+       (elf_file_symbol): Constify declaration.
+       (obj_app_file): Ditto.
+       (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB):
+       Wrap in ifndef SEPARATE_STAB_SECTIONS.
+
+       * config/obj-elf.c (elf_s_set_other): New.
+       (elf_file_symbol): Constify argument.
+       (elf_separate_stab_sections): New.
+       (elf_init_stab_section): New.
+       (elf_format_ops): Add new members.  Remove comma at end.
+
+       * config/obj-ecoff.c (ecoff_separate_stab_sections): New.
+       (ecoff_format_ops): Add new fields.  Remove comma at end.
+       Mention inconsistency for emit_section_symbols.
+
+       * config/obj-coff.h (c_dot_file_symbol): Constify declaration.
+
+       * config/obj-coff.c (c_dot_file_symbol): Constify argument.
+       (coff_separate_stab_sections): New.
+       (coff_format_ops): Add new members.
+
+       * config/obj-aout.c (obj_aout_sec_sym_ok_for_reloc): New.
+       (obj_aout_s_set_other): New.
+       (obj_aout_s_set_desc): New.
+       (obj_aout_s_get_type): New.
+       (obj_aout_s_set_type): New.
+       (obj_aout_separate_stab_sections): New.
+       (aout_format_ops): New members added.  Use obj_aout_process_stab,
+       not 0.  Use obj_aout_sec_sym_ok_for_reloc, not 0.
+       (obj_aout_frob_symbol): Add ATTRIBUTE_UNUSED to args as
+       appropriate.
+       (obj_aout_line, obj_aout_weak, obj_aout_type): Ditto.
+
+2000-05-22  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-i386.c (tc_i386_fix_adjustable): Prevent adjustment
+       for OBJ_MAYBE_ELF too.  Use S_IS_EXTERNAL instead of S_IS_EXTERN.
+       (md_estimate_size_before_relax): Ensure jumps to weak and
+       externally visible symbols are relocatable.
+
+Sat May 20 16:41:55 2000  Hans-Peter Nilsson  <hp@axis.com>
+
+       * stabs.c (aout_process_stab): Make global.
+       (s_desc): Add ATTRIBUTE_UNUSED to args as appropriate.
+       * read.h (aout_process_stab): Declare.
+
+       * configure.in (EMULATIONS) [i386aout, i386coff, i386elf]:
+       Generalize to *aout, *coff *elf.
+       * configure: Regenerated.
+
+       * doc/internals.texi (Object format backend): Say
+       SEPARATE_STAB_SECTIONS needs to be nonzero, not just defined.
+
+       * Makefile.am (TARG_ENV_HFILES): Delete te-multi.h.
+       * Makefile.in: Regenerated.
+
+2000-05-19  Catherine Moore  <clm@cygnus.com>
+
+       * cgen.h (GAS_CGEN_MAX_FIXUPS): Check if already defined.
+
+2000-05-18  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-hppa.c (md_apply_fix): Mask out immediate bits of
+       instruction to reflect change in re_assemble_*.
+
+Thu May 18 10:52:14 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * configure.in (hppa-*-hpux11*): If the cpu is hppa*64*, then
+       build PA64 ELF tools.
+       * configure: Rebuilt.
+
+2000-05-17  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.am: Regenerate dependencies.
+       * Makefile.in: Regenerate.
+
+2000-05-15  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-arm.c (struct asm_psr): Add boolean field
+       distinguishing between CSPR and SPSR.  Rename 'number' field
+       to 'field'.
+       (psrs): Rearrange contents to match new asm_psr structure.
+       (arm_psr_parse): Move next to psr_required_here.  Make it
+       return an asm_psr structure.
+       (psr_required_here): Use asm_psr structure returned by
+       arm_psr_parse.
+       (do_msr): Reorganise to allow psr_required_here to be called
+       only once.
+       (md_undefined_name): Mark 'name' parameter as unused, since
+       the COFF target does not use it.
+
+2000-05-14  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/te-386bsd.h:  Clean up comments to adhere to the GNU coding
+       standards.
+       * config/te-aux.h:  Likewise.
+       * config/te-dpx2.h:  Likewise.
+       * config/te-go32.h:  Likewise.
+       * config/te-hp300.h:  Likewise.
+       * config/te-hppa.h:  Likewise.
+       * config/te-i386aix.h:  Likewise.
+       * config/te-ic960.h:  Likewise.
+       * config/te-interix.h:  Likewise.
+       * config/te-nbsd532.h:  Likewise.
+       * config/te-pc532mach.h:  Likewise.
+       * config/te-ppcnw.h:  Likewise.
+       * config/te-psos.h:  Likewise.
+       * config/te-sparcaout.h:  Likewise.
+       * config/te-sun3.h:  Likewise.
+       * config/te-sysv32.h:  Likewise.
+
+2000-05-14  Alan Modra  <alan@linuxcare.com.au>
+
+       * config/tc-h8300.c (do_a_fix_imm): Don't rely on `short' being 16
+       bits.  Instead explicitly mask and sign extend.  Do the 8 bit mask
+       and sign extend without an if statement.
+       (build_bytes): Likewise.
+
+2000-05-14  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-h8300.c (do_a_fix_imm): Output a reloc for no
+       X_add_symbol L_32 case.
+
+2000-05-14  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/te-freebsd.h: New file.
+
+2000-05-13  Alan Modra  <alan@linuxcare.com.au>
+
+       * asintl.h (gettext, dgettext, dcgettext, textdomain,
+       bindtextdomain): Replace defines with those from intl/libgettext.h
+       to quieten gcc warnings.
+
+       * NEWS: Mention x86 .arch and -q.
+
+       * config/tc-i386.c (quiet_warnings): New.
+       (md_assemble): Use quiet_warnings.
+       (md_parse_option): Set quiet_warnings from -q.
+       (md_show_usage): Mention -q, delete -m.
+       (flag_do_long_jump): Delete.
+       (md_parse_option): Remove -m.
+       (md_show_usage): Remove -m.
+       (md_create_long_jump): Remove useless flag_do_long_jump code.
+
+       * as.c (parse_args): In case OPTION_DEFSYM, use a valueT to hold
+       the symbol value, and use bfd_scan_vma if BFD_ASSEMBLER.
+
+2000-05-13  Alan Modra  <alan@linuxcare.com.au>
+           Alexander Sokolov <robocop@netlink.ru>
+
+       * doc/c-i386.texi (i386-Arch): New section.
+       (i386-Syntax): Mention .intel_syntax and .att_syntax.
+
+       * config/tc-i386.c (cpu_arch_name, cpu_arch_flags): New.
+       (smallest_imm_type): Use smallest opcode for shift by one if cpu
+       architecture has been given and is not 486.
+       (set_cpu_arch): New.
+       (md_pseudo_table): Add .arch.
+       (md_assemble): Warn if cpu architecture has been given and an
+       unsupported instruction.
+
+       * config/tc-i386.h (SMALLEST_DISP_TYPE): Delete.
+       Move operand_types bit defines after relevant template field.
+       (template): Add cpu_flags.
+       (Cpu*): Define.
+       (arch_entry): New.
+
+2000-05-12  Alexandre Oliva  <aoliva@cygnus.com>
+
+       * config/tc-mn10300.h (md_end): Define.
+       (mn10300_finalize): Declare.
+       * config/tc-mn10300.c: Include dwarf2dbg.h.
+       (debug_line): Define.
+       (md_assemble): Generate dwarf2 line info.
+       (mn10300_finalize): New function.  Finalize dwarf2 info.
+
+2000-05-11  Ulf Carlsson  <ulfc@engr.sgi.com>
+
+       * config/tc-mips.c (md_estimate_size_before_relax): Use the
+       external version of the relocation for weak symbols.
+
+2000-05-08  David Mosberger  <davidm@hpl.hp.com>
+
+       * config/tc-ia64.c (output_P7_format, case mem_stack_f): Output fixed
+       frame size in units of 16 bytes, as required per SW Conventions manual.
+       (output_unw_records): Output info-block header as a dword to get
+       byte-order right.
+
+2000-05-08  Alan Modra  <alan@linuxcare.com.au>
+
+       * as.h: #include "file", not <file> on files from ../include.
+       (as_abort, as_fatal): Add ATTRIBUTE_NORETURN.
+       * config/tc-m68k.c (m68k_ip): Fix signed/unsigned warnings.
+       (md_convert_frag): Add ATTRIBUTE_UNUSED.
+       (tc_coff_symbol_emit_hook): Ditto.
+       (OPTCOUNT): Cast to int to avoid compiler warning.
+       (md_begin): Fix signed/unsigned warnings.
+
+2000-05-08  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * config/tc-m68k.c (md_convert_frag_1): Abort if we end up in the
+       ABRANCH LONG case for a conditional branch on a 68000.
+       (md_estimate_size_before_relax): Likewise.  Also handle
+       flag_short_refs correctly for ABRANCH, BCC68000, and DBCC.
+       (m68k-ip: case ABSL): Relax absolute references to 16-bit
+       PC-relative on all CPUs.
+       (md_estimate_size_before_relax): Likewise.
+
+2000-05-04  Alan Modra  <alan@linuxcare.com.au>
+
+       * as.c (parse_args): Just mention current year in printed
+       copyright message.
+
+2000-05-03  J.T. Conklin  <jtc@redback.com>
+
+       * config/tc-ppc.c (pre_defined_registers): Add entries for vector
+       unit registers.
+       (md_parse_option): Recognize -m7400.
+
+2000-05-03  Ian Lance Taylor  <ian@zembu.com>
+
+       * config/atof-ieee.c (gen_to_words): When adding carry back in,
+       don't permit lp to become less than the words array.
+
+2000-05-03  Rodney Brown  <RodneyBrown@pmsc.com>
+
+       config/tc-mcore.c (md_apply_fix3): BFD_RELOC_MCORE_PCREL_IMM11BY2
+       Fix little-endian case.
+
+2000-05-03  David O'Brien  <obrien@NUXI.com>
+
+       * as.c (parse_args): Update copyright.
+
+2000-05-03  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
+       for the .bss section too.
+
+2000-05-02  Alan Modra  <alan@linuxcare.com.au>
+
+       * configure.in: Set em=linux for hppa-*-linux.
+       * configure: Regenerate.
+       * doc/Makefile.in: Regenerate with correct automake.
+
+       * frags.c (frag_grow): Sanity check chunk_size.
+
+       * config/obj-elf.h: #include "bfd.h" not <bfd.h>
+       * config/obj-som.h: Likewise.
+       * config/obj-ieee.h: Likewise.
+
+       * config/tc-hppa.h: Test BFD_ARCH_SIZE, not BFD64.
+
+       * config/tc-hppa.c (log2): Only compile when OBJ_SOM.
+       (md_pseudo_table): Fully initialise OBJ_ELF cases.
+       (fix_new_hppa): Add ATTRIBUTE_UNUSED to args as appropriate.
+       (pa_ip): low_sign_unext now returns via function value.  Use
+       re_assemble_* instead of dis_assemble_* and
+       INSERT_FIELD_AND_CONTINUE combination.  Don't call sign_unext
+       unnecessarily.
+       (md_convert_frag): Add ATTRIBUTE_UNUSED to args as appropriate.
+       (md_section_align, md_parse_option, md_show_usage,
+       md_undefined_symbol, pa_align, pa_block, pa_brtab, pa_try,
+       pa_callinfo, pa_code, pa_comm, pa_end, pa_enter, pa_entry,
+       pa_exit, pa_export, pa_import, pa_label, pa_leave, pa_level,
+       pa_origin, pa_param, pa_proc, pa_procend, pa_space, pa_spnum,
+       pa_version, pa_compiler, pa_copyright, pa_data, pa_fill, pa_lsym,
+       pa_text): Likewise.
+       (md_apply_fix): Change type of new_val to offsetT.  Delete w1, w2,
+       w, resulti.  Add insn, val.  Move bfd_get_32 and bfd_put_32
+       outside of switch.  Correct mask and shifting errors in case 10
+       and case -11.  In case 21, compare against signed range to suit
+       hppa_field_adjust changes.  In case 12, use re_assemble_12.  In
+       case 17 and case 22, use offsetT variable to properly check range.
+       Use re_assemble_* here too.
+       (evaluate_absolute): Change type of value to offsetT.  Call
+       hppa_field_adjust to do the work for us.
+       (pa_parse_cmpb_64_cmpltr): Delete save_s.
+       (pa_parse_cmpib_64_cmpltr): Ditto.
+       (pa_build_unwind_subspace): Delete unused var subseg.  Change type
+       of i to unsigned int.
+       (pa_type_args): Conditionally declare symbol if OBJ_SOM.
+       (pa_end_of_source): Return type is void.
+
+Mon May  1 08:54:23 2000  Catherine Moore  <clm@cygnus.com>
+
+       * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
+
+Mon May  1 14:19:39 2000  Denis Chertykov  <denisc@overta.ru>
+
+       * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
+       More comments added.
+       (md_begin): Removed "construct symbols for each register name".
+       Because register names conflicts with GCC generated function
+       names.
+       (avr_operand): Now constant numbers can be used as a register
+       identifiers (0 as r0, 31 as r31).
+       (md_assemble): use skip_space () before parsing instruction
+       operands.
+
+Sun Apr 23 16:45:45 2000  Denis Chertykov  <denisc@overta.ru>
+
+       * config/tc-avr.c: New AVR_ISA_ defined.
+       (md_assemble): Handle opcodes with optional operands (lpm,elpm). 
+       (avr_operand): Handle 'a', 'v' and 'z' constraint letters needed
+       for `fmul', `movw' and `lpm R,Z' instructions. 
+       (avr_operands): Warn if current opcode is a two-word instruction
+       and previous opcode was cpse/sbic/sbis/sbrc/sbrs. 
+       (avr_opcodes): New commands added.
+       (REGISTER_P): Check 'a' and 'v' constraint letters.
+       (mcu_types): New MCU added.
+
+2000-05-01  Alan Modra  <alan@linuxcare.com.au>
+
+       * configure.in: Set bfd_gas=yes on i386-*-pe and i386-*-nt* to
+       ensure all pe targets use bfd.  Remove unnecessary bfd_gas=yes on
+       arm-*-netbsd* and arm-*-wince as this is set for all arm*.
+       * configure: Regenerate.
+
+2000-04-29  Andreas Jaeger  <aj@suse.de>
+
+       * as.h: Correctly check GCC version.
+
+Mon Apr 24 15:21:11 2000  Clinton Popetz  <cpopetz@cygnus.com>
+
+       * as.c (parse_args): Allow md_parse_option to override -a listing
+       option.
+       * config/obj-coff.c (add_lineno): Change type of offset parameter
+       from "int" to "bfd_vma."
+       * config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
+       (ppc_mach, ppc_subseg_align, ppc_target_format): New.
+       (ppc_change_csect): Align correctly for XCOFF64.        
+       (ppc_machine): New function, which discards "ppc_machine" line.
+       (ppc_tc): Cons for 8 when code is 64 bit.
+       (md_apply_fix3): Don't check operand->insert.  Handle 64 bit
+       relocations.
+       (md_parse_option): Handle -a64 and -a32.
+       (ppc_xcoff64): New.
+       * config/tc-ppc.h (TARGET_MACH): Define.
+       (TARGET_FORMAT): Move to function.
+       (SUB_SEGMENT_ALIGN): Use ppc_subseg_align.
+
+2000-04-26  David O'Brien  <obrien@FreeBSD.org>
+
+       * doc/as.1: Fix unbalanced brackets.
+
+       * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
+       TE_FreeBSD.
+       (line_comment_chars): Set to '/' if TE_FreeBSD.
+
 Tue Apr 25 11:02:02 2000  Jeffrey A Law  (law@cygnus.com)
 
        * configure.in: Configury support for PA64 (currently disabled).
@@ -38,7 +429,7 @@ Tue Apr 25 11:02:02 2000  Jeffrey A Law  (law@cygnus.com)
 Fri Apr 21 14:29:43 2000  Jeffrey A Law  (law@cygnus.com)
                          Jason Eckhardt  <jle@cygnus.com>
 
-        * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
+       * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats.
 
        * config/tc-hppa.c (CHECK_ALIGN): New macro.
        Added handling of new operand types l,y,&,fe,fE,fx.
@@ -335,7 +726,7 @@ Mon Apr  3 13:56:03 2000  Hans-Peter Nilsson  <hp@axis.com>
 
 2000-03-19  Nick Clifton  <nickc@cygnus.com>
 
-       * config/tc-arm.c (md_apply_fix3): Fix bug detectng overflow of pc
+       * config/tc-arm.c (md_apply_fix3): Fix bug detecting overflow of pc
        relative branches.
 
 2000-03-17 Thomas de Lellis <tdel@windriver.com>
@@ -431,8 +822,6 @@ Sat Mar 11 00:01:39 2000  Hans-Peter Nilsson  <hp@axis.se>
        * doc/Makefile.in: Regenerate.
        * doc/c-m32r.texi (M32R-Opts): Document new command line switch.
 
-
-
 2000-03-02  Michael Meissner  <meissner@redhat.com>
 
        * config/tc-d30v.c (check_range): Remove code that incorrectly
@@ -800,6 +1189,7 @@ Fri Feb 11 14:21:51 2000  Jeffrey A Law  (law@cygnus.com)
        filename is encoded incorrectly.
 
 2000-01-31  Nick Clifton  <nickc@cygnus.com>
+
        * config/tc-arm.c (reg_table): Add support for ATPCS register
        naming conventions.
 
@@ -1077,7 +1467,7 @@ Wed Nov 24 20:27:58 1999  Jeffrey A Law  (law@cygnus.com)
 
        * config/tc-hppa.c (pa_ip): Handle PA2.0 unit completers.  Handle
        'B' operand for PA2.0 bb instruction.
-       
+
 1999-11-18  Nick Clifton  <nickc@cygnus.com>
 
        * config/tc-mcore.h (TC_FORCE_RELOCATION): Define for Mcore-pe
@@ -1254,14 +1644,14 @@ Sun Oct 10 01:47:23 1999  Jerry Quinn <jerry.quinn.adv91@alum.dartmouth.org>
        completers.
 
        * config/tc-hppa.c (pa_ip):  Remove unused args.  Add code to '?W'
-       arg. 
+       arg.
        (pa_parse_addb_64_cmpltr):  New function.
 
        * config/tc-hppa.c (pa_ip):  Change error message.
        (pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr)  Fix '?N' and
        '?Q' args to allow falling through.
 
-       * configtc-hppa.c (pa_ip):  Implement conditional codes "?N", "?Q".
+       * config/tc-hppa.c (pa_ip):  Implement conditional codes "?N", "?Q".
        Remove unused conditional codes.
        (pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr):  New.
 
@@ -1332,7 +1722,7 @@ Mon Sep 20 04:01:41 1999  Jeffrey A Law  (law@cygnus.com)
 
 Sun Sep 19 10:43:31 1999  Jeffrey A Law  (law@cygnus.com)
 
-       * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc' 
+       * config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
        operands.
 
        * config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
@@ -1355,11 +1745,6 @@ Sun Sep 19 10:43:31 1999  Jeffrey A Law  (law@cygnus.com)
 
        * config/tc-hppa.c (pa_ip): Handle 'g' operand.
 
-at Sep 18 12:13:28 1999  Jeffrey A Law  (law@cygnus.com)
-
-       * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
-       (pa_ip): Handle 'fX'.
-
 Sat Sep 18 12:13:28 1999  Jeffrey A Law  (law@cygnus.com)
 
        * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
@@ -1509,7 +1894,7 @@ Mon Sep  6 04:26:56 1999  Jeffrey A Law  (law@cygnus.com)
        constants when in strict mode.
        (pa_get_absolute_expression): Require a constant when in strict
        mode.
-       
+
 1999-09-06  Nick Clifton  <nickc@cygnus.com>
 
        * config/tc-m32r.c (md_longopts): Fix value for -Wnuh.
@@ -1845,7 +2230,7 @@ Wed Aug  4 13:12:17 1999  Jeffrey A Law  (law@cygnus.com)
 
 1999-07-30  Catherine Moore  <clm@cygnus.com>
 
-       * config/tc-arm.c (tc_gen_reloc):  Record the vtable entry in
+       * config/tc-arm.c (tc_gen_reloc): Record the vtable entry in
        the relocation's section offset.
 
 1999-07-29  Alan Modra  <alan@spri.levels.unisa.edu.au>
This page took 0.030135 seconds and 4 git commands to generate.