gas/
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 195ef703a0db434b479a8740b5c7a14dcd9d6a70..3f06e7a6c464718442d2388684a7cff674c055dd 100644 (file)
@@ -1,3 +1,344 @@
+2005-04-25  Jan Beulich  <jbeulich@novell.com>
+
+       * macro.c (macro_expand_body): Replace locals indicator parameters
+       with actual macro_entry. New local variables macro_line and err.
+       Don't return when encountering an error, just record the fact.
+       Detect local symbol name colliding with parameter. Track line number
+       inside of macro expansion.
+       (do_formals): Move local variable name to wider scope. Check
+       parameter of the same name doesn't already exist. In MRI mode, also
+       check it doesn't collide with the argument count pseudo-parameter).
+       (define_macro): Add file and line number parameters. Remove local
+       variable namestr. New local variable error. Initialize macro_entry
+       members file, line, and name. Don't return when encountering an
+       error, just record the fact. Use %s in some diagnostics for read.c
+       to insert the macro name. Free macro_entry on error.
+       (macro_expand): Pass macro_entry to macro_epand_body. Don't return
+       when encountering an error, just record the fact.
+       (expand_irp): Don't return when encountering an error, just record
+       the fact.
+       * macro.h (macro_struct): New members name, file, and line.
+       (define_macro): Add file and line number parameters.
+       * read.c (s_macro): Pass file and line to define_macro. Tag warning
+       regarding pseudo-op redefinition with the file/line that macro
+       definition started at.
+
+2005-04-22  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro.
+       (future_alignment_required): Remove ifdefs that use it.
+
+2005-04-22  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (xg_get_build_instr_size): Remove.
+       (xg_is_narrow_insn, xg_expand_narrow): Remove.  Merge into...
+       (xg_is_single_relaxable_insn): ...here.  Add "targ" and "narrow_only"
+       parameters.
+       (xg_assembly_relax, xg_find_narrowest_format, relaxation_requirements,
+       convert_frag_narrow): Use new version of xg_is_single_relaxable_insn.
+
+2005-04-21  Christian Groessler  <chris@groessler.org>
+
+       * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[]
+       array.
+
+2005-04-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/obj-aout.h (S_IS_EXTERN): Removed.
+       * config/obj-bout.h (S_IS_EXTERN): Likewise.
+       * config/obj-coff.h (S_IS_EXTERN): Likewise.
+       * symbols.c (S_IS_EXTERN): Likewise.
+       * symbols.h (S_IS_EXTERN): Likewise.
+
+       * config/tc-alpha.c (tc_gen_reloc): Replace S_IS_EXTERN with
+       S_IS_EXTERNAL.
+       * config/tc-d10v.c (md_apply_fix3): Likewise.
+       * config/tc-ia64.c (ia64_fix_adjustable): Likewise.
+       * config/tc-iq2000.c (iq2000_fix_adjustable): Likewise.
+       * config/tc-m32r.c (m32r_fix_adjustable): Likewise.
+       * config/tc-mmix.c (mmix_adjust_symtab): Likewise.
+       * config/tc-sh64.c (shmedia_frob_file_before_adjust): Likewise.
+       (shmedia_md_convert_frag): Likewise.
+       * symbols.c (print_symbol_value_1): Likewise.
+       * write.c (write_object_file): Likewise.
+
+2005-04-20  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-xtensa.c (get_aligned_diff): Change type of
+       branch_align to offsetT so that its signedness matches that of
+       target_size.
+
+       * config/tc-mips.c (macro): Use sprintf_vma to convert a > 32 bit
+       number into a readable string.
+       (load_register): Likewise.
+
+2005-04-20  Andreas Schwab  <schwab@suse.de>
+
+       * config/tc-ia64.c (specify_resource): Initialize all of tmpl.
+
+2005-04-19  David S. Miller  <davem@davemloft.net>
+
+       * config/tc-sparc.c (md_assemble): If sparc_ip gives us a
+       NULL insn, exit early.  Remove now spurious NULL checks.
+       (sparc_ip): Use as_bad for unknown opcode errors, set *pinsn
+       to NULL and exit.
+
+2005-04-19  Jan Beulich  <jbeulich@novell.com>
+
+       * symbols.h (symbol_find_base): Remove prototype.
+       * symbols.c (save_symbol_name): Remove code section conditional upon
+       STRIP_UNDERSCORE.
+       (symbol_find): Remove.
+       (symbol_find_base): Rename to symbol_find.
+       * subsegs.c (section_symbol): Replace use of symbol_find_base with
+       symbol_find.
+       * config/obj-coff.c (tag_insert): Remove code section conditional
+       upon STRIP_UNDERSCORE.
+       (obj_coff_def): Likewise.
+       (obj_coff_endef): Replace use of symbol_find_base with symbol_find.
+       (coff_frob_symbol): Likewise.
+       (yank_symbols): Likewise.
+       (c_section_symbol): Likewise.
+       * config/obj-coff.h (DO_NOT_STRIP): Remove.
+       * config/tc-arm.c (symbol_locate): Remove code section conditional
+       upon STRIP_UNDERSCORE.
+       * config/tc-h8300.h (DO_NOT_STRIP): Remove.
+       * config/tc-h8500.h (DO_NOT_STRIP): Remove.
+       * config/tc-sh.h (DO_NOT_STRIP): Remove.
+       * config/tc-w65.h (DO_NOT_STRIP): Remove.
+       * config/tc-z8k.h (DO_NOT_STRIP): Remove.
+
+2005-04-19  Andreas Schwab  <schwab@suse.de>
+
+       * config/tc-ia64.c (md_assemble): Fix error message for wrong
+       access to application registers.
+
+2005-04-19  Jan Beulich  <jbeulich@novell.com>
+
+       * config/te-sysv32.h: Remove.
+       * Makefile.am (TARG_ENV_HFILES): Remove reference to
+       config/te-sysv32.h.
+       * Makefile.in (TARG_ENV_HFILES): Likewise.
+
+2005-04-19  Jan Beulich  <jbeulich@novell.com>
+
+       PR/847
+       * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero-
+       length symbols.
+
+2005-04-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
+
+2005-04-18  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * config/tc-mips.c (normalize_constant_expr): Don't check for
+       HAVE_32BIT_GPRS.
+       (check_absolute_expr): Only call normalize_constant_expr() if
+       HAVE_32BIT_GPRS.
+       (mips_ip): Likewise.
+
+       * config/tc-mips.c (check_absolute_expr): Fix formatting.
+
+2005-04-18  Jan Beulich  <jbeulich@novell.com>
+
+       * macro.c (free_token): New, freeing all the memory associated with a
+       macro.
+       (do_formals): Move initializers to ...
+       (define_macro): ... here.
+       (delete_macro): Convert passed in name to lower case. Warn when
+       purging macro that doesn't exist. Use hash_jam instead of hash_delete.
+
+2005-04-15  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * config/tc-mips.c (normalize_constant_expr): Fix formatting.
+
+2005-04-15  Jan Beulich  <jbeulich@novell.com>
+
+       * config/obj-elf.c (obj_elf_struct): New.
+       (elf_pseudo_table). Use it for .offset and .struct.
+
+2005-04-14  Bob Wilson  <bob.wilson@acm.org>
+           Sterling Augustine  <sterling@tensilica.com>
+
+       * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger
+       than the section alignment.
+
+2005-04-14  Bob Wilson  <bob.wilson@acm.org>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-xtensa.h (struct xtensa_frag_type): Add lit_frchain field.
+       * config/tc-xtensa.c (xg_translate_sysreg_op,
+       xtensa_translate_old_userregs_ops,
+       xtensa_find_unaligned_branch_targets,
+       xtensa_find_unaligned_loops, xtensa_fix_close_loop_end_frags,
+       relax_frag_add_nop): Support 64-bit host.
+       (xtensa_mark_literal_pool_location, xtensa_move_literals): Use
+       tc_frag_data lit_frchain and lit_seg fields instead of fr_var.
+
+2005-04-14  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.tgt: Add support for OpenBSD/sparc ELF.
+
+       * configure.tgt: Set emulation for mips-*-openbsd*.
+       Remove broken mips-dec-openbsd* config.
+       * configure.in: Set default ABI for mips64-*-openbsd*.
+       * configure: Regenerate.
+
+2005-04-14  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * config/tc-mips.c (macro) [ldd_std]: Don't attempt the GP
+       optimization for constant addresses.
+
+2005-04-14  Nick Clifton  <nickc@redhat.com>
+
+       * as.c (main): Move parse_args before symbol_begin and frag_init
+       so that the hash table size can be set before it is used.
+       * hash.c: Use an unsigned long type for the size of the hash
+       tables.
+       * hash.h (set_gas_hash_table_size): Update the prototype.       
+
+2005-04-14  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
+       * acinclude.m4: Include ../bfd/warning.m4.
+       * configure.in: Invoke AM_BINUTILS_WARNINGS.
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2005-04-13  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * config/tc-mips.c (IS_ZEXT_32BIT_NUM): New macro.
+       (normalize_address_expr): New function to sign-extend address
+       offsets that fit into 32 bits in 32-bit mode.
+       (macro_build_ldst_constoffset): Use normalize_address_expr()
+       instead of a handcoded sequence.
+       (load_register): Likewise.  Report oversized numbers in a useful
+       way.
+       (macro) [ld_st, ldd_std]: Reject all oversized offsets, not only
+       for constant addresses.  Report oversized numbers in a useful way.
+       (mips_ip): Use normalize_address_expr() for addresses.
+
+2005-04-12  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/tc-i386.c (output_insn): Handle VIA PadLock instructions
+       similar to other instructions now that they're marked as ImmExt.
+
+2005-04-12  Nick Clifton  <nickc@redhat.com>
+
+       * hash.c (DEFAULT_SIZE): Delete.  Replace with:
+       (gas_hash_table_size): New static variable.
+       (set_gas_hash_table_size): New function:  Records a requested size
+       for the hash tables.
+       (get_gas_hash_table_size): New function: Return a prime number
+       near the requested size of the hash table.
+       (hash_new): Use get_gas_hash_table_size.
+       * hash.h: Add a prototype for set_gas_hash_table_size.
+       * as.c (show_usage): Add description of new switches: --hash-size
+       and --reduce-memory-overheads.
+       (option_values): Add OPTION_HASH_TABLE_SIZE and
+       OPTION_REDUCE_MEMORY_OVERHEADS.
+       (std_longpopts): Add entries for the new options.
+       (parse_args): Handle the new options.
+       * Makefile.am: Add a dependency of as.c on hash.h.
+       * Makefile.in: Regenerate.
+       * doc/as.texinfo: Document the new switches.
+       * NEWS: Mention the new switches.
+
+2005-04-12  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/818
+       * config/tc-hppa.c (pre_defined_registers): Fix %farg[0-3]
+       synonyms.
+
+2005-04-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2005-04-11  Sterling Augustine  <sterling@tensilica.com>
+           Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Fix typo.
+
+2005-04-11  Mark Kettenis  <kettenis@gnu.org>
+
+       * configure.tgt (generic_target): Add support for OpenBSD/i386 ELF.
+
+2005-04-11  Jan Beulich  <jbeulich@novell.com>
+
+       * NEWS: Mention these changes and their effects.
+       * macro.c (get_token): Use is_name_beginner/is_part_of_name/
+       is_name_ender.
+       (check_macro): Likewise.
+       (buffer_and_nest): Likewise. Permit multiple labels. Don't discard
+       labels together with the closing pseudo-op.
+       (macro_expand_body): Adjust comment. Range-check input before use.
+       Adjust mis-spelled diagnostic. Use is_name_beginner.
+       * read.c (try_macro): New.
+       (read_a_source_file): New static variable last_eol. Don't list
+       macro expansion lines more than once. Call try_macro.
+       (s_macro): Set section of line_label to absolute instead of undefined.
+       * doc/as.texinfo: Add information on the caveats of these changes.
+
+2005-04-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * symbols.c (symbol_X_add_number): Change return type to "offsetT *".
+       * symbols.h (symbol_X_add_number): Update prototype.
+
+2005-04-10  Eric Christopher  <echristo@redhat.com>
+
+       * symbols.c (symbol_X_add_number): Fix warning.
+
+2005-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-m68k.c (md_begin): Support 64bit host.
+       (get_num): Support 64bit BFD on 32bit host.
+
+2005-04-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-mips.c (md_apply_fix3): Fix typos in BFD_RELOC_64.
+
+2005-04-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * read.c (assign_symbol): Remove const from parm.  Fix xcalloc
+       call.  Don't do the COFF hacks for multi-emulation gas.  Move
+       demand_empty_rest_of_line back to caller.
+       (s_set, equals): demand_empty_rest_of_line here.
+
+       PR gas/827
+       * as.h (rs_dummy): Define.
+       * symbols.c (symbol_X_add_number): New function.
+       * symbols.h (symbol_X_add_number): Declare.
+       * stabs.c (aout_process_stab): Tidy symbol frag setting.
+       * read.c (assign_symbol): New function, split out from s_set.
+       Use symbol_find_or_make.  Leave fr_type of dummy frag as rs_dummy.
+       Fix COFF hacks for multi-emulation gas.
+       (s_set): Call assign_symbol.  Remove "register" keyword.
+       (set_zero_frag): New function.
+       (pseudo_set): Always check for assignment to section syms.
+       Always set segment and frag of symbol, and likewise extern for
+       aout/bout.  Handle assignment of sym=sym+/-const specially.  Don't
+       special case exp.X_add_number non-zero for O_symbol expressions.
+       (equals): Use assign_symbol.
+
+2005-04-08  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (xtensa_create_xproperty_segments): Skip
+       SEC_MERGE sections.
+
+2005-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (tc_gen_reloc): Don't turn
+       BFD_RELOC_X86_64_32S into BFD_RELOC_32.
+
+2005-04-06  Nick Clifton  <nickc@redhat.com>
+
+       * po/rw.po: New translation: Kinyarwanda
+       * configure.in (ALL_LINGUAS): Add rw
+       * configure: Regenerate.
+
 2005-04-05  Sterling Augustine  <sterling@tensilica.com>
            Bob Wilson  <bob.wilson@acm.org>
 
This page took 0.027132 seconds and 4 git commands to generate.