2001-01-08 Bo Thorsen <bo@suse.de>
[external/binutils.git] / gas / ChangeLog
index 9232f45..12c316e 100644 (file)
@@ -1,3 +1,769 @@
+2001-01-08  Bo Thorsen  <bo@suse.de>
+
+        * config/tc-i386.c (i386_immediate, i386_displacement):
+        GOTPCREL check fix.
+
+2001-01-07  Ian Lance Taylor  <ian@zembu.com>
+
+       * doc/c-i386.texi (i386-Arch): Remove spaces incorrectly inserted
+       in last change.
+
+2001-01-07  Philip Blundell  <philb@gnu.org>
+
+       * doc/as.texinfo (Bug Reporting): Update email address for
+       reports.
+       * README: Likewise.
+
+Sat Jan  6 13:33:10 MET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * configure.in: Define DEFAULT_ARCH for i386.
+       * tc-i386.c (md_assemble): Return after the error message;
+       move testing for 64bit operands to proper place.
+
+2001-01-06  Jan Hubicka <jh@suse.cz>, Andreas Jaeger  <aj@suse.de>
+
+       * doc/as.texinfo: Document '#' as comment character for i386 and
+       x86_64. Add AMD x86-64 into menu of machine dependent information.
+
+       * doc/c-i386.texi: Document x86_64 extensions.
+
+Fri Jan  5 13:26:42 MET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
+
+Thu Jan  4 22:25:26 MET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
+       * NEWS: Add note about Pentium4 support.
+
+Wed Jan  3 17:26:32 MET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * tc-i387.c (pi, pte, pt): Update.
+       (type_names): Add new types.
+
+Wed Jan  3 16:26:52 MET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
+       CpuUnknown): Renumber
+       (CpuP4, CpuSSE2): New.
+       (CpuUnknownFlags): Add CpuP4 and CpuSSE2
+
+2001-01-03  Philip Blundell  <pb@futuretv.com>
+
+       * config/tc-alpha.c (alpha_force_relocation): Handle vtable
+       relocs.
+       (alpha_fix_adjustable): Likewise.
+       (md_apply_fix): Likewise.
+
+2000-12-31  H.J. Lu  <hjl@gnu.org>
+
+       * listing.c (listing_message): Allocate string only if it is
+       used.
+
+       * configure: Rebuild.
+
+2000-12-31  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * doc/internals.texi (Relaxing with a table) <after relaxation>:
+       Point out caveats with generating fixups for the opcode in a frag.
+
+Sat Dec 30 19:02:48 MET 2000  Jan Hubicka  <jh@suse.cz>
+
+       * configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
+       * NEWS: Add x86_64.
+
+2000-12-29  H.J. Lu  <hjl@gnu.org>
+
+       * listing.c (calc_hex): Print the variable part only if the
+       fragment type is rs_fill.
+
+2000-12-29  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * doc/internals.texi (tc_conditional_pseudoop,
+       TC_LINKRELAX_FIXUP): Fix typos.
+
+2000-12-28  Richard Henderson  <rth@redhat.com>
+
+       * write.c (subsegs_finish): Fix thinko last change -- don't
+       "optimize" the alignment == 0 case.
+
+2000-12-28  Richard Henderson  <rth@redhat.com>
+
+       * as.h (rs_align_test): New.
+       * frags.c (NOP_OPCODE): Move default from read.c.
+       (MAX_MEM_FOR_RS_ALIGN_CODE): New default.
+       (frag_align_code): New.
+       * frags.h (frag_align_code): Declare.
+       * read.c (NOP_OPCODE): Remove.
+       (do_align): Use frag_align_code.
+       * write.c (NOP_OPCODE): Remove.
+       (get_recorded_alignment): New.
+       (cvt_frag_to_fill): Handle rs_align_test.
+       (relax_segment): Likewise.
+       (subsegs_finish): Align last subseg in section to the
+       section alignment.  Use frag_align_code.
+       * write.h (get_recorded_alignment): Declare.
+       * config/obj-coff.c (size_section): Handle rs_align_test.
+       (fill_section, fixup_mdeps): Likewise.
+       (write_object_file): Use frag_align_code.
+
+       * config/tc-alpha.c (alpha_align): Use frag_align_code.
+       (alpha_handle_align): New.
+       * config/tc-alpha.h (HANDLE_ALIGN): New.
+       (MAX_MEM_FOR_RS_ALIGN_CODE): New.
+
+       * config/tc-i386.h (md_do_align): Use frag_align_code.
+       (MAX_MEM_FOR_RS_ALIGN_CODE): New.
+
+       * config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
+       (ia64_handle_align): New.
+       * config/tc-ia64.h (HANDLE_ALIGN): New.
+       (MAX_MEM_FOR_RS_ALIGN_CODE): New.
+
+       * config/tc-m32r.c (m32r_do_align): Remove.
+       (m32r_handle_align): New.
+       (fill_insn): Use frag_align_code.
+       * config/tc-m32r.h (md_do_align): Remove.
+       (HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
+       * config/tc-m88k.c, config/tc-m88k.h: Similarly.
+       * config/tc-mips.c, config/tc-mips.h: Similarly.
+
+       * config/tc-sh.c (sh_cons_align): Use rs_align_test.
+       (sh_handle_align): Likewise.  Handle rs_align_code.
+       (sh_do_align): Remove.
+       * config/tc-sh.h (md_do_align): Remove.
+       (MAX_MEM_FOR_RS_ALIGN_CODE): New.
+
+       * config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
+       (sparc_handle_align): Likewise.  Handle rs_align_code.
+       * config/tc-sparc.h (md_do_align): Remove.
+       (MAX_MEM_FOR_RS_ALIGN_CODE): New.
+
+2000-12-22  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
+       when we assemble the first half of a pair.
+
+2000-12-22  H.J. Lu  <hjl@gnu.org>
+
+       * config/tc-i386.c (reloc): Update the macro for non-bfd
+       assembler.
+       (BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
+
+2000-12-22  H.J. Lu  <hjl@gnu.org>
+
+       * dwarf2dbg.c (dwarf2_finish): Remove #if BFD_ASSEMBLER.
+
+Wed Dec 20 14:21:22 MET 2000  Jan Hubicka  <jh@suse.cz>
+
+       * tc-i386.h (i386_target_format): Define even for ELFs.
+       (QWORD_MNEM_SUFFIX): New macro.
+       (CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
+       New macros
+       (CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
+       (IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
+       ImmExt): Renumber.
+       (Size64, No_qSuf, NoRex64, Rex64): New macros.
+       (Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
+       (Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
+       InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
+       SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem):
+       Renumber.
+       (Reg, WordReg): Add Reg64.
+       (Imm): Add Imm32S and Imm64.
+       (EncImm): New.
+       (Disp): Add Disp64 and Disp32S.
+       (AnyMem): Add Disp32S.
+       (RegRex, RegRex64): New macros.
+       (rex_byte): New type.
+       * tc-i386.c (set_16bit_code_flag): Kill.
+       (fits_in_unsigned_long, fits_in_signed_long): New functions.
+       (reloc): New parameter "signed"; support x86_64.
+       (set_code_flag): New.
+       (DEFAULT_ARCH): New macro; default to "i386".
+       (default_arch): New static variable.
+       (struct _i386_insn): New fields Operand_PCrel; rex.
+       (flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT"
+       (flag_code): New enum and static variable.
+       (use_rela_relocations): New static variable.
+       (flag_code_names): New static variable.
+       (cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
+       (cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
+       K6 and Athlon.
+       (i386_align_code): Return plain "nop" for x86_64.
+       (mode_from_disp_size): Support Disp32S.
+       (smallest_imm_type): Support Imm32S and Imm64.
+       (offset_in_range): Support size of 8.
+       (set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
+       (md_pseudo_table): Add "code64"; use set_code_flat.
+       (md_begin): Emit sane error message on hash failure.
+       (tc_i386_fix_adjustable): Support x86_64 relocations.
+       (md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
+       instructions supported on particular arch just partially,
+       output of 64bit immediates, handling of Imm32S and Disp32S type.
+       (i386_immedaite): Support x86_64 relocations; support 64bit constants.
+       (i386_displacement): Likewise.
+       (i386_index_check): Cleanup; support 64bit addresses.
+       (md_apply_fix3): Support x86_64 relocation and rela.
+       (md_longopts): Add "32" and "64".
+       (md_parse_option): Add OPTION_32 and OPTION_64.
+       (i386_target_format): Call even for ELFs; choose between
+       elf64-x86-64 and elf32-i386.
+       (i386_validate_fix): Refuse GOTOFF in 64bit mode.
+       (tc_gen_reloc): Support rela relocations and x86_64.
+       (intel_e09_1): Support QWORD.
+
+2000-12-15  Diego Novillo  <dnovillo@redhat.com>
+
+       * config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
+       it's not an offset expression.
+       (intel_e10_1): Ditto. Also, if the operand is an offset expression,
+       keep the braces '[' and ']' in the output string.
+       (intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
+       != FLAT. There is no such op_modifier.
+
+2000-12-14  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
+       if we have it.
+
+2000-12-13  Kazu Hirata  <kazu@hxi.com>
+
+       * as.h: Fix formatting.
+       * cgen.h: Likewise.
+       * dwarf2dbg.c: Likewise.
+       * input-scrub.c: Likewise.
+       * read.h: Likewise.
+
+2000-12-13  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * configure.in (i386-*-msdosdjgpp): Set bfd_gas to yes.
+       configure: Regenerate.
+
+2000-12-13  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
+
+       * dwarf2dbg.c: #include <limits.h> only if it exists.
+
+2000-12-13  Rodney Brown  <RodneyBrown@mynd.com>
+
+       * config/tc-hppa.c (pa_ip): Correct CHECK_FIELD typo.
+       (md_apply_fix): Here too.
+
+2000-12-12  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-ia64.h (ia64_init): Add prototype.
+
+2000-12-12  H.J. Lu  <hjl@gnu.org>
+
+       * dwarf2dbg.c: Enabled only if BFD_ASSEMBLER is defined.
+
+       * read.h (outputting_stabs_line_debug): Change it to int.
+       * stabs.c (outputting_stabs_line_debug): Likewise.
+
+2000-12-12  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config/obj-bout.c (obj_crawl_symbol_chain): Don't take
+       the address of a function result.
+
+2000-12-12  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
+       (md_assemble): Call dwarf2_emit_insn.
+       (shlib): Fix typo SHILB -> SHLIB.
+       (md_parse_option): Likewise.
+       (ppc_elf_validate_fix): Likewise:
+       * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
+
+2000-12-12  Nick Clifton  <nickc@redhat.com>
+
+       * cgen.h: Fix formatting.
+       * input-scrub.c: Fix formatting.
+       * macro.c: Fix formatting.
+       * config/tc-mips.c: Fix formatting.
+       * doc/c-mips.texi: Fix formatting.
+
+Mon Dec 11 14:35:42 MET 2000  Jan hubicka  <jh@suse.cz>
+
+       * tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
+       mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
+       references.
+       (intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
+       otherwise.
+       * tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
+       (No_dSuf): Kill.
+
+       * i386.h (*_Suf): Remove No_dSuf.
+       (d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
+       Remove.
+       (i386_optab): Remove 'd' in the suffixes.
+
+2000-12-06  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * config/tc-i386.c (T_SHORT): Undefine before defining.
+
+2000-12-05  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-mips.c: Fix formatting.
+
+2000-12-04  Matthew Hiller  <hiller@redhat.com>
+
+       * config/tc-d10v.c (flag_allow_gstabs_packing): New variable.
+       (md_longopts): New options --gstabs-packing, --no-gstabs-packing.
+       (md_show_usage): Ditto.
+       (md_parse_option): Ditto.
+       (d10v_cleanup): Writes pending instruction only if
+       ! outputting_stabs_line_debug || ! flag_allow_gstabs_packing.
+       Fix compile time warning messages.
+
+       * doc/c-d10v.texi: Documents new options.
+
+2000-12-04  Matthew Hiller  <hiller@redhat.com>
+
+       * stabs.c (outputting_stabs_line_debug): New variable.
+       (stabs_generate_asm_lineno): Set outputting_stabs_line_debug at
+       function entry and unset at function exit.
+
+       * read.h (outputting_stabs_line_debug): New extern declaration.
+
+       * as.c: Include dwarf2dbg.h for definition of dwarf2_finish.
+
+       * dwarf2dbg.c: Fix compile time warning messages.
+
+2000-12-03  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-a29k.c: Fix formatting.
+       * config/tc-alpha.c: Likewise.
+       * config/tc-arm.c: Likewise.
+       * config/tc-cris.c: Likewise.
+       * config/tc-hppa.c: Likewise.
+       * config/tc-i370.c: Likewise.
+       * config/tc-i386.c: Likewise.
+       * config/tc-i860.c: Likewise.
+       * config/tc-i960.c: Likewise.
+       * config/tc-ia64.c: Likewise.
+       * config/tc-m68hc11.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-m88k.c: Likewise.
+       * config/tc-pj.c: Likewise.
+       * config/tc-ppc.c: Likewise.
+       * config/tc-sh.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+       * config/tc-tahoe.c: Likewise.
+       * config/tc-vax.c: Likewise.
+
+2000-12-01  Chris Demetriou  <cgd@sibyte.com>
+
+       * config/tc-mips.c (mips_ip): When calculating offsets,
+       don't accept as constant the difference between the
+       addresses of symbols in two different sections.
+
+       * config/tc-mips.c (macro_build): Add new 'U' and 'J' operand
+       specifiers.
+       (validate_mips_insn): Likewise.  Also, update 'B' operand
+       specifier to use OP_*_CODE20 constants and delete 'm' operand
+       specifier.
+       (mips_ip): Remove 'm' operand specifier, add 'U' and 'J'
+       operand specifiers.  Change warning generated by 'B' operand
+       specifier to reflect its new multi-purpose usage.
+
+       * config/tc-mips.c (mips_set_options): Use ISA_UNKNOWN rather than
+       -1, and update comment.
+       (file_mips_isa): Likewise.
+       (mips_cpu): Use CPU_UNKNOWN rather than -1, and update comment.
+       (ISA_HAS_COPROC_DELAYS, ISA_HAS_64BIT_REGS, gpr_interlocks): Use
+       ISA_* constants rather than hard-coded numbers.
+       (mips_cpu_info): New structure.
+       (mips_cpu_info_table): New table describing CPU and ISA names
+       and numbers.
+       (mips_cpu_info_from_name, mips_cpu_info_from_isa,
+       mips_cpu_info_from_cpu): New functions.
+       (mips_isa_to_str): New function to get string for ISA name.
+       (mips_cpu_to_str): Convert to use mips_cpu_info_from_cpu, and
+       return const char *.
+       (md_begin): Redo CPU and ISA selection logic, using
+       mips_cpu_info_from_*.  Convert to use ISA_* constants rather
+       than hard-coded numbers.
+       (append_insn, mips_emit_delays, macro, macro2): Convert to use
+       ISA_* constants rather than hard-coded numbers.
+       (mips_ip): Convert to use mips_isa_to_str to get ISA name.
+       (md_longopts): Delete OPTION_NO_MIPS32.
+       (md_parse_option): Convert to use ISA_* constants rather than
+       hard-coded numbers.  Make OPTIONS_MIPS32 case treat MIPS32
+       as an ISA.  Delete OPTION_NO_MIPS32 case.  Convert OPTION_MCPU
+       to use strcasecmp to recognize "default" and to use
+       mips_cpu_info_from_name to get CPU numbers from argument.
+       (md_show_usage): Move -mips32 so it's with the rest of the ISA
+       flags.  Change 4Kc, 4Kp and 4Km CPU entries to just be
+       mips32-4k.
+       (s_mipsset): Accept ISA value 32.
+       * doc/as.texinfo: Clean up MIPS options summary slightly,
+       remove -no-mips32.  Add note about -mips4 and -mips32
+       specifying those ISA levels.  Delete -mips32 and -no-mips32
+       cpu flag descriptions.
+       * doc/c-mips.texi: Add -mips32 to list of ISA switches.  Clean
+       up the supported CPU switch list, and replace 4Kc, 4Km, and
+       4Kp entries with a single mips32-4k entry.  Note that you can
+       use ".set mips32".
+
+       * tc-mips.c (ISA_HAS_64BIT_REGS): Add checks for ISA_MIPS5 and
+       ISA_MIPS64.
+       (md_longopts, OPTION_MIPS5, OPTION_MIPS64): Add options for
+       -mips5 and -mips64.
+       (md_parse_option): Add cases for OPTION_MIPS5 and
+       OPTION_MIPS64.
+       (md_show_usage): Mention -mips5 and -mips64 arguments.
+       (s_mipsset): Add cases for MIPS5 and MIPS64.
+       (mips_cpu_info_table): Add entries for MIPS5 and MIPS64 ISAs
+       and pseudo-CPUs.
+       * doc/as.texinfo: Mention -mips5 and -mips64 options
+       and their meanings.
+       * doc/c-mips.texi: Likewise.  Also update introduction
+       and ".set" usage information.
+
+       * config/tc-mips.c (md_show_usage): Add "sb1" to the
+       CPU list.
+       (mips_cpu_info_table): Add SB-1 entries.
+       * doc/c-mips.texi: Add "sb1" to the list of CPUs
+       known to the -mcpu option.
+
+       * doc/as.texinfo: Correct description of MIPS -mcpu
+       option, by copying some of the text from doc/c-mips.texi.
+
+2000-12-01      Joel Sherrill <joel@OARcorp.com>
+
+       * configure.in (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
+       New targets.
+       (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets.
+       (sparc*-*-rtems*): Switched from a.out to ELF.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * po/gas.pot: Regenerate.
+
+2000-11-30  Philip Blundell  <pb@futuretv.com>
+
+       * config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
+       even in non BFD_ASSEMBLER case.
+
+2000-11-30  Diego Novillo  <dnovillo@redhat.com>
+
+       * tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
+       syntax.
+
+2000-11-29  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2dbg.c: Rewrite from scratch.  Queue all debugging output
+       until dwarf2_finish; use relaxation to get cross-fragment offsets;
+       thread multiple subsegments properly; handle multiple code
+       sections properly; emit proper compilation unit info for assembler
+       generated debugging.
+
+       * as.h (enum _relax_state): Add rs_dwarf2dbg.
+       * dwarf2dbg.h (struct dwarf2_line_info): Remove filename.
+       (dwarf2dbg_estimate_size_before_relax): Declare.
+       (dwarf2dbg_relax_frag, dwarf2dbg_convert_frag): Declare.
+       * write.c: Include dwarf2dbg.h.
+       (cvt_frag_to_fill): Handle rs_dwarf2dbg.
+       (relax_segment): Likewise.
+
+2000-11-28  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
+       jump>: Use as_bad_where instead of as_bad.  Tweak error message
+       accordingly.  Stabilize frag by updating fix part and resetting
+       variant part.
+       <undefined symbol, unconditional jump>: Ditto.
+       (sh_elf_cons): Cast *input_line_pointer to unsigned char when
+       indexing is_end_of_line[].
+       (md_assemble): Initialize size to 0.
+       (md_section_align): Mark parameter seg as unused.
+       (parse_reg): Parse names case-insensitively.
+
+2000-11-28  Kazu Hirata  <kazu@hxi.com>
+
+       * config/obj-aout.h: Fix formatting.
+       * config/obj-bout.h: Likewise.
+       * config/obj-coff.c: Likewise.
+       * config/obj-coff.h: Likewise.
+       * config/obj-elf.h: Likewise.
+       * config/obj-som.h: Likewise.
+       * config/obj-vms.c: Likewise.
+       * config/obj-vms.h: Likewise.
+       * config/tc-h8300.h: Likewise.
+       * config/tc-ns32k.h: Likewise.
+       * config/tc-sparc.h: Likewise.
+       * config/tc-tic54x.h: Likewise.
+       * config/tc-z8k.h: Likewise.
+
+2000-11-28  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.1 (COPYING): Mention that the GNU Free Documentation
+       License is present in the sources, but not the output, and
+       also available from the GNU website.
+       (GNU Free Documentation License): Comment out this section.
+
+2000-11-28  Hans-Peter Nilsson  <hp@axis.com>
+
+       * Makefile.am (CPU_OBJ_VALID): Add case to filter out invalid coff
+       targets.  Remove i860 from valid a.out targets.
+       * Makefile.in: Regenerate.
+
+       * config/tc-cris.c: Include dwarf2dbg.h.
+       (md_pseudo_table): Add .file and .loc.
+       (md_assemble): Call dwarf2_emit_insn if generating ELF.
+       (s_cris_file, s_cris_loc): New.
+       * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
+       * Makefile.am: Regenerate dependencies.
+       * Makefile.in: Regenerate.
+
+2000-11-28  Alan Modra  <alan@linuxcare.com.au>
+
+       * expr.c (STANDARD_MUL_PRECEDENCE): Correct value.
+       (MRI_MUL_PRECEDENCE): Likewise.
+       (op_rank): Fix a comment typo.
+
+2000-11-26  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/tc-m68hc11.c (build_indexed_byte): Print the offset in
+       the error message.
+       (get_operand): Fix analysis for movw/movb instructions.
+
+2000-11-24  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (xscale-elf): Add target.
+       (xscale-coff): Add target.
+       * configure: Regenerate.
+
+       * config/tc-arm.c (ARM_EXT_V5E): New ARM architecture
+       extenstion.
+       (ARM_EXT_XSCALE): New ARM architecture extension.
+       (ARM_LONGMUL): Rename to ARM_EXT_LONGMUL.
+       (ARM_HALFWORD): Rename to ARM_EXT_HALFWORD.
+       (ARM_THUMB): Rename to ARM_EXT_THUMB.
+       (ARM_ARCH_V4): Remove processor from architecture.
+       (ARM_ARCH_3M): New architecutre definition.
+       (ARM_ARCH_V5TE): New architecutre definition.
+       (ARM_ARCH_XSCALE): New architecutre definition.
+       (CPU_DEFAULT): Allow to be defaulted to XScale.
+       (atpcs): New boolean variable.
+       (ldr_flags): Support 'd' flag for double word loads.
+       (str_flags): Support 'd' flag for double word stored.
+       (do_mia): New function.
+       (do_mar): New function.
+       (do_mra): New function.
+       (do_pld): New function.
+       (do_ldrd): New function.
+       (do_blx): New function.
+       (do_bkpt): New function.
+       (do_clz): New function.
+       (do_lstc2): New function.
+       (do_cdp2): New function.
+       (do_t_blx): New function.
+       (do_t_bkpt): New function.
+       (do_smla): New function.
+       (do_smlal): New function.
+       (do_smul): New function.
+       (do_qadd): New function.
+       (do_co_reg2c): New function.
+       (LONGEST_INSN): Redefine to 7.
+
+       * doc/c-arm.texi: Document -mxscale, -mmarmv5te and -matpcs
+       command line switches.
+
+2000-11-22  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-ia64.c (pseudo_func): Add missing initializers.
+       (struct rsrc): Make line unsigned.
+       (gr_values): Add missing initializer.
+       (SLOT_NUM_NOT_SET): Add unsigned cast.
+       (ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
+       dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
+       dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
+       dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
+       dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
+       dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
+       dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
+       dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
+       md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
+       Add ATTRIBUTE_UNUSED to unused parameters.
+       (convert_expr_to_ab_reg): Add parens.
+       (convert_expr_to_xy_reg): Add parens.  Comment out >= REG_GR test.
+       (dot_prologue): Initialize grsave when declared.
+       (md_pseudo_table): Add missing initializers.
+       (operand_match): Add casts to bfd_vma.
+       (emit_one_bundle): Delete unused local prev.  Make required_template
+       unsigned.
+       (specify_resource): Cast i to unsigned.
+       (note_register_values): Use fprintf_vma.
+       (print_dependency): Likewise.
+
+2000-11-21  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-ia64.c (generate_unwind_image): Call record_alignment
+       for unwind info section.
+       (dot_endp): Likewise for unwind section.
+
+       * config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
+       fix_new_exp.
+
+2000-11-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-sparc.c (md_pseudo_table): Add .file and .loc.
+       (output_insn): Call dwarf2_emit_insn.
+       * config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
+
+2000-11-17  Richard Henderson  <rth@redhat.com>
+
+       * ehopt.c (eh_frame_code_alignment): New arg `in_seg', update all
+       callers.  Don't switch segments.  Expect CIE == -1 in .debug_frame.
+       (check_eh_frame): Handle .eh_frame and .debug_frame concurrently.
+
+2000-11-17  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (md_pseudo_table): Add support for .line and
+       .file pseudo ops.
+
+2000-11-17  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-i386.c (md_pseudo_table): Add .file and .loc.
+
+2000-11-17  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2dbg.c (dwarf2_gen_line_info): Early out for no line number.
+       * config/obj-elf.h (ECOFF_DEBUGGING) [TC_ALPHA]: Adjust for
+       tri-state definition of alpha_flag_mdebug.
+       * config/tc-alpha.c (alpha_flag_mdebug): Init to -1.
+       (s_alpha_file): Store first .file directive.
+       (s_alpha_stab): New.
+       (md_pseudo_table): Add stabs and stabn.
+
+2000-11-17  Richard Henderson  <rth@redhat.com>
+
+       * config/tc-i386.c (md_assemble): Call dwarf2_emit_insn.
+
+2000-11-17  Richard Henderson  <rth@redhat.com>
+
+       * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
+       (main): Call dwarf2_finish.
+       * as.h (debug_type): Clarify documentation of the meaning
+       of this variable.
+       * dwarf2dbg.c (DWARF2_LINE_MIN_INSN_LENGTH): Default to 1.
+       (print_stats): Fix parenthesis problem.
+       (now_subseg_size): New.
+       (dwarf2_finish): Use it.  If DEBUG_DWARF2, emit bits for .debug_info.
+       (dwarf2_directive_file): Don't set debug_type.
+       (dwarf2_where): Honor DEBUG_DWARF2 first.
+       (dwarf2_emit_insn): Renamed from dwarf2_generate_asm_lineno;
+       do nothing if not emitting dwarf2 debug info, or no work.
+       * dwarf2dbg.h (dwarf2_emit_insn): Update.
+       * ecoff.c (add_file): Turn on DEBUG_ECOFF only if DEBUG_UNSPECIFIED.
+       (ecoff_new_file): Likewise.
+       * read.c (generate_lineno_debug): Kill ecoff hackery.  Update
+       commentary wrt dwarf2.
+
+       * config/tc-alpha.c (alpha_adjust_symtab_relocs): Add
+       ATTRIBUTE_UNUSED as needed.
+       (emit_insn): Call dwarf2_emit_insn.
+       (s_alpha_file): New.
+       (s_alpha_loc): New.
+       (s_alpha_coff_wrapper): Don't handle them.
+       (md_pseudo_table): Update for .file and .loc.
+       * config/tc-alpha.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
+
+       * config/tc-arm.c (output_inst): Update for dwarf2_emit_insn;
+       don't protect with debug_type.
+       * config/tc-hppa.c (md_assemble): Likewise.
+       * config/tc-m68hc11.c (m68hc11_new_insn): Likewise.
+       * config/tc-mn10300.c (md_assemble): Likewise.
+       * config/tc-sh.c (md_assemble): Likewise.
+       * config/tc-v850.c (md_assemble): Likewise.
+
+       * config/tc-arm.c (arm_end_of_source): Remove.
+       * config/tc-hppa.c (pa_end_of_source): Remove.
+       * config/tc-m68hc11.c (m68hc11_end_of_source): Remove.
+       * config/tc-mn10300.c (mn10300_finalize): Remove.
+       * config/tc-sh.c (sh_finalize): Remove.
+       * config/tc-v850.c (sh_finalize): Remove.
+
+       * config/tc-arm.h (md_end): Remove.
+       * config/tc-hppa.h (md_end): Remove.
+       (DWARF2_LINE_MIN_INSN_LENGTH): New.
+       * config/tc-m68hc11.h (md_end): Remove.
+       * config/tc-mn10300.h (md_end): Remove.
+       * config/tc-sh.h (md_end): Remove.
+       * config/tc-v850.h (md_end): Remove.
+
+       * config/tc-ia64.c (emit_one_bundle): Don't protect
+       dwarf2 bits with debug_type.
+       (md_assemble): Likewise.
+       (ia64_end_of_source): Don't call dwarf2_finish.
+
+2000-11-16  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-ia64.c (errata_nop_necessary_p): Abort if general regno
+       >= 128 instead of > 128.  Abort if predicate regno is >= 64 instead of
+       > 16.
+
+2000-11-16  H.J. Lu  <hjl@gnu.org>
+
+       * config/obj-elf.c (obj_elf_symver): Don't check the missing
+       version name.
+
+2000-11-15  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-tic30.c: Fix formatting.
+       * config/tc-tic80.c: Likewise.
+       * config/tc-v850.c: Likewise.
+       * config/tc-vax.c: Likewise.
+       * config/tc-w65.c: Likewise.
+       * config/tc-z8k.c: Likewise.
+
+2000-11-14  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-v850.c: Support dwarf2.
+       * config/tc-v850.h: Ditto.
+
+       * config/tc-v850.c (cons_fix_new_v850): Don't rely on
+       parse_cons_expression_v850 to initialize hold_cons_reloc.
+
+2000-11-15  Bernd Schmidt  <bernds@redhat.com>
+
+       * tc-ia64.c (struct md): New entries LAST_GROUPS, GROUP_IDX.
+       (errata_nops_necessary_p): New function.
+       (emit_one_bundle): Call it.  Update the GROUP_IDX field in struct
+       md.
+
+2000-11-14  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-ia64.c (ia64_target_format): If EF_IA_64_BE not set, then
+       return little endian bfd formats.
+
+2000-11-14  Kazu Hirata  <kazu@hxi.com>
+
+       * config/aout_gnu.h: Fix formatting.
+       * config/atof-vax.c: Likewise.
+       * config/m68k-parse.h: Likewise.
+       * config/m88k-opcode.h: Likewise.
+       * config/obj-elf.c: Likewise.
+       * config/tc-arm.c: Likewise.
+       * config/tc-cris.c: Likewise.
+       * config/tc-i386.c: Likewise.
+       * config/tc-ia64.c: Likewise.
+       * config/tc-mn10300.c: Likewise.
+       * config/te-386bsd.h: Likewise.
+       * config/te-hppa.h: Likewise.
+       * config/te-nbsd.h: Likewise.
+       * config/te-ppcnw.h: Likewise.
+       * config/te-sparcaout.h: Likewise.
+       * config/te-tmips.h: Likewise.
+       * config/vax-inst.h: Likewise.
+       * config/vms-conf.h: Likewise.
+
+2000-11-14  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/tc-alpha.c (s_alpha_prologue): Preserve visibility bits.
+
 2000-11-13  H.J. Lu  <hjl@gnu.org>
 
        * config/obj-elf.c (elf_frob_symbol): Support
        BIG_ENDIAN macros.
        * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
        Fix compile time warning messages.
-       
+
 2000-11-07  Nick Clifton  <nickc@redhat.com>
 
        * stabs.c (generate_asm_file): Increase length of xmalloc'ed
        * config/te-hpux.h: New file.
        * configure.in: Add "ia64-*-hpux*" target to configure.
        * configure: Regenerate.
-       
+
 2000-11-06  Kazu Hirata  <kazu@hxi.com>
 
        * as.c: Fix formatting.
 
 2000-11-02  Theo Honohan  <th@futuretv.com>
 
-       * config/tc-arm.c (do_msr): Improve error message. 
+       * config/tc-arm.c (do_msr): Improve error message.
 
 2000-10-31  Eric Christopher  <echristo@redhat.com>
 
 
 2000-10-27  Aldy Hernandez  <aldyh@redhat.com>
 
-        * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
-        cpsr*.
-        (arm_psr_parse): Handle lowercase CPSR and SPSR.
+       * config/tc-arm.c (psrs): Remove lowercase versions of spsr* and
+       cpsr*.
+       (arm_psr_parse): Handle lowercase CPSR and SPSR.
 
 2000-10-25  Nick Clifton  <nickc@redhat.com>
 
 
 2000-10-18  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
 
-        * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
-        BFD_ASSEMBLER and !BFD_ASSEMBLER.
-        * config/tc-m68k.c (md_convert_frag_1): Use them instead of
-        BFD_RELOC_*.
+       * config/tc-m68k.h (RELAX_RELOC_*): New definitions for both
+       BFD_ASSEMBLER and !BFD_ASSEMBLER.
+       * config/tc-m68k.c (md_convert_frag_1): Use them instead of
+       BFD_RELOC_*.
 
 2000-10-17  Kazu Hirata  <kazu@hxi.com>
 
 
 2000-09-13  Anders Norlander  <anorland@acc.umu.se>
 
-       * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
-       (md_parse_option): Ditto.
-       (md_longopts): Add -mips32 option.
-       (md_show_usage): Document new options.
-       (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
-       (mips_ip): Assemble mfc0 with a sub-selection code.
-       (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
+       * config/tc-mips.c (md_begin): Recognize 4Kc, 4Km and 4Kp processors.
+       (md_parse_option): Ditto.
+       (md_longopts): Add -mips32 option.
+       (md_show_usage): Document new options.
+       (mips_ip): Assemble sdbbp 20 bit 'm' args for MIPS32.
+       (mips_ip): Assemble mfc0 with a sub-selection code.
+       (validate_mips_insn): Handle 'H' (OP_*_SEL) and 'm' (OP_*_CODE20).
        (mips_cpu_to_str): New function.
        (mips_ip): Use mips_cpu_to_str instead of printing numeric cpu value.
        Use CPU_* defines instead of hardcoded numbers.
 
-       * doc/as.texinfo: Document new options.
-       * doc/c-mips.texi: Ditto.
+       * doc/as.texinfo: Document new options.
+       * doc/c-mips.texi: Ditto.
 
 2000-09-12  Kazu Hirata  <kazu@hxi.com>
 
@@ -975,8 +1741,8 @@ Thu Aug 24 20:41:05 2000  Denis Chertykov  <denisc@overta.ru>
 2000-08-14  Mark Elbrecht  <snowball3@bigfoot.com>
 
        * config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Set the debug
-         flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
-         C_MOU, and C_EOS.
+       flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,
+       C_MOU, and C_EOS.
 
 2000-08-14  Jason Eckhardt  <jle@cygnus.com>
 
@@ -1308,7 +2074,7 @@ Thu Jul 27 11:25:01 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 2000-07-12  Mark Elbrecht  <snowball3@bigfoot.com>
 
        * config/obj-coff.c (coff_frob_section): Add padding to the last
-         section when aligning it increases its size.
+       section when aligning it increases its size.
 
 2000-07-11  Kazu Hirata  <kazu@hxi.com>
 
@@ -2350,7 +3116,7 @@ Tue Apr 25 11:02:02 2000  Jeffrey A Law  (law@cygnus.com)
 
 2000-04-24  Mark Klein <mklein@dis.com>
 
-        * obj-som.c: Terminate obj_pseudo_table.
+       * obj-som.c: Terminate obj_pseudo_table.
 
 Mon Apr 24 15:21:11 2000  Clinton Popetz  <cpopetz@cygnus.com>
 
@@ -6877,7 +7643,7 @@ Fri Jun  5 10:50:53 1998  Nick Clifton  <nickc@cygnus.com>
        * config/tc-d30v.c (md_assemble): Store previous segment state
        with previous instruction.
 
-Wed Jun         3 18:21:56 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
+Wed Jun  3 18:21:56 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
 
        * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Define.
        (ebp, esp): Remove static variables.