* as.c (debug_type): Init to DEBUG_UNSPECIFIED.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 1187bb213e050c157e544c6946529555ae0be098..f73c3f414926b4153f0f1ef385d5e3e209de55b2 100644 (file)
@@ -1,3 +1,390 @@
+2000-11-17  Richard Henderson  <rth@redhat.com>
+
+       * as.c (debug_type): Init to DEBUG_UNSPECIFIED.
+       * 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
+       ".symver name,name2@@@nodename".
+       (elf_frob_file_before_adjust): Likewise.
+
+       * doc/as.texinfo: Updated for ".symver name,name2@@@nodename"
+       and ".symver name,name2@@@nodename".
+       Fix a typo.
+
+2000-11-12  H.J. Lu  (hjl@gnu.org)
+
+       * config/obj-elf.c (obj_elf_symver): Check missing version
+       name.
+
+2000-11-12  H.J. Lu  (hjl@gnu.org)
+
+       * dwarf2dbg.c (dwarf2_generate_asm_lineno): Use addressT
+       instead of bfd_vma for non-bfd assemblers.
+
+2000-11-09  Kazu Hirata  <kazu@hxi.com>
+
+       * itbl-ops.c: Fix comment typos.
+
+2000-11-08  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-ia64.c (struct unw_rec_list): Add slot_frag field.
+       (struct unwind): Add next_slot_frag field.
+       (slot_index): New parameters slot_frag and first_frag.  Add code
+       to add in frag sizes when different.  Add comments.
+       (fixup_unw_records): New locals first_frag and last_frag.  Pass new
+       arguments to slot_index.
+       (emit_one_bundle): Set slot_frag field.  Set next_slot_number after
+       loop end.  Set next_slot_frag field.
+
+2000-11-07  H.J. Lu  <hjl@gnu.org>
+
+       * doc/as.texinfo (.symver): Updated for versioned symbol
+       reference.
+
+       * obj.h (format_ops): Add the frob_file_before_adjust field.
+
+       * config/obj-aout.c (aout_format_ops): Set the
+       frob_file_before_adjust field to 0.
+       * config/obj-coff.c (coff_format_ops): Likewise.
+       * config/obj-ecoff.c (ecoff_format_ops): Likewise.
+
+       * config/obj-elf.c (obj_elf_symver): Allow duplicated version
+       name.
+       (elf_frob_file_before_adjust): New function to remove unneeded
+       versioned symbols from the symbol table.
+       (elf_format_ops): Set the frob_file_before_adjust field to
+       elf_frob_file_before_adjust.
+
+       * config/obj-elf.h (obj_frob_file_before_adjust): Defined if
+       not defined.
+
+       * config/obj-multi.h (obj_frob_file_before_adjust): Defined.
+
+2000-11-07  Peter Targett  <peter.targett@arccores.com>
+
+       * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
+       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
+       buffer in order to avoid buffer overflows.
+
+2000-11-06  Steve Ellcey <sje@cup.hp.com>
+
+       * config/tc-ia64.c (md_shortopts, md_parse_option, md_show_usage):
+       Change M to m for -milp32 or -mlp64 to match gcc.
+       (dot_endp): Use bytes_per_address instead of 8.
+       (emit_one_bundle): Use number_to_chars_littleendian instead of
+       md_number_to_chars.
+       (fix_insn): Likewise.
+       (ia64_init): New function.
+       (ia64_target_format): New function.
+       (md_begin): Set endianness, arch, and machine as appropriate.
+       * config/tc-ia64.h: (TARGET_BYTES_BIG_ENDIAN, md_number_to_chars):
+       Make these macros depend on TE_HPUX macro.
+       (TARGET_FORMAT): Define.
+       (HOST_SPECIAL_INIT): Define.
+       * 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.
+       * dwarf2dbg.c: Likewise.
+       * input-file.c: Likewise.
+       * input-file.h: Likewise.
+       * input-scrub.c: Likewise.
+       * itbl-ops.c: Likewise.
+       * listing.c: Likewise.
+       * macro.h: Likewise.
+       * messages.c: Likewise.
+       * read.c: Likewise.
+       * subsegs.c: Likewise.
+       * subsegs.h: Likewise.
+       * write.c: Likewise.
+
+2000-11-06  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo: Add GNU Free Documentation License.
+       * doc/gasp.texi:  Add GNU Free Documentation License.
+       * doc/as.1:  Add GNU Free Documentation License.
+
+2000-11-05  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c: Add include of "dwarf2dbg.h"
+
+2000-11-02  Per Lundberg  <plundis@chaosdev.org>
+
+       * configure.in: Recognise i[3456]86-chaosdev-storm-chaos.
+       * configure: Regenerate.
+
+2000-11-01  Nick Clifton  <nickc@redhat.com>
+
+       * read.c (original_case_string): New global variable.
+       (read_a_source_file): Copy opcode string into
+       original_case_string if clobbering the case of the opcode.
+       * read.h: Export the definition of original_case_string.
+       * config/tc-arm.c (md_assembler): When parsing a .req
+       directive use the original opcode string, not the case
+       clobbered version.
+
+2000-11-02  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-mn10300.c (debug_line): Remove this static
+       variable.
+       (md_assemble): Call dwarf2_generate_asm_lineno instead of
+       dwarf2_where and dwarf2_gen_line_info.
+
+2000-11-02  Theo Honohan  <th@futuretv.com>
+
+       * config/tc-arm.c (do_msr): Improve error message. 
+
+2000-10-31  Eric Christopher  <echristo@redhat.com>
+
+       * config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved
+       or pc-relative, else use fx_offset.
+
+2000-10-31  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-ia64.c (struct md): New field tag_fixups.
+       (ia64_flush_insns): Handle tag_fixups.  Error if dangling
+       qualifying predicate.
+       (emit_one_bundle): Delete spurious multiplication by one.  Handle
+       tag_fixups.
+       (ia64_start_line): Error if dangling qualifying predicate.
+       (defining_tag): New static variable.
+       (ia64_unrecognized_line, case '['): Parse tags.
+       (ia64_frob_label): Create tag_fixups.
+       (md_assemble): Reset md.qp.X_op after using it.
+
+2000-10-31  Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+       * config/tc-sh.c (md_apply_fix [BFD_RELOC_SH_PCDISP12BY2]): Allow 4094.
+
+2000-10-31  Bernd Schmidt  <bernds@redhat.co.uk>
+
+       * tc-ia64.c (extra_goodness): Only prefer F in slot 1 and B in slot 2.
+
+2000-10-30  Kazu Hirata  <kazu@hxi.com>
+
+       * expr.c: Fix formatting.
+       * flonum-copy.c: Likewise.
+       * flonum.h: Likewise.
+       * gasp.c: Likewise.
+       * hash.c: Likewise.
+
+2000-10-30  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * as.h (OPTION_MD_BASE): Bump to 190.
+       * as.c (parse_args) <std_longopts>: Add comment about the need to
+       check OPTION_MD_BASE in as.h.
+
+       * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VAL
+       for weak symbols.
+
+2000-10-27  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (emulations): Add m68hc12.
+       * configure: Regenerate.
+       * po/gas.pot: Regenerate.
+
+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.
+
+2000-10-25  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2out.c (dwarf2_generate_asm_lineno): New function: Generate
+       a DWARF2 line number information sequence.
+
+       *dwarf2out.h: Add prototype for dwarf2_generate_asm_lineno.
+
+       * read.c (generate_lineno_debug): Update comment describing why
+       DWARF2 line number debug information is not generated
+       automatically by this function.
+
+       * doc/as.texinfo: Note that --gdwarf2 only works on some targets,
+       not all.
+
+       * config/tc-arm.h (md_end): Define.
+       (DWARF2_LINE_MIN_INSN_LENGTH): Define.
+
+       * config/tc-arm.c (output_inst): Call dwarf2_generate_asm_lineno
+       if generating DWARF2 line numbers.
+       (arm_end_of_source): New function.  Call dwarf2_finish if
+       necessary.
+
+       * config/tc-hppa.c (md_assemble): Use dwarf2_generate_asm_lineno.
+       * config/tc-m68hc11.c (m68hc11_new_insn): Use dwarf2_generate_asm_lineno.
+       * config/tc-sh.c (md_assemble): Use dwarf2_generate_asm_lineno.
+
+2000-10-25  Diego Novillo  <dnovillo@cygnus.com>
+
+       * tc-i386.c: Fix prototype declarations for functions taking no
+       arguments.
+
+2000-10-24  Diego Novillo  <dnovillo@cygnus.com>
+
+       * tc-i386.c (i386_operand_modifier): Remove.
+       (build_displacement_string): Remove.
+       (i386_parse_seg): Remove.
+       (i386_intel_memory_operand): Remove.
+       (i386_intel_operand): Re-write using recursive descent parser based
+       on MASM documentation.
+       (struct intel_parser_s): New structure.
+       (intel_parser): New static variable.
+       (struct intel_token): New structure.
+       (cur_token, prev_token): New static variables.
+       (T_NIL): Define.
+       (T_CONST): Define.
+       (T_REG): Define.
+       (T_BYTE): Define.
+       (T_WORD): Define.
+       (T_DWORD): Define.
+       (T_QWORD): Define.
+       (T_XWORD): Define.
+       (T_SHORT): Define.
+       (T_OFFSET): Define.
+       (T_PTR): Define.
+       (T_ID): Define.
+       (intel_match_token): New function.
+       (intel_get_token): New function.
+       (intel_putback_token): New function.
+       (intel_expr): New function.
+       (intel_e05): New function.
+       (intel_e05_1): New function.
+       (intel_e06): New function.
+       (intel_e06_1): New function.
+       (intel_e09): New function.
+       (intel_e09_1): New function.
+       (intel_e10): New function.
+       (intel_e10_1): New function.
+       (intel_e11): New function.
+
 2000-10-20  Jakub Jelinek  <jakub@redhat.com>
 
        * config/tc-sparc.c (sparc_ip): Fix a bug which caused v9_arg_p
This page took 0.02927 seconds and 4 git commands to generate.