Add missing prototypes
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 7c8fe1c31e17bf49349e7d494df2db205ab16d50..b8e88f8251ba3ec0d9b5635edd23c0e664195ece 100644 (file)
@@ -1,3 +1,298 @@
+2001-08-13  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-v850.h: Add missing prototypes.
+
+2001-08-12  Martin Schwidefsky  <schwidefsky@de.ibm.com>
+
+       * config/tc-s390.c (s390_elf_cons): Correct fixups for PLT
+       relocations.
+
+2001-08-12  TAKAI Kousuke  <takai@vlsi.kuee.kyoto-u.ac.jp>
+
+       * config/tc-sparc.c (cons_fix_new_sparc): Move
+       `sparc_no_align_cons = 0;' to...
+       (s_uacons): ...here so that sparc_no_align_cons will get
+       cleared properly.
+
+2001-08-11  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-mips.c: Fix a comment typo.
+
+2001-08-10  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-mips.c (move_register): New function.
+       (macro_build): Remove OPCODE_IS_MEMBER's gp32 argument.
+       (mips_ip): Likewise.
+       (macro2): Use move_register rather than macro_build for moves.
+       (mips16_macro): Likewise.
+       (macro): Likewise.  Handle M_MOVE.
+
+2001-08-10  Andreas Jaeger  <aj@suse.de>
+
+       * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes
+       to build warnings.
+       * configure: Regenerate.
+
+2001-08-10  Alan Modra  <amodra@bigpond.net.au>
+
+       * as.h (alloca): Don't declare if __GNUC__.  Remove an old comment.
+       Comment indentation of #pragma.
+       * macro.c (alloca): Likewise.
+
+       * config/tc-ppc.c: Revert 2001-08-08.
+
+2001-08-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * symbols.c: Add missing prototypes.
+       * config/e-i386elf.c: Likewise.
+       * config/e-i386coff.c: Likewise.
+       * config/e-i386aout.c: Likewise.
+       * config/obj-coff.c: Likewise.
+       (def_symbol_in_progress, stack): Move definition.
+       * config/obj-elf.c: Add missing prototypes.
+       (obj_elf_change_section): Make static.
+       (obj_elf_parse_section_letters): Likewise.
+       (obj_elf_section_word): Likewise.
+       (obj_elf_section_type): Likewise.
+
+2001-08-08  Alan Modra  <amodra@bigpond.net.au>
+
+       From 1999-10-25  Torbjorn Granlund  <tege@swox.com>
+       * config/tc-ppc.c (md_apply_fix3): Replace haphazard code for
+       determining reloc type with code reading operands->reloc field.
+
+2001-08-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/obj-elf.c (elf_copy_symbol_attributes): Make it a global
+       function, and expand old obj-elf.h OBJ_COPY_SYMBOL_ATTRIBUTES here.
+       * config/obj-elf.h (elf_copy_symbol_attributes): Declare.
+       (OBJ_COPY_SYMBOL_ATTRIBUTES): Call elf_copy_symbol_attributes.
+
+       * output-file.c (output_file_create): Don't try to open a second
+       time as it's unnecessary.  FOPEN_W was undefined too.
+
+2001-08-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * 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.
+       (RELAX_ENCODE): Replace bfd_vma by valueT.
+       (load_address): Formatting.
+       (macro): Likewise. Code cleanup. Typo.
+       (macro2): Formatting.
+       (md_parse_option): Typo.
+       (s_mipsset): Reorder cases to look nicer.
+       (md_estimate_size_before_relax): Formatting. Code cleanup.
+       (mips_elf_final_processing): Check against NULL instead of 0.
+       (md_obj_end): Remove ugly `' in message string.
+       (s_mips_ent): Remove ugly `' in message string.
+
+2001-07-30  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (md_begin): Take -mcpu value into account even when
+       -mipsX is specified. Make both -mcpu/-march and -mcpu/-mtune pairs
+       mutually exclusive (if they are different).
+       (md_parse_option): Warn if an -march/-mtune/-mcpu/-m<cpu> option is
+       set more than once.
+
+2001-08-03  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-mips.c (md_apply_fix): Don't subtract the symbol value
+       from GPREL addends.
+
+2001-08-02  Richard Sandiford  <rsandifo@redhat.com>
+
+       * doc/c-mips.tex (-mgp32, -mfp32): Added -mfp32, unified with -mgp32.
+       * config/tc-mips.c (mips_fp32, mips_32bit_abi): New static variables.
+       (md_long_opts): Add -mfp32 option.
+       (md_parse_option): Handle it.  Set mips_32bit_abi given -mabi=32.
+       (md_show_usage): Show usage for -mfp32 and -mgp32.
+       (HAVE_32BIT_GPRS, HAVE_32BIT_FPRS): New macros.
+       (HAVE_64BIT_GPRS, HAVE_64BIT_FPRS): New macros, inverse of the above.
+       (HAVE_32BIT_ADDRESSES): New macro.
+       (load_register): Use HAVE_32BIT_GPRS to determine the register width.
+       (load_address): Use HAVE_32BIT_ADDRESSES to determine the address size.
+       (s_cprestore, s_cpadd): Likewise.
+       (macro): Use HAVE_32BIT_GPRS to determine the width of registers
+       used in branch and M_LI_D macros.  Use HAVE_64BIT_FPRS to determine
+       the width registers used in M_LI_DD macros.  Use HAVE_32BIT_ADDRESSES
+       to determine the width of addresses in load, store and jump macros.
+       (macro2): Use HAVE_32BIT_GPRS to determine the width of registers
+       used in set instructions; do not check the address size for them.
+       Use HAVE_32BIT_ADDRESSES to determine the width of addresses in
+       unaligned load and store macros.
+       (mips_ip): Use the new macros to check the width of a register when
+       processing float constants.  Force a constant into memory if it is
+       destined for an FPR and the FPRs are wider than the GPRs.  Warn about
+       odd FPR numbers if HAVE_32BIT_FPRS.  Use HAVE_32BIT_GPRS rather
+       than mips_gp32 to select synthetic instructions.
+       (macro_build): Use HAVE_32BIT_GPRS rather than mips_gp32 to select
+       synthetic instructions.
+
+2001-08-01  Christian Groessler <cpg@aladdin.de>
+
+       * config/tc-z8k.c (parse_reg): If a string starts with "r", "rl",
+       "rh", "rr", "rq", or "sp" then don't automatically assume
+       it's a register name.  Check whether there is a number
+       following.
+
+2001-08-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-i386.c (lex_got): Match lower case relocation tokens.
+       Don't allocate more space than necessary for the input line copy.
+
+2001-08-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * read.c: Standardize error/warning messages - don't capitalise, no
+       final period or newline, don't say "ignored" or "zero assumed" for
+       as_bad messages.  In some cases, change the wording to that used
+       elsewhere for similar messages.
+       * app.c: Likewise.
+       * as.c: Likewise.
+       * atof-generic.c: Likewise.
+       * cgen.c: Likewise.
+       * cond.c: Likewise.
+       * depend.c: Likewise.
+       * dwarf2dbg.c: Likewise.
+       * ecoff.c: Likewise.
+       * expr.c: Likewise.
+       * frags.c: Likewise.
+       * input-file.c: Likewise.
+       * input-scrub.c: Likewise.
+       * listing.c: Likewise.
+       * output-file.c: Likewise.
+       * stabs.c: Likewise.
+       * subsegs.c: Likewise.
+       * symbols.c: Likewise.
+       * write.c: Likewise.
+       * ecoff.c (ecoff_directive_end): Test for missing name by
+       comparing input line pointers rather than reading string.
+       (ecoff_directive_ent): Likewise.
+       * read.c (s_set): Likewise.
+       (s_align): Report a warning rather than an error for
+       alignment too large.
+       (s_comm): Check for missing symbol name.
+       (s_lcomm_internal): Likewise.
+       (s_lsym): Likewise.
+       (s_globl): Use is_end_of_line instead of looking for '\n'.
+       (s_lcomm_internal): Likewise.
+       (ignore_rest_of_line): Report a warning rather than an error.
+
+2001-07-31  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
+       any kind of relocation against a not-loaded section.
+
+2001-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
+       to include '@' in symbol names when parsing versioned symbols
+       rather than calling get_symbol_end multiple times.
+       * config/tc-i370.c (register_name): Format fixes.  Don't call
+       get_symbol_end after parsing number.
+       * config/tc-mn10200.c (data_register_name): Format fixes.  Hoist
+       code out of conditional.
+       (address_register_name): Likewise.
+       (other_register_name): Likewise.
+       * config/tc-mn10300.c (r_register_name): Likewise.
+       (xr_register_name): Likewise.
+       (data_register_name): Likewise.
+       (address_register_name): Likewise.
+       (other_register_name): Likewise.
+       * config/tc-ppc.c (register_name): Likewise.
+       * config/tc-s390.c (register_name): Likewise.
+
+2001-07-27  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
+       and bra relax: update fragP->fr_fix after the fixup.
+
+2001-07-27  Tracy Kuhrt  <Tracy.Kuhrt@microchip.com>
+
+       * read.c (s_set): Check for missing symbol name.
+
+2001-07-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (relax_segment <rs_space>): Account for fr_fix.
+
+2001-07-25  H.J. Lu  <hjl@gnu.org>
+
+       * config/tc-mips.c (md_estimate_size_before_relax): Make sure
+       we treat weak like extern only for ELF.
+       (mips_fix_adjustable): Make sure we don't adjust extern/weak
+       symbols only for ELF.
+
+2001-07-25  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c: Fix spelling error in comment.
+
+2001-07-25  Dave Brolley  <brolley@redhat.com>
+
+       * app.c (LEX_IS_PARALLEL_SEPARATOR): New macro.
+       (IS_PARALLEL_SEPARATOR): New macro.
+       (do_scrub_begin): Set up characters in tc_parallel_separator_chars
+       as LEX_IS_PARALLEL_SEPARATOR, if it is defined.
+       (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like
+       LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has
+       been seen).
+
+2001-07-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.
+       (DEP1, DEPTC, DEPOBJ, DEP2): Use it.
+       Update dependencies with "make dep-am".
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2001-07-23  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-alpha.h: Fix formatting.
+       * config/tc-arc.c: Likewise.
+       * config/tc-d10v.h: Likewise.
+       * config/tc-hppa.c: Likewise.
+       * config/tc-i370.c: Likewise.
+       * config/tc-i386.h: Likewise.
+       * config/tc-i960.h: Likewise.
+       * config/tc-ia64.c: Likewise.
+       * config/tc-ia64.h: Likewise.
+       * config/tc-m32r.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-m88k.c: Likewise.
+       * config/tc-ns32k.c: Likewise.
+       * config/tc-pdp11.c: Likewise.
+       * config/tc-pj.h: Likewise.
+       * config/tc-s390.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+       * config/tc-sparc.h: Likewise.
+       * config/tc-tic80.c: Likewise.
+       * config/tc-w65.h: Likewise.
+
+2001-07-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * symbols.c (S_GET_VALUE): Don't treat O_constant and local
+       symbols specially.  Always resolve, adding fr_address to value.
+       * write.c (write_object_file): Don't add fr_address to sym values.
+       (relax_frag): Likewise.
+       (relax_segment): Likewise.
+       * config/obj-ieee.c (do_symbols): Likewise.
+       * config/tc-cris.c (md_convert_frag): Likewise.
+       * config/tc-fr30.c (md_convert_frag): Likewise.
+       * config/tc-i386.c (md_convert_frag): Likewise.
+       * config/tc-m32r.c (md_convert_frag): Likewise.
+       * config/tc-m68hc11.c (md_convert_frag): Likewise.
+       * config/tc-mcore.c (md_convert_frag): Likewise.
+       * config/tc-mips.c (mips16_extended_frag): Likewise.
+       * config/tc-ns32k.c (md_convert_frag): Likewise.
+       * config/tc-m68k.c (md_convert_frag_1): Likewise.
+       (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
+       DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
+       (md_relax_table): Remove first four entries.  Format.
+       (md_estimate_size_before_relax): Remove old_fix.  Don't bother
+       setting fr_var.  Simplify byte branch checks.
+
 2001-07-23  Alan Modra  <amodra@bigpond.net.au>
 
        * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
        * configure.in (i386-*-netbsdelf*): New target.
        * configure: Regenerate.
 
-2001-07-11  Jakub Jelinek  <jakub@redhat.com>
-
-       * testsuite/gas/sparc/unalign.s: Remove .uaxword test.
-       * testsuite/gas/sparc/unalign.d: Adjust accordingly.
-
 2001-07-10  Mark Elbrecht  <snowball3@softhome.net>
 
        * config/obj-coff.c (coff_frob_symbol): Don't merge if the storage
        fscan->fx_frag.
 
        * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1.
-        (write_object_file): Set finalize_syms to
-        TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
-        called.
+       (write_object_file): Set finalize_syms to
+       TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
+       called.
 
-        * doc/internals.texi; Document
+       * doc/internals.texi; Document
        TC_FINALIZE_SYMS_BEFORE_SIZE_SEG.
 
 2001-07-02  Alan Modra  <amodra@bigpond.net.au>
 
 2001-06-18  H.J. Lu <hjl@gnu.org>
 
-        * doc/Makefile.am (info): Depend on $(MANS).
-        (as.1): Remove the prefix `$(srcdir)/'.
-        * doc/Makefile.in: Regenerated.
+       * doc/Makefile.am (info): Depend on $(MANS).
+       (as.1): Remove the prefix `$(srcdir)/'.
+       * doc/Makefile.in: Regenerated.
 
-        * as.1: Removed.
+       * as.1: Removed.
 
 2001-06-18  Philip Blundell  <philb@gnu.org>
 
 
 2001-06-12  Peter Jakubek <pjak@snafu.de>
 
-       * gas/config/tc-m68k.c (parse_mri_control_operand): Fix handling
-        of AND/OR.
-        (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
-        (reverse_mri_condition): Likewise.
-        (swap_mri_condition): Issue warning for conditions that can not be
-        swapped.
-        (build_mri_control_operand): Fix order of operands (swapped).
-        (build_mri_control_operand): Allow upper case extension in structured
-        control directives.
-        (s_mri_else): Likewise.
-        (s_mri_next): Likewise.
-        (s_mri_for): Likewise.
-        (s_mri_if): Fix handling comment ('*') in mri mode.
-        (s_mri_while): Likewise.
-        * gas/macro.c (macro_expand): Allow macro invocation with empty
-        extension.
+       * config/tc-m68k.c (parse_mri_control_operand): Fix handling
+       of AND/OR.
+       (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
+       (reverse_mri_condition): Likewise.
+       (swap_mri_condition): Issue warning for conditions that can not be
+       swapped.
+       (build_mri_control_operand): Fix order of operands (swapped).
+       (build_mri_control_operand): Allow upper case extension in structured
+       control directives.
+       (s_mri_else): Likewise.
+       (s_mri_next): Likewise.
+       (s_mri_for): Likewise.
+       (s_mri_if): Fix handling comment ('*') in mri mode.
+       (s_mri_while): Likewise.
+       macro.c (macro_expand): Allow macro invocation with empty
+       extension.
 
 2001-06-12  Nick Clifton  <nickc@cambridge.redhat.com>
 
 
 2001-06-06  Peter Jakubek <pjak@snafu.de>
 
-       * gas/config/tc-m68k.c (md_show_usage): Add all supported ColdFire
+       * config/tc-m68k.c (md_show_usage): Add all supported ColdFire
        options to list (e.g. m5206e, m5307, m5407).
 
 2001-06-06  Martin Schwidefsky <schwidefsky@de.ibm.com>
@@ -2535,9 +2825,9 @@ Mon Dec 11 14:35:42 MET 2000  Jan hubicka  <jh@suse.cz>
 
 2000-11-07  Peter Targett  <peter.targett@arccores.com>
 
-       * gas/config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
+       * config/tc-arc.h: Avoid warnings for LITTLE_ENDIAN and
        BIG_ENDIAN macros.
-       * gas/config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
+       * config/tc-arc.c: Use S_IS_LOCAL to test local symbols.
        Fix compile time warning messages.
 
 2000-11-07  Nick Clifton  <nickc@redhat.com>
@@ -4719,7 +5009,7 @@ Thu May 18 10:52:14 2000  Jeffrey A Law  (law@cygnus.com)
 
 2000-05-03  Mark Elbrecht  <snowball3@bigfoot.com>
 
-       * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
+       * config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
        for the .bss section too.
 
 2000-05-02  Alan Modra  <alan@linuxcare.com.au>
This page took 0.029039 seconds and 4 git commands to generate.