* config/tc-hppa.h (elf_hppa_final_processing): Declare.
[binutils-gdb.git] / gas / ChangeLog
index 4aac56ee47b6c4ddef97a1e21d7eb90ec36e87e7..2bf3807df3f9810e329d175dc38218850fb6b0c0 100644 (file)
@@ -1,3 +1,146 @@
+Fri Jun 17 11:01:04 1994  Jeff Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.h (elf_hppa_final_processing): Declare.
+
+Wed Jun 15 20:44:46 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * as.c (parse_args): Cast xmalloc return value.
+
+       * Makefile.in (config-stamp): If $(defs) contains multiple words,
+       emit a #define line for each.
+       * configure.in: For sparc64 target, use sparc cpu files and add
+       sparcv9 to extra_defs.  No longer treat sparc64-*-aout* specially.
+
+       * config/tc-sparc.c (membar_masks): Now static and const.
+       (md_show_usage) [!NO_V9]: Add -Av9 to usage message.
+       (current_architecture) [sparcv9]: Initialize to v9.
+       (md_begin) [sparcv9]: Don't bother changing it unconditionally
+       here.
+       (s_reserve): Don't pass unexpected argument to as_bad with
+       bad-segment message.
+
+       * as.h (bfd_alloc_by_size_t) [BFD_ASSEMBLER]: Declare.
+
+       * config/atof-ieee.c (int_to_gen): Commented out unused routine.
+
+       * config/tc-vax.c (md_assemble): Removed check of operand section.
+
+       Fri Jun  3 17:25:08 1994  Pat Rankin  (rankin@eql.caltech.edu)
+
+       * config/obj-vms.h (DBG_S_C_COMPLX4, DBG_S_C_COMPLX8): define
+       these new VMS symbol-type macros for `complex float' and
+       `complex double' support.  Their values come from the existing
+       DSC$K_DTYPE_FC and DSC$K_DTYPE_DC macros in <descrip.h>.
+       (DBG_S_C_REAL8_G, DBG_S_C_COMPLX8_G): G_float versions of
+       REAL8 and COMPLX8; not used yet, because gcc outputs the same
+       .stabs for `double' regardless of whether `-mg' is used.
+       config/obj-vms.c (VMS_typedef_parse) [case 'r']: add entries
+       for gcc2's predefined types "complex float", "complex double",
+       and "complex long double" (identical to complex double).
+
+Wed Jun 15 12:32:55 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/obj-coff.c (coff_frob_symbol): Use C_STAT for the .text
+       section symbol, not C_LABEL.
+
+       * config/tc-mips.c (mips_ip): Permit a modifier in 'o' case, and
+       permit non constant expressions in 'u' case.  Lets ``lui
+       $8,%hi(foo); lw $8,%lo(foo)($8)'' work correctly.
+
+Mon Jun 13 12:08:52 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/obj-aout.c (obj_aout_frob_symbol): Warn about an attempt
+       to put a common symbol in a set.
+
+Sat Jun 11 16:41:21 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       Add weak symbols as an extension to a.out.
+       * read.c (pseudo_set): Only preserve external bit for OBJ_AOUT and
+       OBJ_BOUT if not BFD_ASSEMBLER.
+       * config/aout_gnu.h (N_WEAKU, N_WEAKA, N_WEAKT, N_WEAKD, N_WEAKB):
+       Define as in ../include/aout/aout64.h.
+       * config/obj-aout.h (OBJ_SYMFIELD_TYPE): If not BFD_ASSEMBLER,
+       define as char.
+       (S_GET_WEAK, S_SET_WEAK): Define if not BFD_ASSEMBLER.
+       * config/obj-aout.c (obj_pseudo_table): Add "weak".
+       (obj_emit_symbols): Adjust type of weak symbols.
+       (obj_aout_weak): New static function.
+
+Fri Jun 10 13:48:49 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/obj-elf.c (obj_elf_section): Don't set any flags based on
+       the type of a special section.
+
+       * config/ho-sunos.h: Include <stdlib.h>.  Don't declare malloc,
+       realloc, free, or atol.
+
+Wed Jun  8 06:28:37 1994  Bill Cox  (bill@cygnus.com)
+
+       * Makefile.in (check): Delete as.new dependency, so that
+       regression test doesn't trigger an assembler build.
+
+Tue Jun  7 13:33:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * Makefile.in (mostlyclean, realclean): New targets.
+       * doc/Makefile.in, testsuite/Makefile.in: Likewise.
+
+Mon Jun  6 13:10:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/tc-mips.c (RDATA_SECTION_NAME): Define.
+       (macro): Correct M_LI_SS SVR4_PIC/EMBEDDED_PIC case.  After M_LI_D
+       or M_L_DOB or label dob, force a new frag to avoid getting
+       confused in tc_gen_reloc.
+       (mips_ip): Use RDATA_SECTION_NAME, not .rdata.
+       (s_change_sec): Likewise.
+
+Fri Jun  3 23:35:36 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * read.c (emit_expr): Use memset to zero out memory, rather than
+       going through md_number_to_chars.  This permits handling symbolic
+       arguments when the size is larger than sizeof (valueT), if
+       TC_CONS_FIX_NEW is prepared to handle the case (as it is on MIPS).
+
+Fri Jun  3 12:50:13 1994  David J. MacKenzie  (djm@rtl.cygnus.com)
+
+       * as.c (show_usage), config/tc-alpha.c (md_show_usage),
+       config/tc-mips.c (md_show_usage): Fix up messages.
+
+       * as.h: Replace flagseen with separate variables.
+       * as.c (parse_args): Set them.  Don't accept -1 option, or -v
+       explicitly (it's a synonym for --version).
+       * as.c, input-scrub.c, messages.c, read.c, symbols.c, write.c, 
+       config/obj-aout.c, config/obj-aout.h, config/obj-bout.c,
+       config/obj-bout.h, config/obj-coff.c, config/obj-coff.h,
+       config/obj-vms.c, config/tc-hppa.c, config/tc-i386.c,
+       config/tc-i960.c, config/tc-m68k.c, config/tc-mips.c,
+       config/tc-vax.c: Use the new flag variables instead of flagseen.
+       * config/tc-vax.c [OBJ_VMS]: Recognize -+, -1, -v, and document in
+       usage. 
+
+       * as.c (show_usage): Remove target specific messages;
+       instead, call md_show_usage.
+       (parse_args): Use getopt_long_only.  Take pointers to argc and
+       argv.
+       (main): Pass parse_args pointers.
+       * as.h: Remove 3 variables that are redundant with flagseen.
+       * as.c, messages.c: Change their users to use flagseen.
+       Define getopt stuff.
+       * tc.h: Update md_parse_option decl.  Add md_show_usage decl.
+       * config/tc-*.c: Add md_shortopts, md_longopts,
+       md_longopts_size, md_show_usage.  Change calling convention for
+       md_parse_option.  Remove md_parse_long_option.
+       * config/tc-ns32k.c: Rename `struct option' to `struct ns32k_option'.
+       * config/tc-i386.h: Don't define md_parse_option.
+
+Thu Jun  2 13:54:46 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
+
+       * as.c (show_usage): New function.
+       (parse_args): Code moved from main.
+       Recognize --help and --version.
+       * config/tc-ns32k.h: Define TC_NS32K.
+       * doc/as.texinfo: Document all of the target-independent command
+       line options.
+
 Thu Jun  2 12:07:25 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
 
        * gasp.c (hash_new_table): Clear newly allocated table.
@@ -1700,6 +1843,8 @@ Tue Jan 11 21:52:36 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
 
 Tue Jan 11 17:01:06 1994  Doug Evans  (dje@canuck.cygnus.com)
 
+       * config/tc-sparc.c (sparc_ip): Truncate args to %hi/%lo to 32 bits.
+
        * expr.c (integer_constant): Fix computation of too_many_digits.
        Variable digit_2 renamed to start.  Fix check for whether number
        will fit in 32 bits.
@@ -2527,6 +2672,8 @@ Wed Nov  3 12:16:27 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
 
 Tue Nov  2 18:04:11 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
+       * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
+
        * read.c (s_lcomm): Put small objects in .sbss for MIPS ELF as
        well as MIPS ECOFF.
        (get_stab_string_offset): Remove unused variable aligned.
@@ -2873,12 +3020,16 @@ Tue Oct 26 10:24:31 1993  Ken Raeburn  (raeburn@cygnus.com)
        * config/tc-hppa.c (tc_gen_reloc): ELF32_HPPA_R_ADDEND ->
        HPPA_R_ADDEND.
 
+Mon Oct 25 14:06:17 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/tc-sparc.c (sparc_ip): Fix up membar argument handling.
+
 Mon Oct 25 11:17:58 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
 
        * config/tc-sh.c (build_Mbytes): Write the relocs to the correct
        address. (md_assemble): Make error handling a bit more graceful.
        (md_apply_fix):  Don't warn on non aligned displacement.
-       
+
        * config/tc-z8k.c (get_specific, built_bytes):  Understand all the
        aspects of lda.
 
@@ -3025,6 +3176,12 @@ Thu Oct 21 15:44:55 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
        * config/tc-sparc.c (md_parse_option): Accept and ignore -sparc
        option, which is used by the SunOS make default .s.o rule.
 
+Wed Oct 20 12:26:33 1993  Ken Raeburn  (raeburn@rover.cygnus.com)
+
+       * config/tc-sparc.c (sparc_ip, label "immediate"): Convert relocs
+       operating on upper 32 bits of immediate constants to lower-half
+       relocs with adjusted constants.
+
 Tue Oct 19 18:13:26 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * config/tc-m68k.h (AOUT_MACHTYPE): Define to be external variable
@@ -3630,6 +3787,9 @@ Tue Sep  7 10:22:52 1993  Stan Shebs  (shebs@rtl.cygnus.com)
 
 Fri Sep  3 16:44:03 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
 
+       * config/obj-elf.h (elf_symbol): No longer special-cased on
+       sparcv9, since elf_symbol_type is now independent of size.
+
        * config/obj-elf.h (elf_symbol): Fixed name of elf_symbol_type.
 
        * config/tc-hppa.h (struct default_subspace_dict, struct
@@ -3961,6 +4121,10 @@ Fri Aug  6 10:57:59 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
 Thu Aug  5 13:08:56 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
 
+       * config/tc-sparc.c (md_apply_fix, case BFD_RELOC_64): Fill in
+       bytes with real values, not zeros.
+       (md_pseudo_table): Call cons for .uaxword.
+
        * config/obj-elf.c (obj_pseudo_table): Handle ".8byte".
 
        * read.c (emit_expr): Use BFD_RELOC_64 for 8-byte expressions.
@@ -4002,6 +4166,12 @@ Mon Aug  2 17:35:48 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
        * app.c (do_scrub_next_char): Reset state to 0 after .appline if
        file name is not seen.
 
+Mon Aug  2 11:51:41 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * config/tc-sparc.c (md_apply_fix, case BFD_RELOC_64): New case,
+       parallel to BFD_RELOC_32.
+       (tc_gen_reloc): Accept BFD_RELOC_64.
+
 Thu Jul 29 22:21:28 1993  Ian Lance Taylor  (ian@cygnus.com)
 
        * write.c: Don't use short int in a prototype.
@@ -4393,6 +4563,8 @@ Wed Jul 14 15:09:32 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
 Wed Jul 14 09:35:23 1993  Doug Evans  (dje@canuck.cygnus.com)
 
+       * configure.in: Make sparc64-*-aout* use bfd gas.
+
        * configure.in: Recognize h8300h.
 
 Tue Jul 13 12:09:44 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
@@ -4467,6 +4639,15 @@ Wed Jul  7 10:21:24 1993  Ian Lance Taylor  (ian@cygnus.com)
 
 Wed Jul  7 08:33:30 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
 
+       * config/tc-sparc.h (ENV64): Define for v9.
+
+       * config/tc-sparc.c (s_xword): For numbers, call big_cons.
+       (sparc_ip, md_apply_fix, tc_gen_reloc): Handle some sparc64
+       relocation types.
+       (md_number_to_chars): Handle 8-byte value.
+
+       * config/obj-elf.h (elf_symbol): For v9, use 64-bit symbol type.
+
        * as.h (valueT): Typedef moved here.
        * struc-symbol.h (valueT): ...from here.
        * write.c (write_object_file): Locals from_addr, to_addr,
@@ -4553,6 +4734,15 @@ Wed Jun 30 11:12:02 1993  Ian Lance Taylor  (ian@cygnus.com)
 
 Wed Jun 30 06:21:27 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
 
+       * config/tc-sparc.c (md_begin): If sparcv9 is defined, reset
+       current_architecture to v9 automatically.
+
+       * config/tc-sparc.h (TARGET_FORMAT): Use elf64-sparc for v9.
+
+       * config/tc-sparc64.h, config/tc-sparc64.c: New files.
+       * configure.in: Use sparc64 cpu files for v9, and default to elf
+       format.
+
        * write.c (relax_and_size_seg): Always fully process a section.
        Section size is last frag's (vm)address plus its size.  If no
        relocations are present, force SEC_RELOC flag clear.
@@ -4577,6 +4767,12 @@ Fri Jun 25 14:42:53 1993  K. Richard Pixley  (rich@sendai.cygnus.com)
          echo recursion lines.
          (install-info, clean-info): collapse into the dvi and info rule.
 
+Fri Jun 25 10:47:24 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * config/tc-sparc.c (sparc_ip): Remove support for %d/%q fp regs.
+       All fp regs are now specified as %f.
+       (priv_reg_table): fpq -> fq.
+
 Fri Jun 25 03:43:06 1993  Ken Raeburn  (raeburn@poseidon.cygnus.com)
 
        * as.h (strstr): Disable declaration for now.
@@ -4715,6 +4911,11 @@ Mon Jun  7 13:33:19 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
 
        * config/tc-vax.h (NO_RELOC): Define.
 
+Mon Jun  7 09:55:03 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * config/tc-sparc.c (sparc_ip): Fix parsing of asi number.
+       Fix error message.
+
 Sat Jun  5 19:32:52 1993  Torbjorn Granlund  (tege@nada.kth.se)
 
        * gas/config/m88k-opcode.h (m88k_opcodes): Add 88110 instructions.
@@ -5483,6 +5684,12 @@ Mon Mar 22 23:59:13 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
 
        * Makefile.in: add installcheck target
 
+Mon Mar 22 16:25:57 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
+
+       * config/tc-sparc.c (sparc_ip): Add support for membar mask names.
+       Add missing colons in prefetch error messages.  Add support for
+       ASI names.
+
 Mon Mar 22 10:19:00 1993  Ian Lance Taylor  (ian@cygnus.com)
 
        * config/tc-mips.c (macro): Use $AT for any floating point load.
@@ -5680,8 +5887,17 @@ Tue Mar  2 00:50:43 1993  John Gilmore  (gnu@cygnus.com)
 
        * CONTRIBUTORS:  Update Gilmore entry.
 
+Mon Mar  1 12:03:16 1993  Jim Wilson  (wilson@sphagnum.cygnus.com)
+
+       * config/tc-sparc.c (sparc_ip):  Correctly assemble prefetch
+       instructions.  Accept integer prefetch function numbers.
+
 Wed Feb 24 14:58:19 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
 
+       * config/tc-sparc.c (s_xword): Now call big_cons, so large
+       constants are accepted, but symbolic values are not.  GCC will not
+       generate the latter currently.
+
        * frags.c (frag_init): New function.
        (zero_address_frag, bss_address_frag): Now initialized at run
        time.
@@ -5930,6 +6146,11 @@ Wed Jan 20 17:11:53 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
 
 Fri Jan  8 05:44:49 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
 
+       * config/tc-sparc.c (sparc_ip): For %uhi and %ulo, if not
+       ENV64, emit no reloc.
+       (md_pseudo_table): For ".xword", call s_xword.
+       (s_xword): New function.
+
        * config/tc-sparc.c (architecture_requested, warn_on_bump,
        md_relax_table): Use default zero initialization.
        (s_reserve): Since SEG_E2 is equivalent to SEG_BSS, just use the