+2003-02-21 Nick Clifton <nickc@redhat.com>
+
+ * NEWS: Mention availability of test generator program.
+
+2003-02-21 Miles Bader <miles@gnu.org>
+
+ * config/tc-v850.c (system_registers): Add v850e debug registers.
+ (system_register_name): Accept up to 27 (the last v850e sys register).
+
+2003-02-21 Bob Wilson <bob.wilson@acm.org>
+
+ * doc/as.texinfo: Define new COFF-ELF variable to conditionalize text
+ relevant to both COFF and ELF. Fix obvious typos and texinfo bugs.
+ Capitalize section headings consistently. Format index entries more
+ consistently. Unconditionalize text about whether text and data
+ sections are alterable. Use @ifnottex for alternatives to @tex output
+ so that HTML works. Clean up COFF vs. ELF descriptions of .section,
+ .size and .type directives. Be more polite about bad bug reports.
+ Move FDL into a separate file.
+ * doc/fdl.texi: New file.
+
+2003-02-21 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (prev_reloc_op_frag): New variable.
+ (macro): Check it to decide whether a new frag is needed.
+ (my_getSmallExpression): Set it.
+
+2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
+
+ * cgen.c: Fix typo: intial -> initial.
+
+2003-02-19 Jie Zhang <zhangjie@magima.com.cn>
+
+ * app.c (do_scrub_chars): Handle '||' in two states.
+
+2003-02-13 Alan Modra <amodra@bigpond.net.au>
+
+ * write.c (TC_FORCE_RELOCATION_SUB_SAME): Revert last change.
+ * config/tc-s390.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
+
+2003-02-11 Uwe Stieber <uwe@wwws.de>
+
+ * configure.in: Add support for kaOS as cross build target system.
+ * configure: Regenerated.
+
+2003-02-10 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-arm.c (md_begin): If the Maverick co-processor is
+ selected, set the EF_ARM_MAVERICK_FLOAT flag and
+ bfd_mach_arm_ep9312 machine number.
+
+2003-02-08 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (reloc_needs_lo_p): New function.
+ (fixup_has_matching_lo_p): New function.
+ (append_insn): Use reloc_needs_lo_p to check whether a relocation
+ might need a matching %lo(). Reuse the head of mips_hi_fixup_list
+ if that fixup already has a matching %lo(). Don't call frag_wane here.
+ (macro): Call frag_wane here if the last unmatched hi was in the
+ current frag.
+ (pic_need_relax): New function, split out from...
+ (md_estimate_size_before_relax): ...here.
+ (mips_frob_file): Use reloc_needs_lo_p. Use pic_need_relax to test
+ whether BFD_RELOC_MIPS_GOT16 fixups refer to global symbols.
+
+2003-02-07 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (my_getSmallExpression): Rework bracket handling.
+
+2003-02-06 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
+ x@toc+off works.
+
+2003-02-05 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (mapping): Handle new TLS reloc specs.
+ (ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't
+ accept x@got+off etc.
+ (md_assemble): Handle TLS relocs.
+ (ppc_force_relocation): Force for all TLS relocs.
+ (ppc_fix_adjustable): Likewise.
+ (md_apply_fix3): Handle TLS relocs.
+
+2003-02-04 Alan Modra <amodra@bigpond.net.au>
+
+ * config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and
+ SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p.
+
+2003-02-02 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (enum small_ex_type): Remove.
+ (imm_unmatched_hi): Remove.
+ (md_assemble): Remove use of imm_unmatched_hi. Remove the last
+ argument from calls to append_insn.
+ (append_insn): Remove unmatched_hi parameter; check reloc_type[0]
+ instead.
+ (macro_build): Update append_insn calls.
+ (mips16_macro_build, macro_build_lui): Likewise.
+ (mips_ip): Rework handling of small expressions. Move explicit
+ relocation handling into my_getSmallExpression. Assume that the
+ value of 'o' operands is zero if there is only one bracketed
+ expression left.
+ (percent_op): Make constant. Record the BFD relocation code
+ associated with each operator.
+ (my_getSmallParser, my_getPercentOp): Remove.
+ (parse_relocation): New function.
+ (my_getSamllExpression): Rework. Fill in relocations here
+ rather than in mips_ip.
+
+2003-01-29 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-i386.c (line_comment_chars): Add '#'. This makes the
+ assembler's handling of # <linenum> "<filename>" directives work.
+
+2003-01-28 Jakub Jelinek <jakub@redhat.com>
+
+ * dwarf2dbg.c: Include filenames.h.
+ (struct file_entry): Make filename const char *.
+ (dirs, dirs_in_use, dirs_allocated): New variables.
+ (get_filenum): Add NUM argument. Build directory table.
+ (dwarf2_where): Adjust caller.
+ (dwarf2_directive_file): Use get_filenum to allocate
+ slot in file and directory tables.
+ (dwarf2_directive_loc): Recreate full filename from
+ directory and filename part if needed for listing.
+ (out_file_list): Output directory table.
+ Output main source file dirname before its filename.
+
+2003-01-28 Dmitry Diky <diwil@mail.ru>
+
+ * config/tc-msp430.c: Replace occurences of 'tolower' with
+ 'TOLOWER'.
+
+2003-01-27 David Mosberger <davidm@hpl.hp.com>
+
+ * config/tc-ia64.c (dot_vframesp): Correct error message.
+ (dot_vframepsp): Ditto.
+
+2003-01-27 Alexandre Oliva <aoliva@redhat.com>
+
+ * configure.in (em): Set to irix on all Irix systems.
+ * configure: Rebuilt.
+ * config/te-irix.h: New file.
+ * config/tc-mips.c (mips_dwarf2_format): Use TE_IRIX to decide
+ whether to use Irix-specific 64-bit format.
+
+2003-01-27 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (s390_elf_cons): Avoid designated initializers.
+
+2003-01-25 Jakub Jelinek <jakub@redhat.com>
+
+ * config/tc-sparc.c (sparc_ip): Handle TLS % operators.
+ (tc_gen_reloc): Handle TLS relocs.
+ (sparc_cons, cons_fix_new_sparc): Handle %r_tls_dtpoff.
+ * config/tc-sparc.h (tc_fix_adjustable): Don't adjust TLS
+ relocs.
+ * config/obj-elf.c (obj_elf_section_word): Handle tls.
+ (obj_elf_type): Handle tls_object.
+
+2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (s390_tls_suffix): New function.
+ (elf_suffix_type): Add suffix enums for TLS relocations.
+ (s390_elf_suffix): Add suffix strings for TLS relocations.
+ (s390_elf_cons): Map new lenght/elf suffix combinations for TLS to
+ bfd relocations.
+ (md_gather_operands): Map new instruction operand/elf suffix
+ combinations for TLS to bfd relocations.
+ (tc_s390_fix_adjustable): Add new TLS relocations.
+ (tc_s390_force_relocation): Likewise.
+ (md_apply_fix3): Likewise.
+
+2003-01-24 Alan Modra <amodra@bigpond.net.au>
+
+ * as.h: Update copyright date.
+ * symbols.c: Likewise.
+ * config/tc-d10v.h: Likewise.
+ * config/tc-fr30.h: Likewise.
+ * config/tc-i960.h: Likewise.
+ * config/tc-mips.h: Likewise.
+
+ * config/tc-hppa.h (DIFF_EXPR_OK): Define.
+ (MD_APPLY_SYM_VALUE): Move.
+
+2003-01-23 Nick Clifton <nickc@redhat.com>
+
+ NEWS: Announce sh2e support.
+
+ * Add sh2e support:
+
+ 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-sh.c (md_show_usage): Added sh2e next to
+ sh3e.
+ (sh_elf_final_processing): Handle arch_sh2e.
+
+2003-01-23 Alan Modra <amodra@bigpond.net.au>
+
+ * symbols.c (S_FORCE_RELOC): Add "strict" param.
+ * symbols.h (S_FORCE_RELOC): Likewise.
+ * config/obj-aout.h (S_FORCE_RELOC): Likewise.
+ * config/obj-bout.h (S_FORCE_RELOC): Likewise.
+ * config/obj-coff.h (S_FORCE_RELOC): Likewise.
+ * config/obj-ieee.h (S_FORCE_RELOC): Likewise.
+ * config/obj-vms.h (S_FORCE_RELOC): Likewise.
+ * write.c (generic_force_reloc): New function.
+ (TC_FORCE_RELOCATION): Use it here instead of S_FORCE_RELOC.
+ (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
+ (adjust_reloc_syms): Adjust S_FORCE_RELOC call.
+ * as.h (generic_force_reloc): Declare.
+ * doc/internals.texi (S_FORCE_RELOC): Update.
+ (TC_FORCE_RELOCATION_SUB_SAME): Update.
+
+ * config/tc-alpha.c (alpha_force_relocation): Adjust to use
+ generic_force_reloc.
+ (alpha_fix_adjustable): Likewise.
+ * config/tc-arm.c (arm_force_relocation): Likewise.
+ * config/tc-cris.c (md_cris_force_relocation): Likewise.
+ * config/tc-frv.c (frv_force_relocation): Likewise.
+ * config/tc-i386.c (md_apply_fix3): Likewise.
+ * config/tc-ia64.c (ia64_force_relocation): Likewise.
+ * config/tc-ip2k.c (ip2k_force_relocation): Likewise.
+ * config/tc-m32r.c (m32r_force_relocation): Likewise.
+ * config/tc-m68hc11.c (tc_m68hc11_force_relocation): Likewise.
+ * config/tc-mcore.c (mcore_force_relocation): Likewise.
+ * config/tc-mips.c (mips_force_relocation): Likewise.
+ * config/tc-mmix.c (mmix_force_relocation): Likewise.
+ * config/tc-ppc.c (ppc_force_relocation): Likewise.
+ * config/tc-s390.c (tc_s390_force_relocation): Likewise.
+ * config/tc-sh.c (sh_force_relocation): Likewise.
+ (md_pcrel_from_section): Likewise.
+ * config/tc-sparc.c (tc_gen_reloc): Likewise.
+ * config/tc-v850.c (v850_force_relocation): Likewise.
+ * config/tc-xstormy16.c (xstormy16_force_relocation): Likewise.
+ * config/tc-i386.h (TC_FORCE_RELOCATION): Likewise.
+ * config/tc-mcore.h (TC_FORCE_RELOCATION): Likewise.
+ * config/tc-sparc.h (tc_fix_adjustable): Likewise.
+
+ * config/tc-d10v.c (d10v_force_relocation): Delete.
+ * config/tc-d10v.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-dlx.c (md_dlx_force_relocation): Delete.
+ * config/tc-dlx.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-fr30.c (fr30_force_relocation): Delete.
+ * config/tc-fr30.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-mn10300.c (mn10300_force_relocation): Delete.
+ * config/tc-mn10300.h (TC_FORCE_RELOCATION): Don't define.
+ (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
+ * config/tc-i960.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
+ * config/tc-hppa.c (hppa_force_relocation): Adjust S_FORCE_RELOC call.
+ * config/tc-mips.c (RELAX_BRANCH_TOOFAR): Warning fix.
+ * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Don't define.
+ * config/tc-openrisc.c (openrisc_force_relocation): Delete.
+ * config/tc-openrisc.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-sparc.c (elf32_sparc_force_relocation): Delete.
+ * config/tc-sparc.h (TC_FORCE_RELOCATION): Don't define for ELF.
+ * config/tc-i386.c (i386_force_relocation): Delete.
+ * config/tc-i386.h (TC_FORCE_RELOCATION): Don't define for
+ BFD_ASSEMBLER.
+ (EXTERN_FORCE_RELOC): Fix TE_PE and STRICT_PE_FORMAT nesting.
+ * config/tc-m68k.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-pj.h (TC_FORCE_RELOCATION): Don't define.
+ * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Don't call
+ S_FORCE_RELOC.
+ (TC_FORCE_RELOCATION_SUB_SAME): Test TC_FORCE_RELOCATION too.
+ * config/tc-sh64.h (TC_FORCE_RELOCATION_SUB_SAME): Likewise.
+
+2003-01-23 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-sh64.c (shmedia_frob_section_type): Adjust for changed
+ sh64_elf_section_data.
+ * config/tc-sh64.h: Include elf32-sh64.h.
+ * config/tc-m68hc11.c: Don't include stdio.h.
+ (md_show_usage): Fix missing continuation.
+ * Makefile.am: Run "make dep-am".
+ * Makefile.in: Regenerate.
+
+2003-01-22 Nick Clifton <nickc@redhat.com>
+
+ * as.h: Include fopen-bin.h not fopen-same.h for mingw32 hosts.
+
+2003-01-21 Fabio Alemagna <falemagn@aros.org>
+
+ * configure.in: Handle *-*-aros*.
+ * configure: Regenerated from configure.in.
+
+2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
+ gotplt and pltoff relocations.
+ (s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
+ (s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
+ gotplt and pltoff to bfd relocations.
+ (md_gather_operands): Map new instruction operand/elf suffix
+ combinations to bfd relocations.
+ (tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
+ to the list of unadjustable relocations.
+ (tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
+ and pltoff relocations.
+ (md_apply_fix3): Add the new relocations.
+
+2003-01-20 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
+ with a subsy symbol.
+
+2003-01-17 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
+ of relocs for memory bank addressing.
+
+2003-01-17 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/tc-m68hc11.c (md_show_usage): Update usage.
+ (md_parse_option): Recognize -m68hcs12.
+ (m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
+ HCS12.
+ * doc/as.texinfo (Overview): Document new option -m68hcs12.
+
+2003-01-16 Jakub Jelinek <jakub@redhat.com>
+
+ * config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.
+
+2003-01-16 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.am: Run "make dep-am".
+ * Makefile.in: Regenerate.
+ * po/POTFILES.in: Regenerate.
+
+2003-01-11 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (get_absolute_expr): New, split out from..
+ (get_absolute_expression): ..here.
+ * read.h (get_absolute_expr): Declare.
+ * config/obj-elf.c (elf_common): Use offsetT for "temp" and "size".
+ Trim size to arch bits_per_address, and test for negative input
+ via get_absolute_expr.
+
+2003-01-07 DJ Delorie <dj@redhat.com>
+
+ * config/tc-xstormy16.c (md_cgen_lookup_reloc): Adjust value based
+ on operand type.
+ (xstormy16_md_apply_fix3): Use adjustment.
+
+2003-01-02 Ben Elliston <bje@redhat.com>
+
+ * configure.in: Add iq2000-elf target.
+ * configure: Regenerate.
+ * config/tc-iq2000.c: New file.
+ * config/tc-iq2000.h: Likewise.
+ * po/gas.pot: Regenerate.
+
+2003-01-02 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c: Update copyright years to include 2003.
+ (mips_ip): Fix indentation of "+A", "+B", and "+C" handling.
+ Additionally, clean up their code slightly and clean up their
+ comments some more.
+
+ * doc/c-mips.texi: Add MIPS32r2 to ".set mipsN" documentation.
+
+2003-01-01 Daniel Jacobowitz <drow@mvista.com>
+
+ * doc/Makefile.am (as.1): Depend on "asconfig.texi gasver.texi
+ $(CPU_DOCS)".
+ * doc/Makefile.in: Regenerate.
+
+2003-01-01 John David Anglin <dave.anglin@nrc.ca>
+
+ * config/obj-elf.c (special_sections): Work around HP's incorrect usage
+ of .init and .fini sections for array initializers and finalizers.
+
+2002-12-31 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c (validate_mips_insn, mips_ip): Recognize
+ the "+D" operand, which will be used only by the disassembler.
+
+2002-12-30 Chris Demetriou <cgd@broadcom.com>
+
+ * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and
+ CPU variants.
+ * configure: Regenerate.
+ * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines.
+ (macro_build): Handle "K" operand.
+ (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where
+ CPU_HAS_DROR and CPU_HAS_ROR are currently used.
+ (mips_ip): New variable "lastpos", and implement "+A", "+B",
+ and "+C" operands for MIPS32 Release 2 ins/ext instructions.
+ Implement "K" operand for MIPS32 Release 2 rdhwr instruction.
+ (validate_mips_insn): Implement "+" as a way to extend the
+ allowed operands, and implement "K", "+A", "+B", and "+C"
+ operands.
+ (OPTION_MIPS32R2): New define.
+ (md_longopts): Add entry for OPTION_MIPS32R2.
+ (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2.
+ (md_parse_option): Handle OPTION_MIPS32R2.
+ (s_mipsset): Reimplement handling of ".set mipsN" options
+ and add support for ".set mips32r2".
+ (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2).
+ (md_show_usage): Document "-mips32r2" option.
+ * doc/as.texinfo: Document "-mips32r2" option.
+ * doc/c-mips.texi: Likewise.
+
+2002-12-30 Dmitry Diky <diwil@mail.ru>
+
+ * configure.in: Add msp430 target.
+ * configure: Regenerate.
+ * Makefile.am: Add msp430 target.
+ * Makefile.in: Regenerate.
+ * config/tc-msp430.c: New file: msp430 assembler.
+ * config/tc-msp430.h: New file: target macros for msp430.
+ * doc/Makefile.am: Add msp430 target.
+ * doc/Makefile.in: Regenerate.
+ * doc/as.texinfo: Include msp430 documenation.
+ * doc/all.texi: Enable msp430 documentation.
+ * doc/c-msp430.texi: New file: document msp430 specific features
+ of the assembler.
+
+2002-12-25 Alexandre Oliva <aoliva@redhat.com>
+
+ * dwarf2dbg.c (DWARF2_ADDR_SIZE): New macro.
+ (dwarf2_finish): Use it.
+ * doc/internals.texi (DWARF2_ADDR_SIZE): Document it.
+ * config/tc-mips.h (DWARF2_ADDR_SIZE): Override.
+
+2002-12-20 DJ Delorie <dj@redhat.com>
+
+ * config/tc-xstormy16.c (md_cgen_lookup_reloc): Support
+ BFD_RELOC_XSTORMY16_12.
+
+2002-12-19 Alan Modra <amodra@bigpond.net.au>
+
+ * doc/as.texinfo (Invoking): Typo fix.
+ * config/tc-tic54x.c (encode_operand): Comment typo fix.
+
+2002-12-18 Kazu Hirata <kazu@cs.umass.edu>
+
+ * doc/c-alpha.texi: Fix typos.
+ * doc/c-arm.texi: Likewise.
+ * doc/c-d10v.texi: Likewise.
+ * doc/c-i370.texi: Likewise.
+ * doc/c-i960.texi: Likewise.
+ * doc/c-ia64.texi: Likewise.
+ * doc/c-mmix.texi: Likewise.
+ * doc/c-ns32k.texi: Likewise.
+ * doc/c-pdp11.texi: Likewise.
+ * doc/c-pj.texi: Likewise.
+ * doc/c-sh64.texi: Likewise.
+ * doc/c-sparc.texi: Likewise.
+ * doc/c-tic54x.texi: Likewise.
+ * doc/c-v850.texi: Likewise.
+ * doc/c-vax.texi: Likewise.
+ * doc/internals.texi: Likewise.
+
+2002-12-18 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR,
+ use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I,
+ M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and
+ arrange not to issue warnings about use of AT when AT is not
+ actually used.
+
+2002-12-17 Nick Clifton <nickc@redhat.com>
+
+ * as.c (std_longopts): Duplicate --keep-locals entry in order to
+ prevent it being confused with -k.
+
+2002-12-16 Andrew MacLeod <amacleod@redhat.com>
+
+ * config/tc-xstormy16.c (md_cgen_lookup_reloc): If a relocation
+ has already been set up, use it.
+
+2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
+
+ * ChangeLog-9295: Fix a typo.
+ * README: Likewise.
+ * config/tc-d10v.c: Fix a comment typo.
+ * config/tc-dlx.c: Likewise.
+ * config/tc-h8300.h: Likewise.
+ * config/tc-h8500.h: Likewise.
+ * config/tc-mips.c: Likewise.
+ * config/tc-s390.c: Likewise.
+ * config/tc-sh.h: Likewise.
+ * config/tc-tic80.h: Likewise.
+ * config/tc-w65.h: Likewise.
+ * config/tc-z8k.c: Likewise.
+ * config/tc-z8k.h: Likewise.
+ * testsuite/gas/h8300/cmpsi2.s: Likewise.
+
+2002-12-16 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-d30v.c (check_range): Warning fixes, formatting.
+ Simplify sign extension. Remove redundant unsigned < 0 test.
+ * config/tc-i960.c (md_ri_to_chars): Prototype.
+ * config/tc-mcore.c (md_pseudo_table): Fix typo.
+ (dump_literals): Init brarsym, and test later instead of isforce.
+
+ * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
+ (parse): Constify line and lineptr.
+ (md_begin): Calculate endop here.
+
+2002-12-13 Alan Modra <amodra@bigpond.net.au>
+
+ * config/obj-vms.c: Formatting. Include fnctl.h.
+ (Create_VMS_Object_File): Fix creat call for sane unix systems.
+ (Object_Record_Offset): Make it a size_t.
+ (Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
+ (VMS_TBT_Routine_End <Size>): Make var unsigned long.
+ (VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
+ (synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
+ (vms_fixup_data_section <data_size>): Add here instead.
+ * config/e-criself.c: Fix typo in last change.
+
+2002-12-13 Alan Modra <amodra@bigpond.net.au>
+
+ * write.c (write_object_file): Fix signed/unsigned warning.
+ * config/e-crisaout.c (crisaout_bfd_name): Prototype.
+ * config/e-criself.c (criself_bfd_name): Prototype.
+ * config/obj-aout.c (s_sect): Remove unused function.
+ * config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
+ * config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
+ (fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
+ * config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
+ * config/obj-vms.c (setup_basic_type <spnt>): Likewise.
+ (VMS_RSYM_Parse <Current_Routine>): Likewise.
+ (vms_fixup_text_section <text_siz>): Likewise.
+ (synthesize_data_segment <data_size>): Likewise.
+ (vms_fixup_xtors_section <sect_no>): Likewise.
+ (structure_count): Don't use implicit int type.
+ * config/tc-a29k.c (insert_sreg): Prototype.
+ (define_some_regs): Prototype, make static.
+ (parse_operand): Likewise.
+ (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
+ (md_show_usage <stream>): Likewise.
+ (md_section_align <segment>): Likewise.
+ (md_convert_frag <all args>): Likewise.
+ (md_estimate_size_before_relax <all args>): Likewise.
+ (md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s.
+ * config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
+ * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
+ (md_undefined_symbol <name>): Likewise.
+ (md_convert_frag <all args>): Likewise.
+ (write_long <opcode>): Likewise.
+ (tc_gen_reloc <seg>): Likewise.
+ (md_estimate_size_before_relax <all args>): Likewise.
+ (md_apply_fix3 <seg>): Likewise.
+ (s_d30v_align <ignore>): Likewise.
+ (build_insn): Correct format string.
+ (md_apply_fix3): Likewise.
+ * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
+ (md_undefined_symbol <name>): Likewise.
+ (md_convert_frag <all args>): Likewise.
+ (md_cgen_lookup_reloc <insn>): Likewise.
+ (md_begin): Delete unused vars.
+ (md_assemble): Likewise.
+ (md_estimate_size_before_relax): Likewise.
+ (fr30_relax_frag): #if 0 out, seems unused.
+ (md_atof): Remove declaration of atof_ieee.
+ (restore_colon): Prototype.
+ * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
+ (frv_find_in_vliw): Likewise.
+ (frv_debug_tomcat): Likewise.
+ (frv_adjust_vliw_count): Likewise.
+ (frv_tomcat_shuffle): Likewise.
+ (frv_tomcat_analyze_vliw_chains): Likewise. Correct args to
+ frv_find_in_vliw call.
+ (md_atof): Remove declaration of atof_ieee.
+ * config/tc-h8500.c (cons): Delete declaration.
+ (md_begin <opcode>): Constify.
+ (displacement_size, immediate_size, absolute_size): Remove.
+ (build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
+ (tc_crawl_symbol_chain <headers>): Likewise.
+ (md_undefined_symbol <name>): Likewise.
+ (tc_headers_hook <headers>): Likewise.
+ (md_parse_option <c,arg>): Likewise.
+ (md_show_usage <stream>): Likewise.
+ (md_convert_frag <headers, seg>): Likewise.
+ (tc_coff_symbol_emit_hook <ignore>): Likewise.
+ (md_atof): Remove declaration of atof_ieee.
+ (tc_aout_fix_to_chars): Remove unused function.
+ (parse_reg): Prototype.
+ (parse_exp): Prototype.
+ (skip_colonthing): Prototype. Use &&, not & in logical expressions.
+ (parse_reglist): Prototype.
+ (get_operand): Prototype.
+ (get_operands): Prototype.
+ (get_specific): Prototype. Make "this_index" signed.
+ (check): Prototype, make static.
+ (insert): Prototype
+ (build_relaxable_instruction): Prototype, make static.
+ (build_bytes): Prototype.
+ (wordify_scb): Prototype.
+ * config/tc-h8500.h (start_label): Declare.
+ (tc_coff_sizemachdep): Declare.
+ * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
+ (i370_rmode <unused>): Likewise.
+ (i370_csect <unused>): Likewise.
+ (i370_dc <unused>): Likewise.
+ (i370_ds <unused>): Likewise.
+ (i370_elf_lcomm <unused>): Likewise.
+ (i370_ltorg <ignore>): Likewise.
+ (i370_using <ignore>): Likewise.
+ (i370_drop <ignore>): Likewise.
+ (i370_byte <ignore>): Likewise.
+ (i370_tc <ignore>): Likewise.
+ (md_estimate_size_before_relax <fragp, seg>): Likewise.
+ (md_convert_frag <all args>): Likewise.
+ (md_undefined_symbol <name>): Likewise.
+ (md_pcrel_from_section <sec>): Likewise.
+ (tc_gen_reloc <seg>): Likewise.
+ (i370_section_letter): #if 0 unused functions.
+ (i370_section_word, i370_section_type, i370_section_flags): Likewise.
+ (symbol_locate): Prototype.
+ * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
+ (md_number_to_disp, md_number_to_field): Remove.
+ (md_apply_fix3): Correct format string and cast "fup".
+ * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
+ (s_endian <ignore>): Likewise.
+ (md_undefined_symbol <name>): Likewise.
+ (tc_crawl_symbol_chain <headers>): Likewise.
+ (tc_set_bal_of_call): Likewise.
+ (tc_coff_symbol_emit_hook <symbolP>): Likewise.
+ (i960_handle_align <fragp>): Likewise.
+ (i960_validate_fix <this_segment_type>): Likewise
+ (tc_gen_reloc <section>): Likewise.
+ (tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
+ (struct memS, struct regop): Forward declare.
+ (brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
+ get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
+ parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
+ reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
+ targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
+ (md_chars_to_number, md_number_to_imm): Make static, prototype.
+ (md_number_to_field): Likewise.
+ (md_number_to_disp): Remove unused function.
+ (md_atof): Remove declaration of atof_ieee.
+ (md_apply_fix3): Correct md_number_to_imm call.
+ * config/tc-ip2k.c (md_assemble): Warning fix.
+ * config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
+ (fill_insn <ignore>): Likewise.
+ (debug_sym <ignore>): Likewise.
+ (md_undefined_symbol <name>): Likewise.
+ (m32r_scomm <ignore>): Likewise.
+ (md_convert_frag <abfd>): Likewise.
+ (md_cgen_lookup_reloc <insn>): Likewise.
+ (m32r_record_hi16 <seg>): Likewise.
+ (md_estimate_size_before_relax): #if 0 old_fr_fix.
+ (allow_m32rx): Prototype.
+ (first_writes_to_seconds_operands): Prototype.
+ (writes_to_pc): Prototype.
+ (can_make_parallel): Prototype.
+ (make_parallel): Prototype.
+ (target_make_parallel): Prototype.
+ (assemble_two_insns): Prototype.
+ (m32r_record_hi16): Prototype.
+ (md_atof): Remove declaration of atof_ieee.
+ * config/tc-m32r.h (m32r_fix_adjustable): Declare.
+ (m32r_force_relocation): Prototype.
+ (m32r_elf_section_change_hook): Prototype.
+ * config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
+ (md_show_usage): Fix signed/unsigned warning.
+ * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
+ (calcop): Ditto for reg_prefix var.
+ (hexval): Add cast to fix signed/unsigned warning.
+ (md_number_to_disp): Delete unused function.
+ (md_number_to_field): Likewise.
+ (float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl.
+ (match_name): Prototype.
+ (get_bf2): Prototype.
+ (get_bf_offset_expression): Prototype.
+ * config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
+ (md_undefined_symbol <ignore>): Likewise.
+ (md_create_short_jump <all args>): Likewise.
+ (md_create_long_jump <all args>): Likewise.
+ (md_convert_frag <abfd, sec>): Likewise.
+ (md_apply_fix3 <segment>): Likewise.
+ (md_section_align <segment>): Likewise.
+ (md_pcrel_from_section <sec>): Likewise.
+ (tc_gen_reloc <section>): Likewise.
+ (reg_m, reg_n, immediate): Delete unused vars.
+ (dump_literals): Fix signed/unsigned warning.
+ (enter_literal): Likewise.
+ (parse_imm): Likewise. Also fix format string.
+ (parse_mem): Remove unused var.
+ (md_assemble <LS>): Abort on unexpected inst.
+ (md_atof): Remove declaration of atof_ieee.
+ (md_parse_option): Remove unused vars.
+ (md_apply_fix3): Fix format strings, cast args.
+ (tc_gen_reloc): Delete unused var.
+ * config/tc-mcore.h (tc_coff_sizemachdep): Declare.
+ * config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
+ (md_undefined_symbol <name>): Likewise.
+ (md_convert_frag <abfd>): Likewise.
+ (tc_gen_reloc <seg>): Likewise.
+ (check_operand <insn>): Likewise.
+ (md_convert_frag): Fix format strings.
+ (tc_gen_reloc): Delete fx_addsy - fx_subsy code.
+ * config/tc-openrisc.c (ignore_pseudo): Prototype.
+ (md_atof): Remove declaration of atof_ieee.
+ * config/tc-or32.c (parse_operand): Prototype non-BFD too.
+ (md_apply_fix3): Fix bogus >>='s.
+ (md_undefined_symbol): Delete unused var.
+ * config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
+ (c_to_r, ipush_code, fake_opcode, alias): Likewise.
+ (fake_opcode): Adjust for pj_opc_int_t change.
+ (md_begin): Likewise.
+ (md_assemble): Likewise.
+ (ipush_code): Correct parse_exp_save_ilp call. Test pending_reloc
+ instead of non-existent third arg of parse_exp_save_ilp.
+ (md_parse_option): Correct "little" and "big" calls.
+ * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
+ (md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED.
+ (tc_gen_reloc <section>): Likewise.
+ * config/tc-tic30.c: #include stdarg.h or varargs.h.
+ (debug): Rewrite using VA_* macros.
+ (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
+ (md_convert_frag): Likewise.
+ (md_parse_option): Likewise.
+ (md_show_usage): Likewise.
+ (md_undefined_symbol): Likewise.
+ (tc_gen_reloc): Likewise.
+ (md_operand): Likewise.
+ (tc_aout_pre_write_hook): Delete.
+ (struct tic30_insn): Make "operands" unsigned.
+ (struct tic30_par_insn): Likewise.
+ (md_assemble): Likewise for "count", "i" and "numops".
+ (tic30_parallel_insn): Likewise for vars here.
+ (tic30_operand): Likewise. Remove useless unsigned >= 0 comparison.
+ * config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty.
+ * config/tc-tic80.c (obj_coff_section): Delete declaration.
+ (md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args.
+ (md_undefined_symbol): Likewise.
+ (md_parse_option): Likewise.
+ (md_convert_frag): Likewise.
+ (tc_coff_symbol_emit_hook): Likewise.
+ (md_atof): Remove declaration of atof_ieee.
+ (const_overflow): Warning fixes, tidy.
+ (get_operands): Delete unused vars.
+ (internal_error_a): Adjust format string to expect a long for arg.
+ (find_opcode): Warning fixes, simplify.
+ (build_insn): Cast internal_error_a arg.
+ (md_begin): Likewise.
+ (md_apply_fix3): Likewise.
+ (md_assemble): Delete unused var.
+ * config/tc-tic80.h (tc_coff_fix2rtype): Prototype.
+ * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
+ (whatreg, parse_reg, parse_exp): Make static, prototype.
+ (checkfor, regword, regaddr, get_ctrl_operand): Prototype.
+ (get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise.
+ (get_operand, get_operands, get_specific, newfix): Likewise.
+ (apply_fix, build_bytes): Likewise.
+ (md_atof): Remove declaration of atof_ieee.
+ (tc_aout_fix_to_chars): Delete.
+ (md_begin): Constify "opcode". Don't try to init opcode->idx.
+ Fix s_unseg call.
+ (md_parse_option): Fix s_segm and s_unseg calls.
+
+2002-12-12 Alexandre Oliva <aoliva@redhat.com>
+
+ * tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
+ Adjust callers.
+ (RELAX_BRANCH_RELOC_S2): Delete.
+ (append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
+ Do not handle BFD_RELOC_16_PCREL.
+ (macro_build, mips_ip): Likewise.
+ (md_pcrel_from): Return 4 for undefined symbols regardless of
+ mips_pic.
+ (md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
+ Don't dereference howto if no such relocation is available.
+ Do not apply hack for in-place zero addend in NEWABI.
+ (md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.
+
+2002-12-12 Alexandre Oliva <aoliva@redhat.com>,
+ Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Define.
+ (TC_LINKRELAX_FIXUP): Add comments.
+
+2002-12-12 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mn10300.c (set_arch_mach): Change argument type to
+ avoid warnings.
+ (r_register_name, xr_register_name): Add prototype declarations.
+
+2002-12-08 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
+ copied from tc-i386.c.
+
+2002-12-08 Stephane Carrez <stcarrez@nerim.fr>
+
+ Fix Bug savannah/1825:
+ * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
+ (md_relax_table): Define specific relax for PC-rel offsets.
+ (build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
+ (m68hc11_relax_frag): Handle the new relax code.
+ (md_convert_frag): Likewise.
+ (md_estimate_size_before_relax): Likewise.
+
+2002-12-08 Alan Modra <amodra@bigpond.net.au>
+
+ * subsegs.c (section_symbol): Use the symbol, not the section, name.
+
+2002-12-05 Richard Henderson <rth@redhat.com>
+
+ * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
+ (ia64_gen_real_reloc_type): Handle it.
+ (pseudo_func): Add @ltoffx.
+ (md_begin): Build .<ltoffx>.
+ (ia64_force_relocation): True for LTOFF22X and LDXMOV.
+
+2002-12-05 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
+ Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
+ ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
+ * config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
+ COFF to call arm_force_relocation.
+
+2002-12-04 David Mosberger <davidm@hpl.hp.com>
+
+ * config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
+ instruction.
+ (emit_one_bundle): Handle "hint" instruction.
+ (operand_match): Match IA64_OPND_AR_CSD.
+
+2002-12-04 Alan Modra <amodra@bigpond.net.au>
+
+ * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
+ inside #if.
+
+2002-12-03 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-ppc.c (ppc_cleanup): Do not set SEC_MERGE flag on
+ .PPC.EMB.apuinfo sections.
+
+2002-12-03 Richard Henderson <rth@redhat.com>
+
+ * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
+
+2002-12-03 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg.
+ (cons, s_align_bytes): Delete declaration.
+ (relax): Delete.
+ (md_begin): Constify "struct opinfo *" var. Don't try to make "name"
+ strings common.
+ (dot): Delete unused function.
+ (w65_expression): Remove unused arg.
+ (parse_exp): Prototype. Remove unused arg. Adjust w65_expression
+ call.
+ (get_operands): Prototype. Constify "struct opinfo *" arg. Fix
+ parse_exp call.
+ (get_specific): Prototype. Constify "struct opinfo *" arg and return
+ value.
+ (check): Remove unused function.
+ (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort
+ on unhandled switch case.
+ (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify
+ "opcode".
+ (tc_crawl_symbol_chain): Delete unused function.
+ (tc_headers_hook): Likewise.
+ (tc_Nout_fix_to_chars): Likewise.
+ (md_undefined_symbol): Add ATTRIBUTE_UNUSED.
+ (md_parse_option): Likewise.
+ (md_convert_frag): Likewise.
+ (tc_coff_symbol_emit_hook): Likewise.
+ (md_show_usage): Likewise.
+ * config/tc-w65.h (tc_coff_sizemachdep): Declare.
+ (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg.
+ (w65_expression): Declare.
+
+ * po/POTFILES.in: Regenerate.
+
+ * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
+ and ARM_ADRL_IMMEDIATE.
+
+2002-12-02 Nick Clifton <nickc@redhat.com>
+
+ * gasp.c: Delete. It has been deprecated.
+ * NEWS: Mention that gasp has been removed.
+ * Makefile.am: Remove references to gasp.
+ * makefile.vms: Likewise.
+ * mpw-make.sed: Likewise.
+ * Makeile.in: Regenerate.
+ * doc/gasp.texi: Delete.
+ * doc/Makefile.am: Remove references to gasp.texi.
+ * doc/Makefile.in: Regenerate.
+ * macro.c: Delete references to gasp.
+ Remove use of comment_char function parameter as it is no longer
+ needed.
+ * macro.h: Update prototypes to remove comment_char parameter.
+ Fix formatting.
+ * read.c (read_a_source_file, s_irp): Remove comment_char
+ parameter from invocation of functions in macro.c
+
+2002-12-02 Hans-Peter Nilsson <hp@axis.com>
+
+ * read.c (emit_expr) [!WORKING_DOT_WORD]: Initialize x->use_jump.
+
+2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/tc-m68hc11.c (md_begin): Fix qsort warning.
+ (tc_gen_reloc): Mark section param as not used.
+
+2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
+
+ Fix Bug savannah/1825:
+ * config/tc-m68hc11.h (md_relax_frag): Define to support relaxations
+ that are not pc-relative.
+ (m68hc11_relax_frag): Declare.
+
+ * config/tc-m68hc11.c (build_indexed_byte): Use a frag_var to handle
+ the offsetable indexed addressing modes (n,r).
+ (build_insn): Cleanup some locals.
+ (m68hc11_relax_frag): New function imported from tc-cris.c to handle
+ relaxation of difference between two symbols of same section.
+ (md_convert_frag): For INDEXED_OFFSET relaxs, use the displacement
+ only when this is a PC-relative operand and the offset is not absolute.
+ (md_estimate_size_before_relax): Convert the INDEXED_OFFSET,UNDEF frag
+ to INDEXED_OFFSET,STATE_BITS5 when the symbol is absolute; this will
+ be handled by m68hc11_relax_frag.
+
+2002-12-01 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/tc-m68hc11.c (elf_flags): Set default ABI to gcc default
+ (32-bit int, 64-bit double).
+ (md_longopts): New options -mshort, -mlong, -mshort-double and
+ -mlong-double to control the ABI.
+ (md_show_usage): Update.
+ (md_parse_option): Handle new options.
+ * doc/as.texinfo (Overview): Document new options for HC11/HC12.
+
+2002-12-01 Nathan Sidwell <nathan@codesourcery.com>
+
+ * symbols.c (report_op_error): New function, broken out of ...
+ (resolve_symbol_value): ... here. Use for both monadic and dyadic
+ operators.
+
+2002-11-30 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * config/tc-sh.c (md_apply_fix3): Take account of fx_offset
+ for BFD_RELOC_32_PLT_PCREL.
+
+2002-11-30 Alan Modra <amodra@bigpond.net.au>
+
+ * dwarf2dbg.c, write.c, config/obj-aout.c, config/obj-coff.c,
+ config/obj-ecoff.c, config/obj-elf.c, config/obj-som.c,
+ config/tc-arm.c, config/tc-arm.h, config/tc-avr.c, config/tc-cris.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.c, config/tc-fr30.h,
+ config/tc-frv.c, config/tc-frv.h, config/tc-hppa.c, config/tc-i370.c,
+ config/tc-i386.c, config/tc-i386.h, config/tc-m32r.c,
+ config/tc-m68hc11.c, config/tc-mcore.c, config/tc-mcore.h,
+ config/tc-mips.c, config/tc-mips.h, config/tc-mn10200.c,
+ config/tc-mn10300.c, config/tc-mn10300.h, config/tc-openrisc.c,
+ config/tc-openrisc.h, config/tc-ppc.c, config/tc-s390.c,
+ config/tc-sh.c, config/tc-sh.h, config/tc-sh64.c, config/tc-tic54x.c,
+ config/tc-v850.c, config/tc-v850.h, config/tc-xstormy16.c,
+ config/tc-xstormy16.h: Replace boolean with bfd_boolean, true with
+ TRUE, false with FALSE. Simplify comparisons of bfd_boolean vars with
+ TRUE/FALSE. Formatting.
+
+2002-11-29 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-arm.c (do_t_bkpt): If no operand is specified,
+ assume a value of zero.
+ (do_bkpt): Likewise.
+
+2002-11-29 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * config/tc-sh.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
+ for TLS relocations.
+
+2002-11-29 Jakub Jelinek <jakub@redhat.com>
+
+ * config/tc-ia64.c (md_apply_fix3): Add default case.
+
+2002-11-28 Jakub Jelinek <jakub@redhat.com>
+
+ * symbols.c (S_SET_THREAD_LOCAL): New function.
+ * symbols.h (S_SET_THREAD_LOCAL): New prototype.
+ * config/tc-i386.c (md_apply_fix3): Call S_SET_THREAD_LOCAL
+ for TLS relocations.
+ * config/tc-ia64.c (md_apply_fix3): Likewise.
+ * config/tc-alpha.c (md_apply_fix3): Likewise.
+
+2002-11-28 Jakub Jelinek <jakub@redhat.com>
+
+ * write.c (subsegs_finish): For SEC_MERGE sections pad last fragment
+ to entsize.
+
+2002-11-26 DJ Delorie <dj@redhat.com.
+
+ * dwarf2dbg.c (scale_addr_delta): New.
+ (size_inc_line_addr): Use it.
+ (emit_inc_line_addr): Use it.
+
+2002-11-26 Hans-Peter Nilsson <hp@axis.com>
+
+ * config/tc-cris.c (cris_relax_frag): Fix typo in comment.
+ (md_assemble): Don't pass on branches to constants as relaxable.
+ Tweak comment.
+
+2002-11-25 Svein E. Seldal <Svein.Seldal@solidas.com>
+
+ * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode
+
+2002-11-21 Randolph Chung <randolph@tausq.org>
+
+ * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols
+ only if they have default visibility.
+
+2002-11-21 Richard Henderson <rth@redhat.com>
+
+ * config/tc-alpha.c (alpha_fix_adjustable): Remove redundant
+ S_IS_DEFINED test.
+
+2002-11-21 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-mcore.c (mcore_pool_count): New function.
+ (mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it.
+
+2002-11-20 Klee Dienes <kdienes@apple.com>
+
+ * config/tc-mcore.c (md_begin): Use a const iterator. Don't
+ coalesce the name fields to use the same pointer.
+
+ * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce
+ the name fields to use the same pointer.
+ (get_specific): Check for opcodes with the same name using strcmp
+ as well as comparing the pointer.
+
+2002-11-20 Alan Modra <amodra@bigpond.net.au>
+
+ * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups with
+ fx_subsy non-NULL.
+
+2002-11-19 Richard Henderson <rth@redhat.com>
+
+ * config/obj-elf.c (obj_elf_visibility): Overwrite only the
+ visibility portion of st_other.
+
+2002-11-19 Klee Dienes <kdienes@apple.com>
+
+ * config/tc-h8300.c (struct h8_instruction): New type, used to
+ wrap h8_opcodes with length, noperands, idx, and size fields
+ (computed at run-time).
+ (h8_instructions): New variable.
+ (md_begin): Allocate the storage for h8_instructions. Fill
+ h8_instructions with pointers to the appropriate opcode and the
+ correct value for the additional fields.
+ (clever_message): Update to use h8_instructions instead of
+ h8_opcodes.
+ (build_bytes): Ditto.
+ (get_specific): Ditto.
+ (md_assemble): Ditto.
+
+2002-11-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * config/tc-s390.c (tc_s390_fix_adjustable): Re-add patch to prevent
+ adjustments to symbols in merge sections.
+
+2002-11-19 Luke Deller <luked@cse.unsw.edu.au>
+
+ * config/tc-alpha.c (s_alpha_prologue): as_bad when sym is NULL.
+
+2002-11-18 Kevin Buettner <kevinb@redhat.com>
+
+ * dwarf2dbg.h (dwarf2_format): New enum.
+ * dwarf2dbg.c (DWARF2_FORMAT): Provide default definition.
+ (out_debug_line, out_debug_info): Add code for handling 64-bit
+ DWARF 2 formats.
+ * config/tc-mips.h (mips_dwarf2_format): Declare.
+ * config/tc-mips.c (mips_dwarf2_format): New function.
+ * doc/internals.texi (DWARF2_FORMAT): Document.
+
+2002-11-18 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mips.c (s_change_section): Make sure input buffer
+ is not accessed past the end. Don't hand
+ obj_elf_change_section a pointer into the input buffer.
+
+2002-11-18 Alexandre Oliva <aoliva@redhat.com>, Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c (tc_gen_reloc): Fix typo in handling of
+ GOT_LO16 on NEWABI.
+
+2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com>
+
+ * config/tc-tic4x.c: Fixed proper commandline
+ parameters. Added support for new opcode-list format. General
+ error message fixups.
+ (c4x_inst_add): Reject insn not for our CPU
+ (md_begin): Added matrix for setting the proper opcode-level &
+ device-flags according to cpu type and revision. Rewrite the
+ opcode hasher.
+ (c4x_operand_parse): Fix opcode bug
+ (c4x_operands_match): New function argument. Added dry-run
+ mechanism, that is optional error generation. Added constraint 'i'
+ and 'j'.
+ (c4x_insn_check): Added new function for post-verification of the
+ generated insn.
+ (md_assemble): Check all opcodes before croaking because of an
+ argument mismatch. Need this to be able to fully support
+ ortogonally arguments.
+ (md_parse_options): Revised commandprompt swicthes and added new
+ ones.
+ (md_show_usage): Complete rewrite of printout.
+
+2002-11-16 Svein E. Seldal <Svein.Seldal@solidas.com>
+
+ * config/tc-tic4x.c: Remove c4x_pseudo_ignore function.
+ (c4x_operands_match): Added check for 8-bits LDF insn. Give
+ warning when using constant direct bigger than 2^16. Add the new
+ arguments.
+
+2002-11-11 Christopher Faylor <cgf@redhat.com>
+
+ * configure.in: Use .gdbinit under Cygwin.
+ * configure: Regenerate.
+
+2002-11-11 Christopher Faylor <cgf@redhat.com>
+
+ * config/tc-i386.h (EXTERN_FORCE_RELOC): Define only if
+ STRICT_PE_FORMAT.
+
+2002-11-11 Svein E. Seldal <Svein.Seldal@solidas.com>
+
+ * config/tc-tic4x.c: Declare as many functions as possible as
+ static. Maintenance on the general indenting. Removed unnecessary
+ pseudo-ops and added new ones. Removed obsoleted c4x_pseudo_ignore
+ function. Add support for new DSP, TMS320VC33. Fix bug for
+ converting flonum constants.
+ (c4x_do_align): Add proper align handling. Setup align to insert
+ NOP's.
+ (c4x_gen_to_words): Support for extended TI type floats.
+ (md_atof): Proper dumping of multiple-word littlenums.
+ (c4x_atof): Added support for extended TI type floats.
+ (c4x_stringer): Added new function to handle compact strings.
+ (c4x_emit_char): Added new function argument to handle custom
+ length inserts, like single-byte strings.
+ * config/tc-tic4x.h: Add proper align handling with NOP's.
+ * Makefile.am: Added tic4x dependecy
+ * Makefile.in: Regenerate
+
+2002-11-11 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * macro.c (get_any_string): Correct logic for not going beyond end
+ of in->ptr[].
+
+2002-11-10 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * config/tc-mmix.c (get_putget_operands): Mark both possible
+ operands as invalid at beginning.
+
+ * config/tc-mmix.c (md_convert_frag) <case STATE_GREG_DEF>:
+ Initialize target of fixup to zero.
+
+2002-11-07 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mips.c (macro_build_lui): _gp_disp is not special on
+ NEWABI, but we should still emit HI16_S for non-PIC n32.
+
+2002-11-06 Richard Henderson <rth@redhat.com>
+
+ * config/tc-alpha.c (alpha_validate_fix): Move code ...
+ (alpha_fix_adjustable): ... here.
+ * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.
+
+2002-11-07 Eric Kohl <ekohl@rz-online.de>
+
+ * config/te-pe.h (LEX_AT): Accept at-sign (@) as first character
+ of a label.
+
+2002-11-05 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-mips.c (support_64bit_objects): Check *l before it
+ is freed.
+
+2002-11-04 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config/obj-coff.c (obj-coff-section): Set SEC_DATA and
+ SEC_LOAD flags for sections marked as 's'.
+
+2002-11-01 Alan Modra <amodra@bigpond.net.au>
+
+ * write.c (TC_FORCE_RELOCATION_SUB_ABS): Default to zero.
+ (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise when DIFF_EXPR_OK.
+ * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS): Document changed
+ default.
+
+ * dep-in.sed: Fix typo.
+
+2002-10-30 Daniel Jacobowitz <drow@mvista.com>
+
+ * configure.in: Update ARM CPU patterns.
+ * configure: Regenerated.
+
+2002-10-29 Daniel Jacobowitz <drow@mvista.com>
+
+ * itbl-lex.l: Use #include <> for generated headers.
+ * itbl-ops.c: Likewise.
+
+2002-10-28 Daniel Jacobowitz <drow@mvista.com>
+
+ * doc/gasp.texi: Fix typo in deprecation note.
+
+2002-10-23 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-arm.c (tc_gen_reloc): Allow an absolute reference to
+ _GLOBAL_TABLE_OFFSET_ to be converted into a GOT reloc.
+
+2002-10-23 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * config/tc-mmix.h (mmix_frob_file_before_adjust): Don't declare.
+ (tc_frob_file_before_adjust): Don't define.
+ * config/tc-mmix.c (mmix_frob_local_reloc): Remove unused
+ function.
+ (mmix_frob_file_before_adjust): Remove ineffective function.
+
+2002-10-23 Hans-Peter Nilsson <hp@axis.com>
+
+ * config/tc-cris.c (SIMPLE_EXPR): New macro.
+ (cris_relax_frag): New function.
+ (md_estimate_size_before_relax) <case ENCODE_RELAX
+ (STATE_BASE_PLUS_DISP_PREFIX, STATE_UNDF)>: Pass on unresolved
+ expressions that will become absolute expressions to relaxation.
+ (md_convert_frag) <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX,
+ STATE_WORD)>: Expect only absolute expressions. Use the symbol
+ value, not distance to symbol.
+ <case ENCODE_RELAX (STATE_BASE_PLUS_DISP_PREFIX, STATE_BYTE)>:
+ Ditto. Correct placement of fixup.
+ (md_assemble): Use SIMPLE_EXPR when dissecting expressions.
+ (gen_bdap): Ditto.
+ * config/tc-cris.h (cris_relax_frag): Declare.
+ (md_relax_frag): Define.
+
+2002-10-22 Alan Modra <amodra@bigpond.net.au>
+
+ * config/obj-elf.c (special_sections): Use correct types for init
+ array sections.
+ (obj_elf_change_section): Don't mess with init array section type.
+
+2002-10-21 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (mips_need_elf_addend_fixup): Return true
+ for relocs against symbols in a merged section.
+
+2002-10-18 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mips.c (md_begin): Add $fcc registers to the symbol
+ table as register names.
+
+2002-10-18 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * config/tc-s390.c (md_parse_option): Set s390_arch_size to 32
+ for option -m31.
+
+2002-10-18 Svein E. Seldal <Svein.Seldal@solidas.com>
+
+ * expr.c (operand): Add support for n.nn flonums.
+
+2002-10-17 Johannes Stezenbach <js@convergence.de>
+
+ * itbl-parse.y (entry): Provide empty action.
+
+2002-10-16 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.in (BFDVER_H): Set and subst.
+ * dep-in.sed: Replace bfdver.h with $(BFDVER_H).
+ * Makefile.am: Run "make dep-am".
+ (BFDVER_H): Define.
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+ * doc/Makefile.in: Regenerate.
+
+2002-10-15 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-i386.h (EXTERN_FORCE_RELOC): Define.
+ (MD_APPLY_SYM_VALUE): Define for PE too.
+
+2002-10-14 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.am: Run "make dep-am".
+ (CPU_OBJ_VALID): sh64 coff is invalid.
+ * as.c: #include "bfdver.h".
+ * Makefile.in: Regenerate.
+ * config.in: Regenerate.
+
+2002-10-14 Momchil Velikov <velco@fadata.bg>
+
+ * config/tc-v850.c (CHECK_): Remove token pasting operator.
+
+2002-10-14 Richard Sandiford <rsandifo@redhat.com>
+
+ * configure.in (mips64vr-elf, mips64vrel-elf): New config.
+ * configure: Regenerate.
+
+2002-10-13 Eric Christopher <echristo@redhat.com>
+ Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mips.c (s_gpdword): New function.
+ (mips_pseudo_table): Add .gpdword.
+ (mips_need_elf_addend_fixup): never for NEWABI.
+ (md_apply_fix3): Don't mark BFD_RELOC64 after GPREL16 or
+ GPREL32 as done.
+ (s_cpadd): Generate .cpadd on NEWABI.
+
+2002-10-12 Elias Athanasopoulos <eathan@otenet.gr>
+
+ * config/tc-ppc.c (ppc_cleanup): Make 'i' unsigned int.
+
+2002-10-12 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mips.h (mips_relax_frag): Take segment as argument.
+ (md_relax_frag): Adjust macro.
+ * config/tc-mips.c (mips_relax_branch): New variable.
+ (RELAX_BRANCH_ENCODE, RELAX_BRANCH_P, RELAX_BRANCH_LIKELY,
+ RELAX_BRANCH_LINK, RELAX_BRANCH_TOOBAR): New.
+ (RELAX_MIPS16_P): Adjust.
+ (append_insn): Emit branch to non-constant in a frag_var if
+ branch-relaxation is desirable and possible.
+ (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH): New options.
+ (OPTION_ELF_BASE): Adjust.
+ (md_parse_option): Handle new options.
+ (md_apply_fix3): Update comment on EMBEDDED_PIC conditional
+ branch relaxation.
+ (relaxed_branch_length): New function.
+ (md_estimate_size_before_relax): Handle branch frags.
+ (mips_relax_frag): Likewise.
+ (md_convert_frag): Handle branch frags. Warn if branch is
+ relaxed.
+
+2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * config/tc-sh.c (sh_force_relocation): Make sure TLS relocs get
+ emitted.
+ (md_apply_fix3): Add TLS relocs.
+ (sh_parse_name): Support @TLSGD, @TLSLDM, @GOTTPOFF, @TPOFF and
+ @DTPOFF.
+
+2002-10-11 Michel Six <msix@ccr.jussieu.fr>
+ Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-i386.c (output_jump): Set fx_signed for loop/jcxz.
+ (md_estimate_size_before_relax): Likewise for 8 bit branches.
+
+Thu Oct 10 14:31:30 2002 J"orn Rennecke <joern.rennecke@superh.com>
+
+ * config/tc-sh.c (assemble_ppi): Initialize reg_x / reg_y / reg_n
+ inside loop.
+
+2002-10-09 Richard Shann <richard.shann@superh.com>
+ Stephen Clarke <stephen.clarke@superh.com>
+
+ * config/tc-sh64.c (sh64_target_format): Add support for sh64
+ Linux environment.
+
+2002-10-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * contig/tc-sh.c (sh_local_pcrel): New.
+ (sh_force_relocation): Use sh_local_pcrel.
+ (md_pcrel_from_section): Check the relocation type whether it
+ should be resolved locally. Use S_FORCE_RELOC.
+
+2002-10-01 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define.
+ (TC_FORCE_RELOCATION): Tidy arg.
+
+2002-09-30 Gavin Romig-Koch <gavin@redhat.com>
+ Ken Raeburn <raeburn@cygnus.com>
+ Aldy Hernandez <aldyh@redhat.com>
+ DJ Delorie <dj@redhat.com>
+ Michael Meissner <meissner@redhat.com>
+ Eric Christopher <echristo@redhat.com>
+ Richard Sandiford <rsandifo@redhat.com>
+
+ * doc/c-mips.texi: Add entries for -march=vr4120,vr4130,vr4181,
+ vr5400 and vr5500. Add entry for -mfix-vr4122-bugs.
+ * config/tc-mips.c (CPU_HAS_DROR, CPU_HAS_ROR): New macros.
+ (hilo_interlocks): True for CPU_VR5500.
+ (gpr_interlocks, cop_interlocks): True for CPU_VR5400 and CPU_VR5500.
+ (mips_fix_vr4122_bugs): New.
+ (append_insn): Work around 4122 errors if mips_fix_vr4122_bugs.
+ (mips_emit_delays): Likewise.
+ (macro2) [M_DROLI]: Use dror or dror32 if CPU_HAS_DROR.
+ [M_ROLI]: Likewise ror if CPU_HAS_ROR.
+ (validate_mips_insn, mips_ip): Handle '[', ']', 'e' and '%'.
+ (OPTION_FIX_VR4122, OPTION_NO_FIX_VR4122): New options.
+ (md_longopts): Add -mfix-vr4122-bugs and -no-mfix-vr4122-bugs.
+ (OPTION_ELF_BASE): Bump.
+ (md_parse_option): Handle the new options.
+ (mips_cpu_info_table): Add entries for vr4120, vr4130, vr4181,
+ vr5400 and vr5500.
+
+2002-09-29 H.J. Lu <hjl@gnu.org>
+
+ * config/tc-mips.c (md_apply_fix3): Subtract the symbol value
+ twice if howto->pcrel_offset is true.
+
+2002-09-28 Matt Thomas <matt@3am-software.com>
+ Jason Thorpe <thorpej@wasabisystems.com>
+
+ * config/tc-vax.c (md_estimate_size_before_relax): Only try to
+ convert undefined references to GOT32/PLT32 if PIC code is
+ requested. Fix comment.
+
+2002-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * config/tc-sh.c (sh_force_relocation): Return 0 for
+ some PC relative relocations when not relaxing.
+
+2002-09-26 Jakub Jelinek <jakub@redhat.com>
+
+ * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs.
+ Define them if not BFD_ASSEMBLER.
+ (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add
+ @tlsld.
+ (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD,
+ BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF.
+ (tc_gen_reloc): Handle x86-64 TLS relocs.
+
+2002-09-27 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-avr.c (md_apply_fix3): Reinstate code handling pcrel
+ fixups to current or absolute section.
+
+2002-09-26 Jim Wilson <wilson@redhat.com>
+
+ * config/tc-v850.c (v850_offset): Use frag_var instead of frag_now_fix
+ and frag_more.
+
+2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (CPU_HAS_MIPS16): Add mips-lsi-elf as MIPS16
+ capable configuration.
+ (macro_build): Check for MIPS16 capability, not for actual MIPS16 code
+ generation.
+ (mips_ip): Likewise.
+
+2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (append_insn): Fix jump overflow check.
+
+2002-09-24 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-i386.c (process_operands): Warn about "lea" segment
+ overrides.
+
+2002-09-22 Mark Elbrecht <snowball3@softhome.net>
+
+ * write.c: Delete set_segment_vma and prototype. Update all callers.
+
2002-09-21 Alan Modra <amodra@bigpond.net.au>
* config/tc-i386.c (md_apply_fix3): Replace S_IS_EXTERNAL,
(output_imm): Added arguments. Compute properly addend for
R_386_GOTPC.
(md_apply_fix3): Remove R_386_GOTPC handling.
- * testsuite/gas/i386/gotpc.s: New.
- * testsuite/gas/i386/gotpc.d: New.
- * testsuite/gas/i386/i386.exp: Add gotpc test.
2002-08-06 George France <france@handhelds.org>
* config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,
but warn about it.
- * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc).
- * testsuite/gas/sh/pcrel.d: Update.
- * testsuite/gas/sh/pcrel.l: New file.
2002-06-06 Daniel Jacobowitz <drow@mvista.com>
(md_begin): Support TLS operators.
(md_operand): Likewise.
(ia64_gen_real_reloc_type): Support TLS relocs.
- * testsuite/gas/i386/tlspic.s: New file.
- * testsuite/gas/i386/tlsd.s: New file.
- * testsuite/gas/i386/tlsnopic.s: New file.
- * testsuite/gas/i386/tlsd.d: New file.
- * testsuite/gas/i386/tlsnopic.d: New file.
- * testsuite/gas/i386/tlspic.d: New file.
- * testsuite/gas/i386/i386.exp: Add tlsd, tlsnopic and tlspic tests.
- * testsuite/gas/ia64/tls.s: New file.
- * testsuite/gas/ia64/tls.d: New file.
- * testsuite/gas/ia64/ia64.exp: Add tls test.
* write.c (adjust_reloc_syms): Don't change symbols in
SEC_THREAD_LOCAL sections to STT_SECTION + addend.