+2002-08-19 Elena Zannoni <ezannoni@redhat.com>
+
+ From matthew green <mrg@redhat.com>
+
+ * config/tc-ppc.c (PPC_OPCODE_CLASSIC): Enable this everywhere
+ PPC_OPCODE_PPC is, except for BookE architectures.
+ (md_parse_option): Add support for -mspe.
+ (md_show_usage): Add -mspe.
+ (md_parse_option): Add support for -me500 and
+ -me500x2 to generate code for Motorola e500 core complex.
+ (md_show_usage): Add -me500 and -me500x2.
+
+ (PPC_APUINFO_ISEL, PPC_APUINFO_PMR, PPC_APUINFO_RFMCI,
+ PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE, PPC_APUINFO_EFS,
+ PPC_APUINFO_BRLOCK): New macros.
+
+ (ppc_cleanup): New function.
+ (ppc_apuinfo_section_add): New function.
+ (APUID): New macro.
+ (md_assemble): Collect info and write the APUinfo section.
+
+ * config/tc-ppc.h (md_cleanup): Define.
+ (ppc_cleanup): Export.
+ (ELF_TC_SPECIAL_SECTIONS): Add .PPC.EMB.apuinfo section.
+
+2002-08-17 Stan Cox <scox@redhat.com>
+
+ * config/obj-elf.c (obj_elf_change_section): Make non-static.
+ config/tc-mips.c (s_change_section): New function to support
+ IRIX .section pseudo-op.
+
+2002-08-16 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-v850.c (md_assemble): Fix assembling of "callt 0x3f".
+
+2002-08-15 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mips.c (macro_build_jalr): Make sure we generate
+ the fix-up against on the right frag.
+ (s_cpsetup): Likewise. Parse third argument as expression, to
+ handle global symbols and forward/backward labels correctly.
+
+2002-08-14 Nick Clifton <nickc@redhat.com>
+
+ * read.c (stringer): Catch attempts to create strings in the abs
+ section.
+
+ * config/tc-alpha.c: Fix compiling for COFF targets.
+ Some minor formatting tidyups.
+
+2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/tc-m68hc11.h (MD_PCREL_FROM_SECTION): Remove.
+ (TC_HANDLES_FX_DONE): Define to let md_apply_fix3 set fx_done flag
+ according to the reloc.
+ (tc_fix_adjustable, tc_m68hc11_fix_adjustable): Define.
+ (TC_FORCE_RELOCATION): Define.
+ (tc_m68hc11_force_relocation): Declare.
+
+ * config/tc-m68hc11.c (md_pseudo_table): Add relax command.
+ (s_m68hc11_relax): New function for relax group.
+ (build_insn, build_jump_insn): Emit a M68HC11_RL_JUMP reloc at
+ beginning of jump instruction.
+ (md_pcrel_from): Rename from md_pcrel_from_section and fix
+ address computation.
+ (tc-gen_reloc): Update.
+ (md_estimate_size_before_relax): Create the BFD_RELOC_16_PCREL as
+ PC-relative fixup.
+ (tc_m68hc11_force_relocation): New function, handle new relocs.
+ (tc_m68hc11_fix_adjustable): New to make sure there are enough
+ reloc for the linker relax pass.
+ (md_apply_fix3): Handle M68HC11_RL_JUMP, M68HC11_RL_GROUP
+ and VTABLE relocs.
+
+2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/tc-m68hc11.c (m68hc11_elf_final_processing): New function.
+ (md_pseudo_table): Add .mode, .far and .interrupt pseudo op.
+ (s_m68hc11_mode): New function for .mode pseudo op.
+ (s_m68hc11_mark_symbol): New function for .far and .interrupt
+ pseudo op.
+ * config/tc-m68hc11.h (elf_tc_final_processing): Define.
+ (m68hc11_elf_final_processing): Declare.
+
+2002-08-13 Stephane Carrez <stcarrez@nerim.fr>
+
+ * config/tc-m68hc11.c (md_begin): Take into account additional
+ page operand for call instruction.
+ (print_opcode_format): Likewise.
+ (check_range): Likewise for page range checking.
+ (get_operand): Don't skip a possible comma in operands.
+ (fixup8): Generate BFD_RELOC_M68HC11_PAGE reloc.
+ (fixup16): Likwise with BFD_RELOC_M68HC11_LO16.
+ (fixup24): New to handle call reloc.
+ (build_insn): Handle missing page operand for call instruction.
+ (find): Likewise.
+ (md_apply_fix3): Take into account new relocs.
+ (get_operand): Fix the mode for indexed indirect addressing.
+ (build_indexed_byte): Fix post index byte for indexed indirect mode.
+
+2002-08-12 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (mips_ip): Don't work out the value of
+ constant %hi()s here.
+
+2002-08-10 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-i386.c (tc_i386_fix_adjustable): Test OUTPUT_FLAVOR
+ for ELF, and don't bother checking ELF relocs when non-ELF.
+ (i386_immediate): Allow absolute_section expressions for aout.
+ (i386_displacement): Likewise. Also test bfd_is_com_section.
+ (md_estimate_size_before_relax): Test OUTPUT_FLAVOR for ELF.
+ (md_apply_fix3): Hack for bfd_install_relocation when fx_pcrel,
+ not when fx_addsy. Remove dead code.
+
+2002-08-09 Graeme Peterson <gp@qnx.com>
+
+ * configure.in: Add support for ppc-*-nto* target.
+ * configure: Regenerate.
+
+2002-08-09 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-i386.h: Reorganize.
+
+2002-08-09 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * config/tc-mips.c (macro): Handle a register plus a 16-bit
+ immediate offset in "dla" and "la" expansions.
+
+2002-08-09 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.in: bfd_gas=yes for all i386 targets. Formatting.
+ Remove "bfd_gas=yes" from target table when covered later.
+ Consolidate some entries.
+ * configure: Regenerate
+
+2002-08-09 Jakub Jelinek <jakub@redhat.com>
+
+ * config/tc-i386.c (output_insn): Save frag_now and frag_now_fix ()
+ at start of insn, pass it to output_disp and output_imm.
+ (output_disp): Added arguments. If _GLOBAL_OFFSET_TABLE_ is seen
+ in displacement for R_386_32 reloc, use R_386_GOTPC and compute
+ properly addend.
+ (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-alpha.c (cpu_types): Enabled ev67, ev68, -m21264a
+ and m21264b processor names and cpu types.
+ * doc/c-alpha.texi: Documented new types.
+
+2002-08-06 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (md_apply_fix3): Adjust 16 bit XCOFF reloc offset.
+
+2002-08-01 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (tc_gen_reloc): Extend GP-relative addend
+ handling to BFD_RELOC_MIPS16_GPREL.
+
+2002-08-01 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-arm.c (add_to_lit_pool): Ensure that offset to literal
+ pool is computed using signed arithmetic so that proper sign
+ extension is performed if X_add_number is a 64-bit integer.
+
+2002-08-01 H.J. Lu <hjl@gnu.org>
+ Daniel Jacobowitz <drow@mvista.com>
+
+ * dwarf2dbg.c (dwarf2_finish): Don't emit unreferenced
+ .debug_line section unless it has line information.
+
+2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
+
+ * config/tc-ns32k.h (md_pcrel_adjust): Supply prototype.
+ * config/tc-ns32k.c (convert_iif, md_parse_option, md_show_usage):
+ Allow default displacement size to be an option "--disp-size-default".
+ (md_number_to_disp): Make error messages include value. Use %d to
+ print integers, not %s.
+ (fix_new_ns32k): Conditionally set fx_no_overflow so we don't
+ get duplicate messages sometimes.
+ (convert_iif): Grow frag to max possible instruction size. Avoid
+ creating unnecessary fixes.
+ (md_number_to_field) Add prototype.
+ (encode_operand, parse, convert_iif, md_fix_pcrel_adjust): Add
+ prototypes and make static.
+ (struct addr_mode): Make mode and scaled_mode explicitly signed.
+ (evaluate_expr): Use resultP argument instead of exprP global.
+ (get_addr_mode): Quiten compiler warnings.
+ (encode_operand): eliminate unused variables. Quiten compiler
+ warnings. Eliminate nul character in format strings.
+ (parse): argc is unsigned.
+ (reloc): Type cast index to quieten compiler.
+ (md_pcrel_adjust, md_apply_fix3): Remove unused variable.
+ (md_convert_frag): Note unused parameters. Remove unused
+ variables.
+ (md_create_long_jump, md_create_short_jump,
+ md_undefined_symbol_name, md_section_align, tc_gen_reloc): Note
+ unused parameters.
+
+2002-07-31 Nick Clifton <nickc@redhat.com>
+
+ * NEWS: Retroactively add entry for Lars Brinkhoff's contribution
+ of the PDP-11 and 2.11BSD a.out support.
+
+2002-07-31 Momchil Velikov <velco@fadata.bg>
+
+ * config/tc-v850.c (md_assemble): Fix range check for immediate
+ operand.
+
+2002-07-30 Chris Demetriou <cgd@broadcom.com>
+
+ * config/tc-mips.c (mips_cpu_info_table): Clean up entries related
+ to Broadcom SB-1 core support.
+
+2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (mips_target_format): Fix formatting.
+ Add recognition of n32 ABI formats.
+
+2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * tc-mips.c (load_address): Don't clobber $at when loading a
+ 64-bit address in non-PIC code if noat is in effect.
+ (macro): Likewise.
+
+2002-07-30 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * config/tc-mips.c (macro): Use codes 6 and 7 in trap instructions
+ used in division/multiply macro expansions similarly to how they
+ are used in the variants with break instructions.
+ (macro2): Likewise.
+
+2002-07-30 Graeme Peterson <gp@qnx.com>
+
+ * configure.in: Add support for arm-*-nto target.
+ * configure: Regenerate.
+
+2002-07-30 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-arm.c (struct literal_pool): Add fields to allow
+ multiple literal pools to be maintained.
+ (find_literal_pool): New function.
+ (find_or_make_literal_pool): New function.
+ (add_to_literal_pool): Use find_or_make_literal_pool.
+ (arm_s_text, arm_s_data, arm_s_section): Remove - no longer
+ needed.
+ (s_ltorg): Use find_literal_pool.
+ (arm_cleanup): Dump all literal pools.
+ * doc/c-arm.texi: Document new behaviour of only dumping literal
+ pools upon request.
+
+2002-07-26 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (ppc_set_cpu): Use PPC_OPCODE_64 as the default
+ rather than PPC_OPCODE_32 for powerpc64*.
+
+2002-07-25 Nick Clifton <nickc@redhat.com>
+
+ * po/es.po: Updated Spanish translation.
+ * po/fr.po: Updated French translation.
+
+2002-07-25 Richard Sandiford <rsandifo@redhat.com>
+
+ * doc/c-mips.texi: Remove -mcpu. Document -mabi.
+ * configure.in (MIPS_CPU_STRING_DEFAULT): New configuration macro.
+ (USE_E_MIPS_ABI_O32, MIPS_DEFAULT_64BIT): New configuration macros.
+ * configure, config.in: Regenerate.
+ * config/tc-mips.c (file_mips_abi): Rename to mips_abi.
+ (mips_set_options): Remove "abi" field.
+ (mips_opts): Update accordingly. Replace all uses of mips_opts.abi
+ with mips_abi.
+ (mips_cpu): Remove.
+ (mips_arch_string, mips_arch_info): New vars.
+ (mips_tune_string, mips_tune_info): New vars.
+ (ABI_NEEDS_32BIT_REGS, ABI_NEEDS_64BIT_REGS): New macros.
+ (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): Don't check the ABI.
+ (mips_isa_to_str, mips_cpu_to_str): Remove.
+ (mips_ip): If the selected architecture is a generic ISA rather
+ than a processor, only mention the ISA level in error messages.
+ (OPTION_MCPU): Remove.
+ (OPTION_FP64): New.
+ (md_longopts): Add -mfp64, remove -mcpu.
+ (mips_set_option_string): New fn.
+ (md_parse_option): Make -mipsN update file_mips_isa rather than
+ mips_opts.isa. Use mips_set_option_string to set -march or -mtune.
+ Don't let -mgp32 and -mfp32 change the ABI.
+ (show): Move to end of file. Constify string argument.
+ (md_show_usage): Move to the end of the file. Read available
+ architectures from mips_cpu_info_table.
+ (mips_set_architecture): New fn.
+ (mips_after_parse_args): Rework. Remove -mcpu handling. -mipsN
+ is an alias for -march=mipsN. Don't change the ABI based on other
+ flags. Infer the register size from the ABI as well as the
+ architecture. Complain about more conflicting arguments.
+ Unify logic with GCC.
+ (s_mipsset): Don't change the ABI.
+ (mips_elf_final_processing): Check USE_E_MIPS_ABI_O32.
+ (mips_cpu_info_table): Remove Generic-MIPS* entries, keeping just
+ "mipsN"-type entries. Remove entries that vary only in the
+ manufacturer's prefix, or that have "000" replaced by "k".
+ Remove TARGET_CPU entries. Make r2000 entry use CPU_R3000.
+ (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p): New fns.
+ (mips_parse_cpu): New fn.
+ (mips_cpu_info_from_name, mips_cpu_info_from_cpu): Remove.
+ (mips_cpu_info_from_isa): Minor formatting tweak.
+
+2002-07-24 Nick Clifton <nickc@redhat.com>
+
+ * po/sv.po: Updated Swedish translation.
+ * po/es.po: Updated Spanish translation.
+
+2002-07-23 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.am: Run "make dep-am".
+ * Makefile.in: Regenerate.
+ * doc/Makefile.in: Regenerate.
+ * config.in: Regenerate.
+ * po/POTFILES.in: Regenerate.
+
+2002-07-23 Nick Clifton <nickc@redhat.com>
+
+ * po/fr.po: Updated French translation.
+
+2002-07-23 Nick Clifton <nickc@redhat.com>
+
+ * CONTRIBUTORS: Ken Raeburn is no longer the maintainer for
+ GAS.
+
+2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (mips_need_elf_addend_fixup): Use S_IS_EXTERNAL
+ instead of S_IS_EXTERN.
+ (md_estimate_size_before_relax): Likewise.
+ (mips_fix_adjustable): Likewise.
+
+2002-07-19 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (mips_pic_level): Remove IRIX4_PIC.
+
+2002-07-19 Miroslav Tichy <tichm9am@ss1000.ms.mff.cuni.cz>
+ Nick Clifton <nickc@redhat.com>
+
+ * cond.c (s_ifdef): Treat a referenced but not yet defined
+ symbol as if it were undefined, in exactly the same way as
+ .equiv.
+
+ * doc/as.texinfo: Document that .ifdef, .ifndef and .equiv
+ consider referenced bug not yet defined symbols to be
+ undefined.
+
+2002-07-18 Denis Chertykov <denisc@overta.ru>
+ Frank Ch. Eigler <fche@redhat.com>
+ Alan Lehotsky <alehotsky@cygnus.com>
+ John Healy <jhealy@redhat.com>
+ Jeff Johnston <jjohnstn@redhat.com>
+
+ * configure.in: Add ip2k configuraton.
+ * configure: Regenerate.
+ * Makefile.am: Add ip2k configuraton.
+ * Makefile.in: Regenerate.
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+ * config/tc-ip2k.c: New file.
+ * config/tc-ip2k.h: New files.
+ * NEWS: Mention new support.
+ * doc/Makefile.am (CPU_DOCS): Add c-ip2k.texi.
+ * doc/Makefile.in: Regenerate.
+ * doc/all.texi: Set IP2K
+ * doc/as.texinfo: Add IP2K description.
+ * doc/c-ip2k.texi: New file.
+
+2002-07-19 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * NEWS: Reformat to match style of other NEWS files.
+
+2002-07-17 Jan Hubicka <jh@suse.cz>
+
+ * tc-i386.c (i386_align_code): Implement x86_64 neutral code fillers.
+
+2002-07-16 Moritz Jodeit <moritz@jodeit.org>
+
+ * config/tc-z8k.c (build_bytes): Correct order of memset args.
+
+2002-07-16 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * NEWS: Add 'Changes in 2.13'.
+
+2002-07-15 Matt Fredette <fredette@netbsd.org>
+
+ * config/tc-hppa.h (LABELS_WITHOUT_COLONS): Define if TE_NetBSD.
+
+2002-07-12 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-i386.c (process_suffix): Merge CODE_64BIT JumpByte
+ case with non CODE_64BIT case. Don't warn on "qword ptr" if
+ not CODE_64BIT.
+
+2002-07-11 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (ppc_elf_frob_symbol): Delete.
+ (ppc_frob_file_before_adjust): New function.
+ * config/tc-ppc.h (tc_frob_symbol): Don't define.
+ (ppc_elf_frob_symbol): Don't declare.
+ (tc_frob_file_before_adjust): Define.
+ (ppc_frob_file_before_adjust): Declare.
+
+ * config/tc-ppc.c (md_pseudo_table): Warning fix.
+ (ppc_cpu): Make it unsigned long to agree with struct powerpc_opcode
+ flags.
+ (ppc_size): Delete.
+ (ppc_xcoff64): Rename to ppc_obj64.
+ (md_parse_option <m>): Encode old ppc_size value in ppc_cpu.
+ (ppc_set_cpu): Set PPC_OPCODE_32 too.
+ (ppc_arch): Use ppc_obj64 instead of ppc_size to select bfd_mach_ppc64
+ or bfd_mach_ppc.
+ (ppc_target_format): Use ppc_obj64 to select format.
+ (md_begin): Adjust for PPC_OPCODE_32/64 in ppc_cpu.
+ (ppc_insert_operand): Use ppc_obj64 instead of ppc_size.
+ (ppc_elf_suffix): Likewise. Don't depend on BFD_DEFAULT_TARGET_SIZE.
+ (tc_frob_symbol): Likewise.
+ (md_assemble): Use ppc_obj64 instead of ppc_size. Don't depend on
+ BFD_DEFAULT_TARGET_SIZE.
+ (ppc_tc): Likewise.
+ (ppc_is_toc_sym): Likewise.
+ (md_apply_fix3): Likewise.
+ * config/tc-ppc.h (TC_FORCE_RELOCATION): Don't depend on
+ BFD_DEFAULT_TARGET_SIZE.
+ (ELF_TC_SPECIAL_SECTIONS): Likewise.
+ (tc_frob_symbol): Likewise.
+
+2002-07-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (macro_build): Handle MIPS16 insns.
+ (mips_ip): Likewise.
+
+2002-07-09 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-i386.c (md_pseudo_table <file>): Warning fix.
+ (BFD_RELOC_8, BFD_RELOC_8_PCREL): Define for non-BFD.
+ (md_apply_fix3): Formatting. Remove redundant test.
+ (tc_gen_reloc): Remove redundant code.
+ (tc_i386_force_relocation): Delete. Movy body of function to..
+ * config/tc-i386.h (TC_FORCE_RELOCATION): .. here.
+
2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br>
* configure.in: Add hppa-*-openbsd* target, change
2002-01-11 Richard Earnshaw <rearnsha@arm.com>
- * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
+ * tc-arm.c (do_ldst): Fix handling an immediate expression pseudo
op that can be translated into a mvn instruction.
2002-01-11 Steve Ellcey <sje@cup.hp.com>