This adjusts equate handling by
[binutils-gdb.git] / gas / ChangeLog
index 8085e676e7dfffbe99eaa41251e33a6a3852d9ae..16d67b59f7ff5d0a1877e4e58675ef0f0e5aba34 100644 (file)
@@ -1,3 +1,178 @@
+2005-10-11  Jan Beulich  <jbeulich@novell.com>
+
+       * expr.h (enum expr_mode): New.
+       (expression): Pass thrid argument to expr.
+       (expression_and_evaluate): New.
+       (deferred_expression): New.
+       (expr): Add third parameter.
+       (resolve_expression): New.
+       * struc-symbol.h (struct symbol): New members sy_volatile and
+       sy_forward_ref.
+       * symbols.c, symbols.h (symbol_clone): New.
+       (symbol_clone_if_forward_ref): New.
+       (snapshot_symbol): New.
+       (S_IS_VOLATILE): New.
+       (S_IS_FORWARD_REF): New.
+       (S_SET_VOLATILE): New.
+       (S_SET_FORWARD_REF): New.
+       * as.c (macro_expr): Use expression_and_evaluate.
+       * cond.c (s_if): Likewise.
+       (s_elseif): Likewise.
+       * dw2gencfi.c (cfi_parse_reg): Likewise.
+       * expr.c (operand): Add second parameter. Optionally call
+       deferred_expression. Pass mode argument to itself and md_parse_name.
+       Check mode before trying to evaluate symbol. Call
+       symbol_clone_if_forward_ref for both operands.
+       (expr): Add thrid parameter. Pass mode to operand and itself.
+       Optionally call resolve_expression.
+       (resolve_expression): New.
+       (get_single_number): Pass second argument to operand.
+       * read.c (potable): New entry for .eqv.
+       (read_a_source_file): Handle new == operator.
+       (get_absolute_expr): Use expression_and_evaluate.
+       (s_lsym): Likewise.
+       (assign_symbol): Rename second parameter. Call symbol_clone on
+       legal and illegal redefinition. Call S_SET_VOLATILE and
+       S_SET_FORWARD_REF depending on mode.
+       (s_set): Update description.
+       (s_space): Call resolve_expression.
+       (pseudo_set): Optionally call deferred_expression. Check
+       S_IS_FORWARD_REF before trying to simplify/resolve an expression.
+       (equals): Handle ==.
+       * config/tc-ia64.h (md_parse_name): Add mode parameter.
+       * config/tc-arc.c (arc_parse_cons_expression): Likewise.
+       * config/tc-m32r.h (md_parse_name): Likewise.
+       (m32r_parse_name): Likewise.
+       * config/tc-mmix.h (md_parse_name): Likewise.
+       * config/tc-mn10300.h (md_parse_name): Likewise.
+       (mn10300_parse_name): Likewise.
+       * config/tc-ppc.h (md_parse_name): Likewise.
+       * config/tc-sh.h (md_parse_name): Likewise.
+       (sh_parse_name): Likewise.
+       * config/tc-sh64.h (md_parse_name): Likewise.
+       (sh64_consume_datalabel): Likewise.
+       * config/tc-tic54x.h (md_parse_name): Likewise.
+       * config/tc-m32r.c (m32r_parse_name): Add mode parameter. Check it
+       before trying to evaluate symbol.
+       * config/tc-mn10300.c (mn10300_parse_name): Likewise.
+       * config/tc-sh.c (sh_parse_name): Likewise.
+       * config/tc-sh64.c (sh64_consume_datalabel): Add mode parameter. Pass
+       second argument to operandf. Pass mode parameter to sh_parse_name.
+       * doc/as.texinfo: Document .eqv and the == assignment operator.
+
+2005-10-10  Ian Lance Taylor  <ian@airs.com>
+
+       * Makefile.am (EXTRA_DIST): Remove bfin-lex.l and bfin-defs.h.
+       * Makefile.in: Regenerate.
+
+2005-10-10  Arnold Metselaar  <arnold.metselaar@planet.nl>
+
+       * expr.c (operator): Allow "!=" as a synonym for "<>".
+       * doc/as.texinfo (Infix Op): Mention "!=".
+
+2005-10-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * config/tc-hppa.c (strict): Don't initialize.  Update comment.
+       (pa_ip): Promote from PA 1.0 to 1.1 immediately when 1.1 match is
+       found.  Simplify handling of "ma" and "mb" completers.
+
+2005-10-08  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c: Don't provide fallback default for CPU_DEFAULT.
+       (arm_arch_used, thumb_arch_used, selected_cpu, selected_cpu_name):
+       New variables.
+       (arm_cpu_option_table): Add canonical_name.
+       (arm_cpus): Populate canonical_name field.
+       (s_arm_eabi_attribute, s_arm_arch, s_arm_cpu, s_arm_fpu,
+       aeabi_set_public_attributes, arm_md_end): New functions.
+       (md_pseudo_table): Add "cpu", "arch", "fpu" and "eabi_attribute".
+       (md_assemble): Set thumb_arch_used and arm_arch_used.
+       (md_begin): Set defaut cpu if CPU_DEFAULT not defined.
+       * config/tc-arm.h (md_end): Define.
+       * doc/c-arm.texi: Document .cpu, .arch, .fpu and .eabi_attribute.
+
+2005-10-06  Khem Raj  <kraj@mvista.com>
+            NIIBE Yutaka  <gniibe@m17n.org>
+
+       * config/tc-sh.c (allow_dollar_register_prefix): New variable.
+       (parse_reg_without_prefix): New function.
+       (parse_reg): Check for '$' register prefix if --allow-reg-prefix is
+       set.
+       (option md_longopts): Add allow-reg-prefix option.
+       * doc/c-sh.texi: Document --allow-reg-prefix option.
+       * NEWS: Mention the new switch.
+
+2005-10-03  Arnold Metselaar  <arnold.metselaar@planet.nl>
+
+       * doc/as.texinfo (Infix Ops):  '<' and '>' are not shift
+       operators.
+
+2005-09-30  Sterling Augustine  <sterling@tensilica.com>
+           Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (xtensa_frob_label): Disallow labels in bundles.
+
+2005-09-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerated.
+       * aclocal.m4: Likewise.
+
+2005-09-30  Mark Mitchell  <mark@codesourcery.com>
+
+       * as.c (main): Use expandargv.
+
+2005-09-30  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-tic4x.c (tic4x_set): Advance input_line_pointer past
+       (removed) comma.
+
+2005-09-30  Catherine Moore  <clm@cm00re.com>
+
+       * Makefile.am: Bfin support.
+       * Makefile.in: Regenerated.
+       * aclocal.m4: Regenerated.
+       * configure: Regenerated.
+       * configure.in: Bfin support.
+       * configure.tgt: Bfin support.
+       * config/bfin-aux.h: New file.
+       * config/bfin-defs.h: New file.
+       * config/bfin-lex.l: New file.
+       * config/bfin-parse.y: New file.
+       * config/tc-bfin.c: New file.
+       * config/tc-bfin.h: New file.
+       * doc/Makefile.am: Recognize c-bfin.texi.
+       * doc/Makefile.in: Regenerated.
+       * doc/all.texi: Bfin support.
+       * doc/as.texinfo: Likewise.
+       * doc/c-bfin.texi: Document bfin-specific syntax and
+       directives.
+
+2005-09-30  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (opcode_tag): Add OT_cinfix3_legacy.
+       (opcode_lookup): Handle OT_cinfix3_legacy.  Revert earlier change for
+       normal infix conditions.
+       (C3E): Include Thumb-2 definition.
+       (CL, cCL): Define.
+       (insns): Use them for legacy mnemonics.
+
+2005-09-30  Matthias Kurz  <mk@baerlap.north.de>
+
+       * asintl.h: Prevent the inclusion of <libintl.h> from the Solaris
+       version of <locale.h> when ENABLE_NLS is not defined.
+
+2005-09-29  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-ia64.c (parse_operands): Always parse first operand of
+       alloc.
+
+2005-09-29  Arnold Metselaar <arnold.metselaar@planet.nl>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * app.c (do_scrub_chars): Match open and close quote of strings.
+       Remove redundant EOF test in case 7.
+
 2005-09-28  Jan Beulich  <jbeulich@novell.com>
 
        * config/tc-i386.c (reloc): Disable signedness check for 4-byte