* coffdump.c (PROGRAM_VERSION): Delete.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index bb0677a15030bb756163da9f12e4fa39810f0b93..52da47a6da56f1264e1fd0692574c4c32120cb1c 100644 (file)
@@ -1,3 +1,334 @@
+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.
This page took 0.038376 seconds and 4 git commands to generate.