X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2FChangeLog;h=0593f7c1d9239a4b16ed6126eead67952b466ff4;hb=0bf60745767d2465c81ee57ae7705a62d6d8fafe;hp=59a384aeeb2a24705ff5a4cc3f8f87b10191e4e4;hpb=64efe6255e659a2aee0d19d631c0142b09e85463;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index 59a384aeeb..0593f7c1d9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,771 @@ +2005-06-07 Bob Wilson + + * config/tc-xtensa.h (resource_table): Change units to unsigned chars. + * config/tc-xtensa.c (new_resource_table): Likewise. + (resize_resource_table): Likewise. + (release_resources): Fix assertion for unsigned values. + +2005-06-07 Zack Weinberg + + * cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c + * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h + * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c + * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h + * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c + * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h + * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h + * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c + * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h + * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c + * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h + * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c + * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c + * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h + * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c + * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c + * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c + * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c + * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c + * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h + * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h + * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c + * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c + * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h + * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c + * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c + * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h + * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h + * config/tc-xtensa.c, config/tc-z8k.c: + Replace all instances of the string "_apply_fix3" with + "_apply_fix". + * po/POTFILES.in, po/gas.pot: Regenerate. + +2005-06-08 Alan Modra + + * Makefile.am: Run "make dep-am". + (POTFILES): Remove GAS_CFILES. + * Makefile.in: Regenerate. + +2005-06-07 David Ung + + * config/tc-mips.c (mips_cpu_info_table): Add cpu names m4k, 24k, + 24kc, 24kf and 24kfx under MIPS32 release 2. + +2005-06-04 Nick Clifton + + * config/tc-arm.c (CE, C3, CM, UE, UF): Redefine without reference + to their Thumb-enabled equivalents. + +2005-06-01 Maciej W. Rozycki + + * config/tc-mips.c (load_register): Add leading "0x" to the + output of sprintf_vma(). + (macro): Likewise. + +2005-06-01 Nick Clifton + + * config/tc-arm.c (TxCE, TxC3, TxCM, TUE, TUF): Remove redundant + test for the presence of thumb version of the parsing functions + since they must always exist and the test generates a compile time + warning message. + +2005-05-31 Richard Henderson + + * config/tc-alpha.c (O_lituse_jsrdirect): New. + (alpha_reloc_op): Add it. + (debug_exp): Handle it. + (DUMMY_RELOC_LITUSE_JSRDIRECT): New. + (emit_insn): Handle it. + * doc/c-alpha.texi (Alpha-Relocs): Document lituse_jsrdirect. + +2005-05-31 Christian Groessler + + * write.c (dump_section_relocs): Convert to ISO-C. + (write_relocs): Avoid signed/unsigned and fprintf argument + warnings in debug code. + +2005-05-26 Zack Weinberg + + * config/tc-arm.h (TC_FIX_TYPE): Change to int. + (TC_INIT_FIX_DATA): Initialize to 0, not NULL. + * config/tc-arm.c (fix_new_arm): Remove now-unnecessary cast. + (md_apply_fix3): Delete fix_is_thumb variable; refer to + fixP->tc_fix_data directly in the sole place it was used. + Explicitly truncate value, *valP, fixP->fx_addnumber, and + fixP->fx_offset to 32 bits, for consistent behavior between 32- + and 64-bit hosts. + +2005-05-27 Jan Beulich + + * config/tc-ia64.c (struct proc_pending): New. + (unwind): Replace proc_start with proc_pending. + (unwind_diagnostic): Check unwind.proc_pending.sym. + (dot_proc): Replace unwind.proc_start with unwind.proc_pending.sym. + Check if previous proc not closed. Record all entry points. + (dot_endp): Replace unwind.proc_start with unwind.proc_pending.sym. + Set symbol sizes for entry points recorded in dot_proc. Check + arguments for consistency with respective .proc's. + (md_assemble): Replace unwind.proc_start with + unwind.proc_pending.sym. + +2005-05-27 Jan Beulich + + * config/tc-ia64.c (emit_one_bundle): Restrict scope of ptr, end_ptr, + and last_ptr. Check all in-use slots for first one with non-NULL + unwind_record. Don't reload end_ptr before second update round. + +2005-05-26 James E Wilson + + * config/tc-ia64.c (extra_goodness): Update comment. + (md_begin): Add debugging code to print best_template table. + +2005-05-25 Jan Beulich + + * config/tc-ia64.c (md_begin): Don't try to match slot 2 of an MLX + template. + +2005-05-25 Jan Beulich + + * config/tc-ia64.c (ia64_gen_real_reloc_type): Also handle + BFD_RELOC_UNUSED when determining the width of the reloc. + +2005-05-25 Jan Beulich + + * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind + section entry. + +2005-05-25 Jan Beulich + + * config/tc-ia64.c (dot_radix): Rewrite. + +2005-05-25 Jan Beulich + + * config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number + and next_slot_frag. + (alloc_record): Remove references to next_slot_number and + next_slot_frag. + (emit_one_bundle): Likewise. + +2005-05-22 Nick Clifton + + * config/tc-v850.c (md_apply_fix3): Pass the address of the + message buffer when invoking the insert function. + +2005-05-21 John David Anglin + + * config/tc-hppa.c (pa_ip): Promote architecture from PA 1.0 to 1.1 + only if an instruction match is found. + +2005-05-20 Bob Wilson + + * config/tc-xtensa.c (xg_assemble_vliw_tokens): Change subtraction + to addition in argument to xtensa_dwarf2_emit_insn. + +2005-05-19 Zack Weinberg + + * Makefile.am: Have 'all' depend on 'info'. + * Makefile.in: Regenerate. + +2005-05-19 Alan Modra + + * config/tc-ppc.c (ppc_force_relocation): Add BFD_RELOC_24_PLT_PCREL. + +2005-05-19 Anton Blanchard + + * config/tc-ppc.c (parse_cpu): Handle "-mpower5". + (md_show_usage): Document it. + (ppc_setup_opcodes): Insert POWER5 mnemonics. + * doc/c-ppc.texi (PowerPC-Opts): Document "-mpower5". + +2005-05-19 Jan Beulich + + * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind + relocations in unwind section. + +2005-05-18 Nick Clifton + + * config/tc-v850.c (md_apply_fix3): Only use the insertion routine + if one exists. Ignore any error messages it may produce, just + allow it to perform the insertion. + +2005-05-17 Zack Weinberg + + * hash.c (hash_lookup): Add len parameter. All callers changed. + (hash_find_n): New interface. + * hash.h: Prototype hash_find_n. + * sb.c: Include as.h. + (scrub_from_sb, sb_to_scrub, scrub_position): New statics. + (sb_scrub_and_add_sb): New interface. + * sb.h: Prototype sb_scrub_and_add_sb. + * input-scrub.c (input_scrub_include_sb): Use sb_scrub_and_add_sb. + + * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Remove + reference to BFD_RELOC_ARM_GOT12 which is never generated. + * config/tc-arm.c: Rewrite, adding Thumb-2 support. + +2005-05-17 Daniel Jacobowitz + + * doc/Makefile.am (gasver.texi): Don't use $<. + * doc/Makefile.in: Regenerated. + +2005-05-17 Nick Clifton + + PR 876 + * symbols.c (resolve_symbol_value): Do not move symbols whose + value expression has not been resolved or finalized into the + absolute section as this will confuse other parts of the assembler + into thinking that their value is zero. + +2005-05-17 Jan Beulich + + * read.c (_find_end_of_line): New. + (find_end_of_line): New. + (HANDLE_CONDITIONAL_ASSEMBLY): Use it. + (read_a_source_file): Use it. + (s_globl): Use it. + (s_macro): Use it. + (get_line_sb): Use it. + (s_errwarn): Replace discard_rest_of_line by ignore_rest_of_line. + (s_comm_internal): Likewise. + (s_lsym): Likewise. + (s_macro): Likewise. + (s_ignore): Use ignore_rest_of_line. + * read.h (find_end_of_line): Prototype. + (discard_rest_of_line): Remove prototype. #define to + ignore_rest_of_line. + +2005-05-17 Nick Clifton + + * config/tc-v850,h (TC_FIX_TYPE): Define. + (TC_INIT_FIX_TYPE): Define. + * config/tc-v850.c (md_assemble): When creating a fix record the + operand in the tc_fix_data field. + (md_apply_fix3): When applying a resolved fix use the operand's + insertion procedure to store the value, if the operand has been + recorded. + +2005-05-15 Daniel Jacobowitz + + * Makefile.am (m68k-parse.c, itbl-parse.c): Update ylwrap + invocation. + * Makefile.in: Regenerated. + +2005-05-13 Sterling Augustine + Bob Wilson + + * config/tc-xtensa.c (xtensa_insnbuf_set_operand): Clarify error + message. + (xtensa_mark_zcl_first_insns): Fix incorrect nesting of conditional + for handling RELAX_CHECK_ALIGN_NEXT_OPCODE. + +2005-05-11 Alan Modra + + * config/tc-ppc.c (md_apply_fix3): Allow pcrel forms of BFD_RELOC_16, + BFD_RELOC_LO16, BFD_RELOC_HI16 and BFD_RELOC_HI16_S. + +2005-05-10 Michael Matz + + * frags.c (frag_grow): Don't be too greedy in allocating memory. + + * config/tc-hppa.c (pa_block): Check arguments to .block[z]. + +2005-05-10 Hans-Peter Nilsson + + PR binutils/886 + * config/tc-mmix.c (mmix_handle_mmixal): Rearrange slightly. + Handle label-without-colon before ordinary dot-pseudo as an + ordinary label. Don't leak memory for label-without-colon alone + on a line. Don't mmixal-munge operands for dot-pseudos. + +2005-05-10 Jan Beulich + + * macro.c (get_any_string): Remove the two last parameters. Replace + references to the former expand parameter by using macro_alternate. + Simplify loop condition for checking for end-of-string. + (get_string): Remove redunant call to sb_skip_white. + (do_formals): Remove two last arguments to get_any_string. + (macro_expand): Likewise. + (expand_irp): Likewise. + +2005-05-10 Jan Beulich + + * read.c (s_macro): Move local variable 'local' to smaller scope. + Call sb_kill on it when done. + +2005-05-09 Jan Beulich + + * config/tc-i386.c (optimize_disp): Discard displacement entirely + when zero and not required by encoding constraints. + +2005-05-09 H.J. Lu + + PR 936 + * config/tc-sh64.c (sh64_fake_label): New. + + * config/tc-sh64.h (TC_FAKE_LABEL): New. + + * doc/internals.texi (TC_FAKE_LABEL): Document. + + * write.c (TC_FAKE_LABEL): New. + (adjust_reloc_syms): Use it. + (write_object_file): Likewise. + +2005-05-09 Jan Beulich + + * config/tc-i386.c (parse_insn): Disallow use of prefix separator + and comma in Intel mode. + +2005-05-09 Jan Beulich + + * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode + names to match ABI. Add more registers for 32-bit and 64-bit modes. + Make name array static and const. Adjust lookup to account for NULL + entries (standing for unused register numbers). + +2005-05-09 Jan Beulich + + * config/tc-i386.c (parse_insn): Consider all matching instructions + when checking for string instruction after string-only prefix. + +2005-05-07 H.J. Lu + + PR 940 + * config/tc-ia64.c (start_unwind_section): Properly check + comdat group with SHF_GROUP. + +2005-05-06 Bob Wilson + + * doc/c-xtensa.texi (Literal Directive): Spelling correction. + +2005-05-06 Bob Wilson + + * config/tc-xtensa.c: Remove excess whitespace. + * config/tc-xtensa.h: Likewise. + * config/xtensa-istack.h: Likewise. + * config/xtensa-relax.c: Likewise. + * config/xtensa-relax.h: Likewise. + +2005-05-06 Nick Clifton + + * sb.h: Fix formatting of comments. + * sb.c: Fix formatting of comments. + +2005-05-06 Jan Beulich + + * sb.h (sb_add_buffer): Reintroduce. + * sb.c (sb_add_buffer): Likewise. + +2005-05-06 Jan Beulich + + * macro.c (new_formal, del_formal): New. + (do_formals): Use new_formal. Check for and parse qualifier. Warn if + required argument has default value. Stop looking for more formal + when there was a vararg one. + (macro_expand_body): Use new_formal and del_formal. + (macro_expand): Likewise. Initialize local variable err. Don't + return immediately when encountering an error. Warn when keyword + argument already had a value assigned. Eliminate duplicate clearing + of argument value. When current positional argument matches parameter + of vararg type, assign to it all the remaining arguments. Issue error + when required parameter does not have value. + (free_macro): Use del_formal. + (expand_irp): Initialize formal type. Free buffers associated with + formal prior to returning. + * macro.h (struct formal_struct): Add new field 'type' with new + enumeration type 'formal_type'. + * doc/as.texinfo: Document macro parameter qualifiers. + * NEWS: Mention new functionality. + +2005-05-06 Jan Beulich + + * cond.c (s_ifb): New. + * read.c (potable): Add s_ifb as handler for .ifb and .ifnb. + * read.h (s_ifb): Prototype. + * doc/as.texinfo: Document .ifb and .ifnb. + +2005-05-05 Steve Ellcey + + * config/tc-ia64.c (MIN): Undef. + +2005-05-05 Paul Brook + + * config/tc-i386.h (ELF_TARGET_FORMAT): Define for TE_VXWORKS. + +2005-05-05 Matt Thomas + + * config/tc-vax.c (md_assemble): Don't assume a valueT is 4 + bytes. + +2005-05-05 Nick Clifton + + * Update the address and phone number of the FSF organization in + the GPL notices in the following files: + COPYING, app.c, as.c, as.h, asintl.h, atof-generic.c, bignum.h, + bit_fix.h, cgen.c, cgen.h, cond.c, debug.c, depend.c, dw2gencfi.c, + dw2gencfi.h, dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, + emul-target.h, emul.h, expr.c, expr.h, flonum-copy.c, + flonum-konst.c, flonum.h, frags.c, frags.h, hash.c, hash.h, + input-file.c, input-file.h, input-scrub.c, itbl-lex.h, itbl-lex.l, + itbl-ops.c, itbl-ops.h, itbl-parse.y, listing.c, listing.h, + literal.c, macro.c, macro.h, messages.c, obj.h, output-file.c, + output-file.h, read.c, read.h, sb.c, sb.h, stabs.c, + struc-symbol.h, subsegs.c, subsegs.h, symbols.c, symbols.h, tc.h, + write.c, write.h, config/aout_gnu.h, config/atof-ieee.c, + config/atof-vax.c, config/itbl-mips.h, config/m68k-parse.h, + config/m68k-parse.y, config/m88k-opcode.h, config/obj-aout.c, + config/obj-aout.h, config/obj-bout.c, config/obj-bout.h, + config/obj-coff.c, config/obj-coff.h, config/obj-ecoff.c, + config/obj-ecoff.h, config/obj-elf.c, config/obj-elf.h, + config/obj-evax.c, config/obj-evax.h, config/obj-hp300.c, + config/obj-hp300.h, config/obj-ieee.c, config/obj-ieee.h, + config/obj-multi.h, config/obj-som.c, config/obj-som.h, + config/tc-a29k.c, config/tc-a29k.h, config/tc-alpha.c, + config/tc-alpha.h, config/tc-arc.c, config/tc-arc.h, + config/tc-arm.h, config/tc-avr.c, config/tc-avr.h, + config/tc-cris.c, config/tc-cris.h, config/tc-crx.c, + config/tc-crx.h, config/tc-d10v.c, config/tc-d10v.h, + config/tc-d30v.c, config/tc-d30v.h, config/tc-dlx.c, + config/tc-dlx.h, config/tc-fr30.c, config/tc-fr30.h, + config/tc-frv.c, config/tc-frv.h, config/tc-generic.c, + config/tc-generic.h, config/tc-h8300.c, config/tc-h8300.h, + config/tc-h8500.c, config/tc-h8500.h, config/tc-hppa.c, + config/tc-hppa.h, config/tc-i370.c, config/tc-i370.h, + config/tc-i386.c, config/tc-i386.h, config/tc-i860.c, + config/tc-i860.h, config/tc-i960.c, config/tc-i960.h, + config/tc-ia64.c, config/tc-ia64.h, config/tc-ip2k.c, + config/tc-ip2k.h, config/tc-iq2000.c, config/tc-iq2000.h, + config/tc-m32r.c, config/tc-m32r.h, config/tc-m68851.h, + config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c, + config/tc-m68k.h, config/tc-m88k.c, config/tc-m88k.h, + config/tc-maxq.c, config/tc-maxq.h, config/tc-mcore.c, + config/tc-mcore.h, config/tc-mips.c, config/tc-mips.h, + config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c, + config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h, + config/tc-msp430.c, config/tc-msp430.h, config/tc-ns32k.c, + config/tc-ns32k.h, config/tc-openrisc.c, config/tc-openrisc.h, + config/tc-or32.c, config/tc-or32.h, config/tc-pdp11.c, + config/tc-pdp11.h, config/tc-pj.c, config/tc-pj.h, + config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c, + config/tc-s390.h, config/tc-sh.c, config/tc-sh.h, + config/tc-sh64.c, config/tc-sh64.h, config/tc-sparc.c, + config/tc-sparc.h, config/tc-tahoe.c, config/tc-tahoe.h, + config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c, + config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h, + config/tc-tic80.c, config/tc-tic80.h, config/tc-v850.c, + config/tc-v850.h, config/tc-vax.c, config/tc-vax.h, + config/tc-w65.c, config/tc-w65.h, config/tc-xstormy16.c, + config/tc-xstormy16.h, config/tc-xtensa.c, config/tc-xtensa.h, + config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h, + config/te-freebsd.h, config/te-hp300.h, config/te-hppa.h, + config/te-ic960.h, config/te-irix.h, config/te-nbsd.h, + config/te-netware.h, config/te-sparcaout.h, config/te-sun3.h, + config/te-tmips.h, config/te-vxworks.h, config/vax-inst.h, + config/xtensa-istack.h, config/xtensa-relax.c, + config/xtensa-relax.h, doc/fdl.texi + +2005-05-05 Nick Clifton + + * config/tc-arm.c (arm_opts): Make -mlittle-endian switch set + the target_big_endian variable to false. + +2005-05-04 Alan Modra + + * config/obj-ecoff.c (ecoff_frob_file_before_fix): Correct section + list traversal. Use bfd_section_list_prepend. + * config/tc-mmix.c (mmix_frob_file): Don't needlessly iterate + over the section list. + * config/tc-xtensa.c (xtensa_remove_section): Delete. + (xtensa_insert_section): Delete. + (xtensa_move_seg_list_to_beginning): Use bfd_section_list_remove + and bfd_section_list_prepend. + (xtensa_reorder_seg_list): Use bfd_section_list_remove and + bfd_section_list_insert_after. + +2005-05-03 Nick Clifton + + * config/obj-ecoff.c (ecoff_frob_file_before_fix): Fix invocations + of bfd_section_list... macros. + * config/tc-mmix.c (mmix_frob_file): Likewise. + * config/tc-xtensa.c (xtensa_remove_section): Likewise. + (xtensa_insert_section): Likewise. + + * macro.c (macro_hash): Remove static. + * macro.h (macro_hash): Provide an external declaration. + +2005-05-02 H.J. Lu + + * write.c (write_object_file): Use bfd_section_double_list_remove + to remove sections. + +2005-05-02 Daniel Jacobowitz + + * doc/Makefile.am (gasver.texi): Correct quoting. + * doc/Makefile.in: Regenerated. + +2005-04-29 Ralf Corsepius + + * configure.tgt: Add h8300*-*-rtemscoff. + Switch h8300*-*-rtems* to elf. + +2005-04-29 H.J. Lu + + * hash.c: Undo the last change. + * hash.h: Likewise. + +2005-04-29 Daniel Jacobowitz + + * doc/Makefile.am (gasver.texi): Depend on bfd/configure instead + of Makefile. + (DISTCLEANFILES): Remove. + (MAINTAINERCLEANFILES): Add asconfig.texi. + * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated. + +2005-04-29 Ben Elliston + + * Makefile.am (GAS_CFILES): Remove bignum-copy.c. + (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. + +2005-04-27 Ben Elliston + + * link.cmd: Remove. + +2005-04-26 H.J. Lu + + * config/obj-multi.h (FAKE_LABEL_NAME): Defined. + + * read.c (pseudo_set): Disallow symbol set to common symbol. + + PR 857 + * write.c (write_object_file): Report common symbol name when + disallowing local symbol set to common symbol. + (adjust_reloc_syms): Disallow local symbol set to undefined + symbol. + +2005-04-25 Jan Beulich + + * 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 + + * config/tc-xtensa.c (LOOKAHEAD_ALIGNER): Delete macro. + (future_alignment_required): Remove ifdefs that use it. + +2005-04-22 Bob Wilson + + * 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 + + * config/tc-z8k.c (md_assemble): Fix buffer overrun in operand[] + array. + +2005-04-20 H.J. Lu + + * 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 + + * 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 + + * config/tc-ia64.c (specify_resource): Initialize all of tmpl. + +2005-04-19 David S. Miller + + * 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 + + * 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 + + * config/tc-ia64.c (md_assemble): Fix error message for wrong + access to application registers. + +2005-04-19 Jan Beulich + + * 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 + + PR/847 + * config/tc-ia64.c (ia64_canonicalize_symbol_name): Re-allow zero- + length symbols. + +2005-04-18 Mark Kettenis + + * config/tc-i386.c (md_begin): Allow hyphens in mnemonics. + +2005-04-18 Maciej W. Rozycki + + * 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 + + * 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 + + * config/tc-mips.c (normalize_constant_expr): Fix formatting. + +2005-04-15 Jan Beulich + + * config/obj-elf.c (obj_elf_struct): New. + (elf_pseudo_table). Use it for .offset and .struct. + +2005-04-14 Bob Wilson + Sterling Augustine + + * config/tc-xtensa.c (get_aligned_diff): Handle target_size larger + than the section alignment. + +2005-04-14 Bob Wilson + H.J. Lu + + * 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 * configure.tgt: Add support for OpenBSD/sparc ELF. @@ -18,7 +786,7 @@ 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. + * hash.h (set_gas_hash_table_size): Update the prototype. 2005-04-14 Alan Modra @@ -270,7 +1038,6 @@ * config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct arm_segment_info_type. (arm_segment_info_type): New struct. - * testsuite/gas/arm/unwind.d: Update expected output. 2005-03-28 Sterling Augustine Bob Wilson @@ -392,7 +1159,7 @@ * config/tc-w65.c: Convert to ISO-C90 and fix formatting. * config/tc-w65.h: Convert to ISO-C90 and fix formatting. * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting. - * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting. + * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting. 2005-03-23 Jim Blandy @@ -1279,8 +2046,6 @@ BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE. (create_unwind_entry): Output dependency on the required personality routines. - testsuite/gas/arm/unwind.d: Alter expected output to include - dependency on __aeabi_unwind_cpp_pr[01]. 2005-02-07 Nathan Sidwell @@ -3283,23 +4048,6 @@ allow -up ISA variants. (sh_elf_final_processing): Replace if-else chain with a call to sh_find_elf_flags(). - * testsuite/gas/sh/arch: New directory. - * testsuite/gas/sh/arch/arch.exp: New test script. - * testsuite/gas/sh/arch/arch_expected.txt: New file. - * testsuite/gas/sh/arch/sh.s: New file. - * testsuite/gas/sh/arch/sh2.s: New file. - * testsuite/gas/sh/arch/sh-dsp.s: New file. - * testsuite/gas/sh/arch/sh2e.s: New file. - * testsuite/gas/sh/arch/sh3-nommu.s: New file. - * testsuite/gas/sh/arch/sh3.s: New file. - * testsuite/gas/sh/arch/sh3-dsp.s: New file. - * testsuite/gas/sh/arch/sh3e.s: New file. - * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file. - * testsuite/gas/sh/arch/sh4-nofpu.s: New file. - * testsuite/gas/sh/arch/sh4.s: New file. - * testsuite/gas/sh/arch/sh4a-nofpu.s: New file. - * testsuite/gas/sh/arch/sh4al-dsp.s: New file. - * testsuite/gas/sh/arch/sh4a.s: New file. 2004-05-28 Peter Barada