Skip to content
Snippets Groups Projects
  1. Jul 28, 2009
    • Jan Beulich's avatar
      gas/ · 1035ad42
      Jan Beulich authored
      2009-07-28  Jan Beulich  <jbeulich@novell.com>
      
      	* expr.c (op_rank): Specify size. Remove O_md* initializers.
      1035ad42
  2. Jun 22, 2009
    • Nick Clifton's avatar
      * gas/app, gas/as.c, gas/as.h, gas/atof-generic.c, gas/cgen.c, · 9c2799c2
      Nick Clifton authored
              gas/config/atof-ieee.c, gas/config/obj-aout.c,
              gas/config/obj-coff.c, gas/config/obj-ecoff.c,
              gas/config/obj-elf.c, gas/config/obj-som.c, gas/config/tc-alpha.c,
              gas/config/tc-arc.c, gas/config/tc-arm.c, gas/config/tc-cr16.c,
              gas/config/tc-cris.c, gas/config/tc-crx.c, gas/config/tc-d30v.c,
              gas/config/tc-dlx.c, gas/config/tc-hppa.c, gas/config/tc-i370.c,
              gas/config/tc-i386-intel.c, gas/config/tc-i386.c,
              gas/config/tc-i860.c, gas/config/tc-i960.c, gas/config/tc-ia64.c,
              gas/config/tc-iq2000.c, gas/config/tc-m32c.c,
              gas/config/tc-m32r.c, gas/config/tc-m68hc11.c,
              gas/config/tc-m68k.c, gas/config/tc-maxq.c, gas/config/tc-mcore.c,
              gas/config/tc-mep.c, gas/config/tc-mips.c, gas/config/tc-mmix.c,
              gas/config/tc-mn10300.c, gas/config/tc-moxie.c,
              gas/config/tc-ns32k.c, gas/config/tc-pj.c, gas/config/tc-ppc.c,
              gas/config/tc-s390.c, gas/config/tc-score.c,
              gas/config/tc-score7.c, gas/config/tc-sh.c, gas/config/tc-sparc.c,
              gas/config/tc-spu.c, gas/config/tc-tic30.c, gas/config/tc-vax.c,
              gas/config/tc-xtensa.c, gas/config/xtensa-relax.c,
              gas/dw2gencfi.c, gas/dwarf2dbg.c, gas/ehopt.c, gas/expr.c,
              gas/frags.c, gas/input-file.c, gas/read.c, gas/sb.c,
              gas/subsegs.c, gas/symbols.c, gas/write.c: Change the name of the
              gas macro `assert' to `gas_assert'.
      9c2799c2
  3. Apr 20, 2009
    • Jan Beulich's avatar
      gas/ · fcaed75e
      Jan Beulich authored
      2009-04-20  Jan Beulich  <jbeulich@novell.com>
      
      	* expr.c (operand): Call md_need_index_operator() and
      	md_operator() if defined. Add unary label.
      	(operator): Call md_operator() if defined.
      	(expr): Adjust assertions on range and rank of op_left and
      	op_right. Don't abort on unhandled operators when reducing
      	expressions with both operands being constant.
      	(expr_set_rank): New.
      	* expr.h (expr_set_rank): Declare.
      fcaed75e
  4. Apr 16, 2009
    • Jan Beulich's avatar
      gas/ · d85733c8
      Jan Beulich authored
      2009-04-16  Jan Beulich  <jbeulich@novell.com>
      
      	* expr.c: Include limits.h if available, and #define CHAR_BITS
      	otherwise.
      	(expr): Check range of shift count when evaluating a constant
      	expression.
      d85733c8
  5. Oct 19, 2007
  6. Sep 26, 2007
    • Jan Beulich's avatar
      gas/ · 5a918ce7
      Jan Beulich authored
      2007-09-26  Jan Beulich  <jbeulich@novell.com>
      
      	* config/tc-i386.h (md_register_arithmetic): Define.
      	* config/tc-ia64.h (md_register_arithmetic): Likewise.
      	* doc/internals.texi: Document md_register_arithmetic.
      	* expr.c (make_expr_symbol): Force O_register expressions into
      	reg_section.
      	(expr): Provide default for md_register_arithmetic. Don't resolve
      	adding/subtracting constants to/from registers if
      	md_register_arithmetic is zero.
      5a918ce7
  7. Jul 03, 2007
  8. Apr 21, 2007
    • Alan Modra's avatar
      gas/ · db557034
      Alan Modra authored
      	* expr.c (expr): Assert on rankarg, not rank which can be unsigned.
      	* read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
      	Don't skip over NUL char.
      	(pseudo_set): Set X_op for registers to O_register.
      	* symbols.c (symbol_clone): Remove assertion that sym is defined.
      	(resolve_symbol_value): Resolve O_register symbols.
      	* config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
      	Instead find st(0) by hash lookup.
      	* config/tc-ppc.c (ppc_macro): Warning fix.
      opcodes/
      	* i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete.
      	Move contents to..
      	(i386_regtab): ..here.
      	* i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
      db557034
  9. Oct 24, 2006
  10. Jun 07, 2006
  11. May 09, 2006
  12. Apr 04, 2006
    • Alan Modra's avatar
      PR 997 · 99630778
      Alan Modra authored
      	* frags.c (frag_offset_fixed_p): New function.
      	* frags.h (frag_offset_fixed_p): Declare.
      	* expr.c (expr): Use frag_offset_fixed_p when simplifying subtraction.
      	(resolve_expression): Likewise.
      99630778
  13. Dec 22, 2005
    • Jan Beulich's avatar
      gas/ · 2e1e12b1
      Jan Beulich authored
      2005-12-22  Jan Beulich  <jbeulich@novell.com>
      
      	* symbols.h (snapshot_symbol): First parameter is now pointer
      	to pointer to symbolS.
      	* symbols.c (snapshot_symbol): Likewise. Store resulting symbol
      	there. Use symbol_equated_p.
      	* expr.c (resolve_expression): Change first argument to
      	snapshot_symbol. Track possibly changed add_symbol consistently
      	across function. Resolve more special cases with known result.
      	Also update final_val when replacing add_symbol.
      
      gas/testsuite/
      2005-12-22  Jan Beulich  <jbeulich@novell.com>
      
      	* gas/all/cond.s: Also check .if works on equates to undefined
      	when the expression value can be known without knowing the
      	value of the symbol.
      	* gas/all/cond.l: Adjust.
      	* gas/i386/equ.s: Also check .if works on (equates to)
      	registers when the expression value can be known without
      	knowing the value of the register.
      	* gas/i386/equ.e: Adjust.
      2e1e12b1
  14. Nov 08, 2005
  15. Nov 07, 2005
  16. Oct 11, 2005
    • Nick Clifton's avatar
      This adjusts equate handling by · 9497f5ac
      Nick Clifton authored
      - allowing true forward references (which will always assume the referenced
        symbols have at the point of use) through the new .eqv pseudo-op and the
        new == operator
      - disallowing changing .equiv-generated equates (so that the protection this
        provides is both forward and backward)
      - snapshotting equates when their value gets changed so that previous uses
        don't get affected by the new value.
      - allowing expressions in places where absolute expressions (or register
        names) are needed which were not completely resolvable at the point of
        their definition but which are fully resolvable at the point of use
      
      In addition it fixes PR/288.
      9497f5ac
  17. Oct 10, 2005
  18. May 05, 2005
  19. Apr 29, 2005
    • Ben Elliston's avatar
      * Makefile.am (GAS_CFILES): Remove bignum-copy.c. · 87c245cc
      Ben Elliston authored
      	(GENERIC_OBJS): Likewise, remove bignum-copy.o.
      	(bignum-copy.o): Remove.
      	* Makefile.in: Regenerate.
      	* makefile.vms (OBJS): Remove bignum-copy.obj.
      	* symbols.h (local_symbol_make): Remove declaration.
      	(verify_symbol_chain_2): Likewise.
      	* symbols.c (local_symbol_make): Make static.
      	(max_indent_level): Likewise.
      	(verify_symbol_chain_2): Remove.
      	* macro.c (macro_hash): Make static.
      	* messages.c (fprint_value): Remove.
      	* read.h (get_absolute_expr): Remove.
      	(emit_leb128_expr): Likewise.
      	(do_s_func): Likewise.
      	* read.c (do_s_func): Make static.
      	(emit_leb128_expr): Likewise.
      	(get_absolute_expr): Likewise.
      	* as.h (as_howmuch): Remove declaration.
      	(fprint_value): Likewise.
      	* as.c (myname): Make static.
      	* input-scrub.c (as_howmuch): Remove.
      	(as_1_char): Likewise.
      	* input-file.h (input_file_is_open): Remove.
      	* input-file.c (input_file_is_open): Likewise.
      	* expr.h (expr_build_unary): Remove declaration.
      	(expr_build_binary): Likewise.
      	* expr.c (expr_build_unary): Remove.
      	(expr_build_binary): Likewise.
      	* hash.h (hash_replace): Remove declaration.
      	(hash_delete): Likewise.
      	* hash.c (hash_replace): Remove.
      	(hash_delete): Likewise.
      	* bignum-copy.c (bignum_copy): Move from here ..
      	* config/tc-vax.c (bignum_copy): .. to here.
      	* bignum.h (LOG_TO_BASE_2_OF_10): Remove.
      	(bignum_copy): Remove extern declaration.
      	* sb.h (string_count): Remove extern declaration.
      	(sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
      	(sb_name): Likewise.
      	* sb.c (dsize): Replace preprocessor macro with static int.
      	(string_count): Make static.
      	(sb_build, sb_add_buffer, sb_print, sb_print_at): Likewise.
      	(sb_name): Likewise.
      	* config/obj-coff.c (dim_index): Make static.
      	* config/tc-i386.c (GOT_symbol): Likewise.
      	(output_invalid_buf): Likewise.
      	* doc/internals.texi (Warning and error messages): Remove the
      	prototype for fprint_value.
      87c245cc
  20. Mar 15, 2005
    • Jan Beulich's avatar
      gas/ · 43c3ab55
      Jan Beulich authored
      2005-03-15  Jan Beulich  <jbeulich@novell.com>
      
      	* expr.c (operand): Merge handling of unary + into that for unary
      	-, !, and ~.
      43c3ab55
  21. Mar 03, 2005
  22. Mar 01, 2005
    • Alan Modra's avatar
      * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack. · 9d0e75cb
      Alan Modra authored
      	* config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
      9d0e75cb
    • Alan Modra's avatar
      * as.h (assert): Warning fix. · c9dea48b
      Alan Modra authored
      	* expr.c (expr): Correct assertion.
      	* read.c (s_comm_internal): Remove assertion.
      	* write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
      	(fixup_segment): Remove assertion.
      	* config/tc-dlx.c (machine_ip): Remove untrue assertions.
      	(md_apply_fix3): Likewise.
      	* config/tc-i370.c (md_begin): Correct assertion.
      	(i370_macro): Warning fix for assertion.
      c9dea48b
  23. Aug 11, 2004
  24. May 23, 2004
  25. Apr 16, 2004
  26. Mar 18, 2004
  27. Nov 22, 2003
    • Kazu Hirata's avatar
      * ehopt.c: Convert to ISO-C. · dd625418
      Kazu Hirata authored
      	* emul.h: Likewise.
      	* expr.c: Likewise.
      	* expr.h: Likewise.
      	* flonum-copy.c: Likewise.
      	* flonum-mult.c: Likewise.
      	* flonum.h: Likewise.
      	* frags.c: Likewise.
      	* frags.h: Likewise.
      dd625418
  28. May 27, 2003
  29. Oct 18, 2002
  30. Sep 20, 2002
  31. Aug 27, 2002
    • Alan Modra's avatar
      * dwarf2dbg.c: Always include dwarf2dbg.h. · 70658493
      Alan Modra authored
      	(dwarf2_directive_file): Adjust dummy version args.
      	* ecoff.c (ecoff_directive_weakext): Add ATTRIBUTE_UNUSED.
      	* expr.c (clean_up_expression <O_subtract>): Allow subtraction
      	when symbol values differ.
      	* read.c (do_align): Add ATTRIBUTE_UNUSED to label.
      	(pseudo_set <O_subtract>): Remove unnecessary segment test.
      	* config/obj-bout.c (obj_pseudo_table): Warning fix.
      70658493
  32. May 18, 2002
    • Kazu Hirata's avatar
      * app.c: Fix formatting. · 411863a4
      Kazu Hirata authored
      	* as.c: Likewise.
      	* ehopt.c: Likewise.
      	* expr.c: Likewise.
      	* input-file.c: Likewise.
      	* listing.c: Likewise.
      	* macro.h: Likewise.
      	* stabs.c: Likewise.
      	* symbols.c: Likewise.
      411863a4
  33. Oct 11, 2001
  34. Sep 19, 2001
  35. Sep 09, 2001
    • Alan Modra's avatar
      * expr.c (expr): Move code setting "retval" to the end of the loop, · e0890092
      Alan Modra authored
      	and rearrange for efficiency.  For "PIC code" subtraction, use
      	"rightseg" rather than recalculating.  For "symbol OP symbol"
      	subtract, set "retval" to absolute_section if symbols in same
      	section.
      	* symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an
      	O_symbol.  Simplify a +/- b code.  Allow equality and non-equality
      	comparisons on symbols from any section.  Allow other comparison
      	operators as for subtraction.
      	(symbol_equated_reloc_p): New predicate function.
      	* symbols.h (symbol_equated_reloc_p): Declare.
      	* write.c (adjust_reloc_syms): Use symbol_equated_reloc_p.
      	(write_relocs): Likewise.
      	(write_object_file): Likewise.
      	(relax_segment <rs_machine_dependent>): Ensure segment for
      	expression syms is set correctly.
      	* config/tc-mips.c (md_estimate_size_before_relax): Likewise.
      	* config/tc-i386.c (md_assemble <Output jumps>): Don't lose part
      	of a complex expression when setting up frag_var.
      e0890092
  36. Aug 14, 2001
    • Jeff Johnston's avatar
      · c68012fb
      Jeff Johnston authored
      2001-08-14  Jeff Johnston  <jjohnstn@redhat.com>
      
              * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
              a label, not a hex constant.
      
      This patch was approved by Nick Clifton.
      c68012fb
  37. Aug 01, 2001
    • Alan Modra's avatar
      * read.c: Standardize error/warning messages - don't capitalise, no · 0e389e77
      Alan Modra authored
      	final period or newline, don't say "ignored" or "zero assumed" for
      	as_bad messages.  In some cases, change the wording to that used
      	elsewhere for similar messages.
      	* app.c, as.c, atof-generic.c, cgen.c, cond.c, depend.c, dwarf2dbg.c,
      	  ecoff.c, expr.c, frags.c, input-file.c, input-scrub.c, listing.c,
      	  output-file.c, stabs.c, subsegs.c, symbols.c, write.c: Likewise.
      	* ecoff.c (ecoff_directive_end): Test for missing name by
      	comparing input line pointers rather than reading string.
      	(ecoff_directive_ent): Likewise.
      	* read.c (s_set): Likewise.
      	(s_align): Report a warning rather than an error for
      	alignment too large.
      	(s_comm): Check for missing symbol name.
      	(s_lcomm_internal): Likewise.
      	(s_lsym): Likewise.
      	(s_globl): Use is_end_of_line instead of looking for '\n'.
      	(s_lcomm_internal): Likewise.
      	(ignore_rest_of_line): Report a warning rather than an error.
      0e389e77
Loading