+2001-09-30 H.J. Lu <hjl@gnu.org>
+
+ * config/obj-elf.c (obj_elf_parse_section_letters): Accept "am"
+ and "ams" for compatibility.
+
+2001-09-30 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * config/tc-sh.c (md_pcrel_from_section): Transformed from
+ md_pcrel_from. Handle pc-relativeness against link-time
+ symbol. Handle relativeness to elsewhere than the fixup.
+ * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.
+ (md_pcrel_from_section): Prototype.
+
+ * Makefile.am: Update dependencies with "make dep-am".
+ * Makefile.in: Regenerate.
+
+2001-09-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
+
+ * config/tc-m68hc11.c (cmp_opcode): Define prototype.
+ (print_opcode_format, skip_whites): Likewise.
+ (convert_branch, m68hc11_new_insn): Likewise.
+ (build_dbranch_insn, build_indexed_byte): Likewise.
+ (build_reg_mode, find, find_opcode): Likewise.
+ (print_insn_format): Fix call to print_opcode_format.
+ (md_assemble): Fix call to build_dbranch_insn.
+
+2001-09-27 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * config/tc-arm.c: Add missing prototypes.
+
+2001-09-26 Jeff Johnston <jjohnstn@redhat.com>
+
+ * input-file.c (input_file_open): When reading the
+ first line looking for #NO_APP, prepare for the possibility
+ of finding #APP instead. Also fix algorithm to allow
+ white-space to follow either #NO_APP or #APP directives.
+
+2001-09-25 Geoff Berry <geoff.berry@bops.com>
+
+ * listing.c (buffer_line): Don't write past the end of `line' when
+ EOF is reached.
+
+2001-09-25 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*
+ relocation for differences between symbols in a section other
+ than the one in which the difference is to be placed; apply
+ the relocation instead.
+
+2001-09-24 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * config/tc-arc.c: Add missing prototype.
+ (md_atof): Change type to int. Add missing prototype.
+ * config/tc-arc.h: Prototype exported functions.
+
+2001-09-22 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * as.c: Add missing function prototype.
+ * config/obj-aout.c: Fix compile time warning.
+
+2001-09-21 Bruno Haible <haible@clisp.cons.org>
+
+ * config/tc-openrisc.c: Don't include <ctype.h>.
+
+2001-09-19 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * gas/config/tc-s390.c: Add option -mwarn-areg-zero.
+
+2001-09-19 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-i370.c: Fix typo in last change.
+
+2001-09-19 Nick Clifton <nickc@cambridge.redhat.com>
+
+ * doc/as.texinfo (Symbol Names): Improve documentation on local
+ labels and add documenation about dollar labels.
+
+2001-09-18 Bruno Haible <haible@clisp.cons.org>
+
+ * as.h: Don't include <ctype.h>.
+ * as.c (main): For gettext, also set the LC_CTYPE locate facet.
+ * atof-generic.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (atof_generic): Use ISDIGIT instead of isdigit.
+ * config/m68k-parse.y: Include "safe-ctype.h".
+ (yylex): Use ISDIGIT/ISALNUM instead of isdigit/isalnum.
+ * config/obj-elf.c: Include "safe-ctype.h".
+ (obj_elf_vtable_inherit): Use ISSPACE instead of isspace.
+ * config/obj-vms.c: Include "safe-ctype.h".
+ (Write_VMS_MHD_Records): Use TOUPPER instead of islower/toupper.
+ (VMS_Case_Hack_Symbol): Use ISUPPER/ISLOWER/TOUPPER/TOLOWER
+ instead of isupper/islower/toupper/tolower.
+ * config/tc-a29k.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (insert_sreg): Use TOUPPER instead of islower/toupper.
+ (machine_ip): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead of
+ isalpha/isalnum/isupper/tolower.
+ (a29k_unrecognized_line, md_operand): Use ISDIGIT instead of
+ isdigit.
+ * config/tc-alpha.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (md_undefined_symbol, s_alpha_ent): Use ISDIGIT instead of isdigit.
+ * config/tc-arc.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (md_assemble): Use ISSPACE/ISALNUM instead of isspace/isalnum.
+ (arc_extoper): Use TOLOWER instead of isupper/tolower.
+ * config/tc-arm.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (arm_psr_parse): Use ISALPHA instead of isalpha.
+ (accum0_required_here): Use ISALNUM instead of isalnum.
+ (do_ldrd): Use ISSPACE instead of isspace.
+ (decode_shift): Use ISALPHA instead of isalpha.
+ (insert_reg): Use TOUPPER instead of islower/toupper.
+ (arm_reg_parse): Use ISALPHA instead of isalpha.
+ (arm_parse_reloc): Use ISALNUM/ISPUNCT/TOLOWER instead of
+ isalnum/ispunct/tolower.
+ * config/tc-avr.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (md_parse_option): Use TOLOWER instead of tolower.
+ (avr_operand): Use ISDIGIT/TOLOWER instead of isdigit/tolower.
+ * config/tc-cris.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (cris_process_instruction): Use ISLOWER instead of islower.
+ (get_gen_reg): Use ISALNUM/ISDIGIT instead of isalnum/isdigit.
+ (get_spec_reg): Use TOLOWER/ISALNUM instead of isupper/tolower/isalnum.
+ (get_flags): Use ISSPACE instead of isspace.
+ * config/tc-d10v.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (do_assemble): Use TOLOWER instead of tolower.
+ * config/tc-d30v.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (do_assemble): Use TOLOWER instead of tolower.
+ (d30v_start_line): Use ISSPACE instead of isspace.
+ * config/tc-fr30.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (fr30_is_colon_insn): Use TOLOWER instead of tolower.
+ * config/tc-h8300.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (skip_colonthing, get_operand): Use ISDIGIT instead of isdigit.
+ * config/tc-h8500.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (start_label): Use ISALPHA instead of isalpha.
+ * config/tc-hppa.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (pa_ip): Use ISUPPER/ISLOWER/TOLOWER instead of
+ isupper/islower/tolower.
+ (pa_parse_number): Use ISDIGIT instead of isdigit.
+ (pa_chk_field_selector): Use TOLOWER instead of tolower.
+ (pa_stringer): Use ISDIGIT instead of isdigit.
+ * config/tc-i370.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (register_name): Use ISALPHA instead of isalpha.
+ (i370_elf_suffix): Use ISALNUM/TOLOWER instead of
+ isalnum/islower/tolower.
+ (i370_addr_offset): Use ISDIGIT/ISALPHA instead of
+ isdigit/isalpha.
+ (i370_addr_cons): Use ISALPHA/ISXDIGIT instead of
+ isalpha/isxdigit.
+ (md_assemble): Use ISSPACE instead of isspace.
+ * config/tc-i386.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (md_begin): Use ISDIGIT/ISLOWER/ISUPPER/TOLOWER/ISALPHA
+ instead of isdigit/islower/isupper/tolower/isalpha.
+ (output_invalid): Use ISPRINT instead of isprint.
+ * config/tc-i860.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (i860_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
+ * config/tc-i960.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (get_args): Use ISALNUM instead of isalnum.
+ * config/tc-ia64.c: Include "safe-ctype.h".
+ (dot_pred_rel): Use TOUPPER/ISDIGIT instead of toupper/isdigit.
+ (ia64_unrecognized_line): Use ISDIGIT instead of isdigit.
+ (ia64_parse_name): Likewise.
+ * config/tc-m32r.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (assemble_two_insns): Use ISSPACE/ISALNUM/ISUPPER/TOLOWER
+ instead of isspace/isalnum/isupper/tolower.
+ * config/tc-m68hc11.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (md_assemble): Use TOLOWER/ISALNUM instead of tolower/isalnum.
+ * config/tc-m68k.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (mklower_table): Remove variable.
+ (mklower): Remove macro.
+ (insert_reg): Use TOUPPER instead of islower/toupper.
+ (md_begin): Remove initialization of mklower_table.
+ (s_reg): Use ISALNUM instead of isalnum.
+ (mri_assemble): Use ISUPPER/TOLOWER instead of isupper/tolower.
+ (parse_mri_condition): Use TOLOWER instead of isupper/tolower.
+ (build_mri_control_operand): Use TOLOWER instead of tolower.
+ (s_mri_else, s_mri_break, s_mri_next, s_mri_for): Likewise.
+ * config/tc-m88k.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (md_assemble): Use ISSPACE instead of isspace.
+ (get_imm16): Use ISALNUM instead of isalnum.
+ (get_cnd): Use ISDIGIT/ISUPPER/TOLOWER instead of
+ isdigit/isupper/tolower.
+ (get_bf_offset_expression): Use ISALPHA/ISUPPER/TOLOWER
+ instead of isalpha/isupper/tolower.
+ (hexval): Use ISDIGIT/ISLOWER/ISUPPER instead of
+ isdigit/islower/isupper.
+ * config/tc-mcore.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (mcore_s_section): Use ISSPACE instead of isspace.
+ (parse_reg): Use ISSPACE/TOLOWER/ISALNUM instead of
+ isspace/tolower/isalnum.
+ (parse_creg): Use ISSPACE/TOLOWER instead of isspace/tolower.
+ (parse_psrmod): Use TOLOWER instead of isascii/tolower.
+ (parse_exp, parse_mem, md_assemble): Use ISSPACE instead of
+ isspace.
+ * config/tc-mips.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (mips_ip): Use ISSPACE/ISDIGIT instead of isspace/isdigit.
+ (mips16_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
+ (my_getSmallExpression): Use ISDIGIT/TOLOWER instead of
+ isdigit/tolower.
+ (tc_get_register): Likewise.
+ (get_number): Use ISDIGIT/ISXDIGIT instead of isdigit/isxdigit.
+ (s_mips_ent): Use ISDIGIT instead of isdigit.
+ * config/tc-mn10200.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (md_assemble): Use ISSPACE instead of isspace.
+ * config/tc-mn10300.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (md_assemble): Use ISSPACE instead of isspace.
+ * config/tc-ns32k.c: Don't include <ctype.h>.
+ * config/tc-pdp11.c: Include "safe-ctype.h".
+ (mklower): Remove function.
+ (parse_reg): Use TOLOWER instead of mklower.
+ * config/tc-pj.c: Include "safe-ctype.h".
+ (md_assemble): Use ISSPACE instead of isspace.
+ * config/tc-ppc.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (register_name): Use ISALPHA instead of isalpha.
+ (ppc_elf_suffix): Use ISALNUM/TOLOWER instead of
+ isalnum/islower/tolower.
+ (md_assemble): Use ISSPACE instead of isspace.
+ (ppc_canonicalize_symbol_name): Use ISLOWER/TOUPPER instead of
+ islower/toupper.
+ * config/tc-s390.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (register_name): Use ISALPHA instead of isalpha.
+ (s390_elf_suffix, s390_lit_suffix): Use ISALNUM instead of isalnum.
+ (md_gather_operands, md_assemble, s390_insn): Use ISSPACE instead of
+ isspace.
+ * config/tc-sh.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (sh_elf_suffix): Use ISALNUM/TOLOWER instead of
+ isalnum/islower/tolower.
+ (IDENT_CHAR): Use ISALNUM instead of isalnum.
+ (parse_reg): Use TOLOWER instead of tolower.
+ (find_cooked_opcode): Use TOLOWER instead of isupper/tolower.
+ * config/tc-sparc.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (sparc_ip): Use ISLOWER/ISDIGIT instead of islower/isdigit.
+ (parse_keyword_arg): Use ISALNUM instead of isalnum.
+ * config/tc-tahoe.c: Include "safe-ctype.h".
+ (tahoe_reg_parse): Use ISDIGIT instead of isdigit.
+ (tip_op): Use TOLOWER instead of isupper/tolower.
+ * config/tc-tic30.c: Include "safe-ctype.h".
+ (md_begin): Use ISLOWER/ISDIGIT/ISUPPER/TOLOWER/ISLOWER/
+ ISALPHA instead of islower/isdigit/isupper/tolower/islower/isalpha.
+ (tic30_operand): Use TOLOWER instead of tolower.
+ (tic30_find_parallel_insn): Likewise.
+ (output_invalid): Use ISPRINT instead of isprint.
+ * config/tc-tic54x.c: Include "safe-ctype.h".
+ (tic54x_asg, tic54x_eval): Use ISALPHA instead of isalpha.
+ (lookup_version): Use TOUPPER instead of toupper.
+ (tic54x_var): Use ISALPHA instead of isalpha.
+ (tic54x_mlib): Use ISSPACE instead of isspace.
+ (subsym_iscons): Use TOUPPER instead of toupper.
+ (get_operands): Use ISSPACE instead of isspace.
+ (is_type): Use TOUPPER/ISDIGIT instead of toupper/isdigit.
+ (encode_indirect, encode_operand): Use TOUPPER instead of toupper.
+ (next_line_shows_parallel): Use ISSPACE instead of isspace.
+ (subsym_get_arg, subsym_substitute): Use ISDIGIT instead of isdigit.
+ (tic54x_start_line_hook, md_assemble, tic54x_start_label): Use
+ ISSPACE instead of isspace.
+ * config/tc-tic80.c: Include "safe-ctype.h".
+ (md_assemble): Use ISSPACE instead of isspace.
+ * config/tc-v850.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (system_register_name): Use ISDIGIT instead of isdigit.
+ (md_assemble): Use ISSPACE instead of isspace.
+ * config/tc-vax.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (vax_reg_parse): Use TOLOWER/ISDIGIT instead of
+ isupper/tolower/isdigit.
+ (vip_op): Use TOLOWER instead of isupper/tolower.
+ * config/tc-w65.c: Don't include <ctype.h>.
+ * config/tc-z8k.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (tohex): Use ISDIGIT/ISLOWER instead of isdigit/islower.
+ (whatreg): Use ISDIGIT instead of isdigit.
+ * ecoff.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (ecoff_directive_ent, ecoff_stab): Use ISDIGIT instead of isdigit.
+ * expr.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (integer_constant): Use ISALNUM/TOUPPER instead of
+ isalnum/islower/toupper.
+ (operand): Use TOLOWER instead of isupper/tolower.
+ * gasp.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (sb_strtol, level_0, change_base, doinstr): Use ISDIGIT instead
+ of isdigit.
+ (process_assigns, whatcond): Use TOUPPER instead of toupper.
+ (chartype_init): Use ISALPHA/ISDIGIT instead of isalpha/isdigit.
+ (main): For gettext, also set the LC_CTYPE locate facet.
+ * hash.c: Include "safe-ctype.h".
+ (main): Use TOLOWER instead of isupper/tolower.
+ * itbl-lex.l: Don't include <ctype.h>.
+ * listing.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (listing_newline): Use ISCNTRL instead of isascii/iscntrl. Don't
+ omit non-ASCII characters.
+ (debugging_pseudo): Use ISSPACE instead of isspace.
+ * macro.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (buffer_and_nest): Use ISALNUM instead of isalnum.
+ (get_token): Use ISALPHA/ISALNUM instead of isalpha/isalnum.
+ (define_macro): Use ISUPPER/TOLOWER instead of isupper/tolower.
+ (macro_expand_body): Use ISALNUM/ISDIGIT/ISUPPER/ISALPHA
+ instead of isalnum/isdigit/isupper/isalpha.
+ (check_macro): Use ISALPHA/ISALNUM/ISUPPER/TOLOWER instead
+ of isalpha/isalnum/isupper/tolower.
+ * read.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (read_a_source_file): Use ISUPPER/TOLOWER/ISDIGIT instead of
+ isupper/tolower/isdigit.
+ (s_mri_common): Use ISDIGIT instead of isdigit.
+ (s_mri_sect): Use ISDIGIT/TOUPPER instead of isdigit/toupper.
+ (s_float_space): Use ISALPHA instead of isalpha.
+ (ignore_rest_of_line): Use ISPRINT instead of isprint.
+ (float_cons): Use ISALPHA instead of isalpha.
+ (next_char_of_string): Use ISDIGIT/ISXDIGIT instead of
+ isdigit/isxdigit.
+ * symbols.c: Include "safe-ctype.h" instead of <ctype.h>.
+ (save_symbol_name): Use ISLOWER/TOUPPER instead of
+ islower/toupper.
+ (symbol_find_base): Use TOUPPER instead of islower/toupper.
+ (decode_local_label_name): Use ISDIGIT instead of isdigit.
+
+2001-09-18 Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+ * tc-s390.c (s390_insn): Add code to cope with 6 byte O_constants
+ in 64 bit mode and make format "e" work.
+
+2001-09-18 Alan Modra <amodra@bigpond.net.au>
+
+ * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
+
+ * write.c (set_symtab): Update bfd_alloc declaration. Use a temp
+ var to ensure bfd_alloc arg is the right type.
+ (write_object_file): Cast args of bfd_seek. Replace bfd_write with
+ bfd_bwrite.
+
+ * config/obj-coff.c: Replace calls to bfd_write with calls to
+ bfd_bwrite. Cast args of bfd_seek.
+
+ * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned
+ warning.
+
+ * config/tc-mn10300.c (set_arch_mach): Make param unsigned.
+
+ * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with
+ call to bfd_bread.
+
+2001-09-15 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * config/tc-sh.h (sh_force_relocation): Prototype.
+ (struct fix): Forward declare.
+ * config/tc-sh.c (type sh_operand_info): Move to top of file.
+ (cons, s_align_bytes): Remove old-type declarations.
+ (sh_elf_suffix, parse_reg, dot, parse_exp, parse_at, get_operand,
+ get_operands, get_specific, insert, build_relax,
+ insert_loop_bounds, build_Mytes): Prototype.
+ (little): Make static. Prototype.
+ (check, tc_Nout_fix_to_chars): Delete unused functions.
+
+2001-09-14 Eric Christopher <echristo@redhat.com>
+
+ * config/tc-mips.c (md_parse_option): Remove setting mips_64 via
+ -mgp32/mgp64.
+
+2001-09-14 Kevin Lo <kevlo@openbsd.org>
+
+ * configure.in: Add arm-openbsd target.
+ * configure: Regenerate.
+
+2001-09-14 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * configure.in: Change machine triplets from mips-*-linux-gnu* to
+ mips*-*-linux*.
+
+2001-09-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
+
+2001-09-11 Richard Henderson <rth@redhat.com>
+
+ * config/tc-alpha.c (alpha_elf_section_letter): New.
+ (alpha_elf_section_flags): New.
+ * config/tc-alpha.h (md_elf_section_letter): New.
+ (md_elf_section_flags): New.
+ * config/tc-ia64.c (ia64_elf_section_letter): New.
+ * config/tc-ia64.h (md_elf_section_letter): New.
+
+2001-09-11 Jakub Jelinek <jakub@redhat.com>
+
+ * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
+ of 'm', 'S' instead of 's'. Update bad_msg.
+ * config/tc-ppc.c (ppc_section_letter): Update bad_msg.
+ * config/tc-i370.c (i370_sectioN_letter): Update bad_msg.
+
+2001-09-09 Alan Modra <amodra@bigpond.net.au>
+
+ * expr.c (expr): Move code setting "retval" to the end of the loop,
+ and rearrange for efficiency. For "PIC code" subtraction, use
+ "rightseg" rather than recalculating. For "symbol OP symbol"
+ subtract, set "retval" to absolute_section if symbols in same
+ section.
+ * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an
+ O_symbol. Simplify a +/- b code. Allow equality and non-equality
+ comparisons on symbols from any section. Allow other comparison
+ operators as for subtraction.
+ (symbol_equated_reloc_p): New predicate function.
+ * symbols.h (symbol_equated_reloc_p): Declare.
+ * write.c (relax_segment <rs_machine_dependent>): Ensure segment
+ for expression syms is set correctly.
+ (adjust_reloc_syms): Use symbol_equated_reloc_p.
+ (write_relocs): Likewise.
+ (write_object_file): Likewise.
+ * config/tc-mips.c (md_estimate_size_before_relax): Likewise.
+ * config/tc-i386.c (md_assemble <Output jumps>): Don't lose part
+ of a complex expression when setting up frag_var.
+
+2001-09-07 Richard Henderson <rth@redhat.com>
+
+ * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
+ require_seq and allow_seq. Let !literal omit the sequence number.
+ (tokenize_arguments): Reject sequence numbers of !allow_seq.
+
+2001-09-08 Jakub Jelinek <jakub@redhat.com>
+
+ * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
+ section symbols the same way as externs.
+
+2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (s_mipsset): Reallow unrestricted use of .set mipsX
+ pseudo-op.
+
+2001-09-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL.
+ (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded
+ PIC, BFD_RELOC_16_PCREL for the rest.
+ (mips_ip): Likewise.
+ (md_pcrel_from): return the right offset for the differently shifted
+ pcrel relocs.
+ (md_apply_fix): Handle BFD_RELOC_16_PCREL.
+
+2001-09-05 Richard Henderson <rth@redhat.com>
+
+ * config/tc-ia64.c (FUNC_IPLT_RELOC): New.
+ (pseudo_func): Add @iplt.
+ (pseudo_opcode): Add data16 and data16.ua.
+ (md_begin): Set iplt pseudo.
+ (ia64_cons_fix_new): Handle 16 byte iplt reloc specially.
+
+2001-09-04 Richard Henderson <rth@redhat.com>
+
+ * config/tc-alpha.c (struct alpha_insn): Make sequence scalar long.
+ (MACRO_LITERAL, MACRO_BASE, MACRO_BYTOFF, MACRO_JSR): Remove.
+ (alpha_macros): Remove occurrences of same.
+ (O_lituse_addr, O_gprel): New.
+ (DUMMY_RELOC_LITUSE_*): New.
+ (s_alpha_ucons, s_alpha_arch): Prototype.
+ (alpha_reloc_op): Construct elements via DEF macro.
+ (ALPHA_RELOC_SEQUENCE_OK): Remove.
+ (struct alpha_reloc_tag): Rename from alpha_literal_tag; rename
+ members to not be literal specific.
+ (next_sequence_num): New.
+ (md_apply_fix3): Cope with missing GPDISP_LO16. Adjust for
+ added/removed BFD relocations.
+ (alpha_force_relocation, alpha_fix_adjustable): Likewise.
+ (alpha_adjust_symtab_relocs): Handle GPDISP relocs as well.
+ (tokenize_arguments): Parse ! relocations properly.
+ (find_macro_match): Delete unused macro argument types.
+ (assemble_insn): Add reloc parameter; emit that instead of the
+ default as appropriate.
+ (get_alpha_reloc_tag): New. Split from ...
+ (emit_insn): ... here. Allocate a reloc tag for GPDISP.
+ (assemble_tokens): Don't search macros if user relocation present.
+ Copy reloc sequence number to insn struct.
+ (emit_ldgp): Remove user reloc handling.
+ (load_expression, emit_lda, emit_ldah, emit_ir_load): Likewise.
+ (emit_loadstore, emit_ldXu, emit_ldil, emit_stX): Likewise.
+ (emit_sextX, emit_division, emit_jsrjmp, emit_retjcr): Likewise.
+ * config/tc-alpha.h (tc_adjust_symtab): Always define.
+ (struct alpha_fix_tag): Name members less literal specific.
+
+Tue Sep 4 20:01:19 2001 Jeffrey A Law (law@cygnus.com)
+
+ * tc-h8300.c (tc_gen_reloc): Give an error if we try to take the
+ address of two symbols in different sections.
+
+2001-08-31 Eric Christopher <echristo@redhat.com>
+ Jason Eckhardt <jle@redhat.com>
+
+ * config/tc-mips.c (mips_cpu_info): Add support for mipsisa32,
+ 5kc, and 20kc. Clean up old entries.
+
Fri Aug 31 12:05:13 2001 J"orn Rennecke <amylaar@redhat.com>
Jeff Law <law@redhat.com>
+ * config/tc-h8300.c (build_bytes): For OBJ_ELF, make relocation's
+ offset match H8 ELF spec.
+ (md_section_align): Alternate implementation for BFD_ASSEMBLER.
+ (md_apply_fix): Fix argument and return types for BFD_ASSEMBLER.
+
* tc-h8300.c (relocation mappings): Remove. Moved to tc-h8300.h.
(build_bytes): Mark fixups for PCrel branches as signed. For
OBJ_ELF, make sure the reloc's offset points to the first byte
Wed Aug 29 12:49:58 2001 Jeffrey A Law (law@cygnus.com)
- * config/tc-h8300.c (h8300hmode): Record the machine type
+ * config/tc-h8300.c (h8300hmode): Record the machine type
if BFD_ASSEMBLER is defined.
(h8300smode, md_begin): Similarly.
2001-08-29 Joel Sherrill <joel@OARcorp.com>
- * configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change
+ * configure.in (i[3456]86-*-rtems*, m68*-*-rtems*): Change
default from coff to elf.
* configure: Regenerate.
2001-08-27 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
- * tc_mips.c (load_address): Reflect change to MAX_GPREL_OFFSET.
+ * config/tc-mips.c (load_address): Reflect change to MAX_GPREL_OFFSET.
(macro): Reflect change to MAX_GPREL_OFFSET.
2001-08-27 Torbjorn Granlund <tege@swox.com>
2001-08-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
- * tc_mips.h (MAX_GPREL_OFFSET): Change it to the maximum allowed
- value, not the word beyond maximum.
- * tc_mips.c (macro_build_lui): Code cleanup.
+ * config/tc-mips.h (MAX_GPREL_OFFSET): Change it to the maximum
+ allowed value, not the word beyond maximum.
+ * config/tc-mips.c (macro_build_lui): Code cleanup.
(macro): Reflect change to MAX_GPREL_OFFSET.
(mips_ip): Check explicitly against S_EX_NONE.
(my_get_SmallExpression): parse for %gp_rel, not %gprel.
2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
- * tc_mips.c (md_begin): Warn about incompatibility between -march=FOO
- and -mipsN option, continue with default ISA.
+ * config/tc-mips.c (md_begin): Warn about incompatibility between
+ -march=FOO and -mipsN option, continue with default ISA.
2001-08-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2001-08-14 Jeff Johnston <jjohnstn@redhat.com>
- * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
- a label, not a hex constant.
+ * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
+ a label, not a hex constant.
2001-08-13 Nick Clifton <nickc@cambridge.redhat.com>
2001-08-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
- * tc-mips.c (macro_build): Replace magic constants by defines.
+ * config/tc-mips.c (macro_build): Replace magic constants by defines.
(mips_ip): Likewise. Typo.
2001-08-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
- * tc-mips.c (mips_abi_string): Initialize with NULL instead of 0.
+ * config/tc-mips.c (mips_abi_string): Initialize with NULL instead
+ of 0.
(RELAX_ENCODE): Replace bfd_vma by valueT.
(load_address): Formatting.
(macro): Likewise. Code cleanup. Typo.