X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2FChangeLog;h=2aba9617ae446e5c55c52860306410894d26da00;hb=3c498933ab2914a93ee8383cb75d9b6c9706c0ff;hp=7a675c187043e3c3b6b6812dac39de711ee775a0;hpb=497c179acb2bec186eebcb2db6945ab1e74095a1;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/ChangeLog b/gas/ChangeLog index 7a675c1870..2aba9617ae 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,690 @@ +Tue Jul 12 21:27:05 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * config/ho-sysv.h (realloc): Declare. + + * symbols.c (symbol_create): New function, most of the guts of the + old symbol_new function. + (symbol_new): Now just checks symbol_table_frozen, calls + symbol_create, and enters the symbol into the symbol table. + * subsegs.c (section_symbol): If EMIT_SECTION_SYMBOLS is not true, + and the symbol table is frozen, call symbol_create instead of + symbol_new. + * symbols.h (symbol_create, symbol_table_frozen): Declare. + + * symbols.c (symbol_clear_list_pointers): Always a function now. + * struc-symbol.h (symbol_clear_list_pointers): Deleted macro + version. + + * symbols.c (debug_verify_symchain): New macro, defined to be + verify_symbol_chain or a cast to void, depending on DEBUG_SYMS. + (many functions): Invoke debug_verify_symchain unconditionally. + +Tue Jul 12 12:06:42 1994 Kung Hsu (kung@x1.cygnus.com) + + * config/obj-ecoff.h: change calling interface of + OBJ_GENERATE_ASM_LINE_STAB. + * config/obj-elf.h: ditto. + * read.c (read_a_source_file): ditto. + * ecoff.h: change calling interface of + ecoff_generate_asm_line_stab. + * ecoff.c (add_file): record of filename to handle case of include + files, also change default built-in type from int to void for + asm file. + * ecoff.c (ecoff_generate_asm_line_stab): handle case of include + files. + +Mon Jul 11 17:20:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * config/tc-mips.c (macro): In case M_LA_AB, SVR4_PIC, large + constant, and case ldd_std, set mips_optimize to 2 temporarily to + avoid inserting an unexpected nop instruction. + +Sat Jul 9 00:05:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.c (ecoff_build_lineno): Handle count correctly for last + line number. + +Fri Jul 8 15:22:07 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * (process_pseudo_op): Pass right are do do_aif. + (get_any_string): New arg 'pretend_quote'. + (get_and_process, do_formals, macro_expand, do_sdata, + process_pseudo_op): Use new arg. + +Fri Jul 8 12:23:44 1994 Kung Hsu (kung@mexican.cygnus.com) + + * config/obj-ecoff.h: define macro OBJ_GENERATE_ASM_LINE_STAB. + * config/obj-elf.h: ditto. + * read.c (read_a_source_file): generate line stabs for asm file. + * read.h: add extern generate_asm_line_stab. + * ecoff.h : add prototype for ecoff_generate_asm_line_stab(). + * ecoff.c (add_file): if there's no filename provided, set switch + to generate line stabs for .s file. + * ecoff.c (add_procedure): add stabs symbol for .ent directive. + * ecoff.c (generate_ecoff_stab): creates an artificial stabs. + * ecoff.c (generate_asm_line_stab): generate a artifitial label + for each line and generate a stabn for the line. + +Thu Jul 7 17:04:03 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * gasp.c (get_any_string): Cope with getting a string with an + alternate base specifier. + (do_aif, do_aelse): Only enable output if expression is true and previous + level was on. + (chartype_init): Add BASEBIT chartype. + (process_pseudo_op): Notice nesteed AIFs. + +Thu Jul 7 12:30:22 1994 Steve Chamberlain (sac@jonny.cygnus.com) + + * h8300.c (do_a_fix_imm): Code for 2 bit reloc type using in trapa + insn. (fix pr 5165, 5174) + +Thu Jul 7 11:31:32 1994 Jeff Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c (R_DLT_REL): If it isn't defined, then define + to an appropriate value to avoid losing on old hpux systems. + + * config/tc-hppa.c (hppa_fix_adjustable): Reject reductions for + symbols in DLT relative relocs. + (tc_gen_reloc): Zero out the addend field for DLT relative relocs. + +Wed Jul 6 01:07:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/tc-ppc.c (ppc_tc): If not OBJ_COFF, force TOC entry to + align to a four byte boundary. + +Tue Jul 5 15:42:09 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * config/tc-alpha.c (load_expression): Handle 32-bit addends. + (gpdisp_hi16_howto): Now points to const. + (load_insn_table, alpha_ip): Fix uses of const. + + * doc/internals.texi: Updates to COFF description. Added "@end + defmac" as needed, and some extra heading and "@bye" so it'll + format as a separate document. + +Tue Jul 5 13:54:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * config/obj-elf.h (S_GET_ALIGN, S_SET_ALIGN): Define. + * config/obj-elf.c (obj_elf_common): Set alignment of common + symbol. + * config/tc-sparc.c (s_common): If OBJ_ELF, set alignment of + common symbol. + +Mon Jul 4 18:29:43 1994 Jeff Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c (is_complex): New macro. + (cons_fix_new_hppa): "Handle" complex expressions. + +Fri Jul 1 00:48:12 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/obj-coff.c (write_object_file): Set s_align field from + section_alignment array. + +Thu Jun 30 15:05:28 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * write.c (write_object_file): Use bfd_com_section_ptr. + * as.h (absolute_section, undefined_section): Use new BFD macros + bfd_abs_section_ptr and bfd_und_section_ptr. + +Thu Jun 30 14:36:37 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * config/tc-mips.c (macro): For M_LI_SS, decide how to handle it + based on contents of imm_expr and offset_expr, rather than + mips_pic. For M_LI_DD, decide how to handle it based on segment + name of offset_expr, rather than mips_pic. + (mips_ip): If g_switch_value < 4, use immediate values for 'l'. + If g_switch_value < 8, use .rdata rather than .lit for 'L'. + +Wed Jun 29 17:30:46 1994 Stan Shebs (shebs@andros.cygnus.com) + + * as.c (show_usage): Break long string into shorter ones. + (parse_args): Add -v, prints version id and continues. + * config/tc-mips.c (md_show_usage): Break long string. + +Mon Jun 27 09:47:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com) + + * config/tc-i386.c (md_parse_option): Handle "-V" and "-Q" if + OBJ_ELF is defined. + +Sun Jun 26 16:30:48 1994 Stan Shebs (shebs@andros.cygnus.com) + + * as.c (main) [HOST_SPECIAL_INIT]: New hook, for host-specific + initialization. + +Wed Jun 22 00:24:55 1994 Jeff Law (law@snake.cs.utah.edu) + + * config/tc-hppa.h (obj_frob_symbol): Define for OBJ_ELF. + More gas/bfd lossage exposed by the new linker code. + +Tue Jun 21 11:32:18 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * subsegs.c (subseg_change): Clear seginfo after allocating it. + (subseg_get): Pass actual size of seginfo to memset. + + * subsegs.c (abs_seg_info, und_seg_info): Define if BFD_ASSEMBLER. + (subseg_change): Store seg_info for bfd_abs_section_ptr in + abs_seg_info, and store seg_info for bfd_und_section_ptr in + und_seg_info. + (subseg_get): Likewise. Also, don't set output_section if it is + already set. + (seg_info): Define as function. + * subsegs.h (seg_info): Declare as function rather than defining + as macro. + * write.c (relax_and_size_seg): Call seg_info rather than + bfd_get_section_userdata. + +Mon Jun 20 16:30:54 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * configure.in (ppc-*-elf*): New target, like -sysv4*. + + * expr.c (operand): If "0f" is followed by '\0', don't do eol + checks. + +Mon Jun 20 15:17:43 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ecoff.c (ecoff_build_aux): Call swap_tir_out and swap_rndx_out + via backend pointer, not directly. + +Fri Jun 17 18:05:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in (config-stamp): Make sure there is at least one + element in the for loop. + +Fri Jun 17 11:01:04 1994 Jeff Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c: Misc trivial changes to make gcc -Wall happy. + + * 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 . + (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 . 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. + + * config/tc-m68k.c (enum _register): Add 68060 control registers + BUSCR and PCR. + (last_movec_reg): New macro. + (m68000_control_regs, m68010_control_regs, m68020_control_regs, + m68040_control_regs, m68060_control_regs): New arrays. + (control_regs): New pointer. + (m68k_ip): Use control_regs instead of testing CPU every time. + Use last_movec_reg too. In error messages, handle 68060, and + print 68060 for mfloat, too. + (m68k_init_after_args): Handle "68060". Use m68040up for making + m68851 choice. Set control_regs. + (md_parse_option): Handle "68060". + * configure.in: Setting cpu_type, recognize m68060 too. + + * config/obj-coff.c (fixup_segment) [!BFD_ASSEMBLER] + [DIFF_EXPR_OK]: Do conversion to pc-relative for difference, even + if pcrel is already set. + + * read.c (potable): Add this_gcc_requires_the_gnu_assembler in all + lower-case, in case we're ignoring case of opcodes in the input + file. + + * doc/as.texinfo (.section): Document as unavailable for a.out + type formats. + + * config/tc-alpha.c (machine): New variable. + (load_insn): New macro. + (load_insn_table): New function. + (md_begin): Call load_insn_table, once for basic instructions and + once for appropriate PAL instruction table. + (md_parse_option): Set `machine' based on -m##### arguments. + * config/alpha-opcode.h (alpha_pal21064_opcodes): Split out from + alpha_opcodes. + (alpha_pal21164_opcodes): New table. + (NUM21064OPCODES, NUM21164OPCODES): New macros. + + * configure.in (target i386-*-netbsd0.8): Use 386bsd emulation. + + * doc/Makefile.in (install-info-gasp): Use $$dir when installing + file. + +Wed Jun 1 10:48:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/tc-mips.c (mips_ip): Force floating point values to be + aligned correctly. + +Fri May 27 10:05:53 1994 Ken Raeburn (raeburn@cygnus.com) + + Merged in changes from gas-2.3 net release: + + * Makefile.in (VERSION): Updated to cygnus-2.3.1. + + * config/obj-vms.c: Replaced unchecked uses of malloc with + xmalloc. + + * listing.c (list_symbol_table): Only test BFD64, not + BFD_ASSEMBLER too. + + * config/obj-coff.c (fixup_segment) [BFD_ASSEMBLER] + [DIFF_EXPR_OK]: Don't check pcrel, just convert it. + + * config/obj-vms.c: Removed lots of extra semicolons after + compound statements. + (strchr): Don't declare here. + + * config/ho-vax.h (realloc): Declare. + + * config/ho-vms.h (strchr, strdup): Declare. + + * config/tc-sparc.c (md_parse_option) [OBJ_ELF]: Accept and ignore + option `-q'. + + Wed May 18 20:50:35 1994 Pat Rankin (rankin@eql.caltech.edu) + + * config/obj-vms.h (DBG_S_C_SQUAD, DBG_S_C_UQUAD): define these + new VMS symbol-type macros; signed and unsigned quadword integers, + for `long long' support. Their values come from the existing + DSC$K_DTYPE_QU and DSC$K_DTYPE_Q macros in . The + VMS debugger now recognizes `long long' variables correctly. + * config/obj-vms.c (VMS_typedef_parse) [case 'r']: add entries + for gcc2's predefined types "long double" (same as double, as + per gcc's current state), "long long int", "long long unsigned + int", and final `otherwise' case (to avoid uninitialized type + and size fields). [caveat: predefined types "complex int", + "complex float", "complex double", and "complex long double" are + still missing.] + + * config/ho-vms.h (EXIT_FAILURE): define as 0x10000002 instead + of 0, because the latter indicates success rather than failure + when passed to `exit' or return from `main' compiled by gcc2. + + * config/obj-vms.c (array_suffix, generate_suffix): replace two + hardcoded `0xa3's with macro DBG_S_C_ADVANCED_TYPE from obj-vms.h. + (VMS_typedef_parse): eliminate redundant if-then-else when + allocating new symbol entry and linking it to VMS_Symbol_type_list. + + Tue May 17 20:47:31 1994 Pat Rankin (rankin@eql.caltech.edu) + + * config/obj-vms.c (Write_VMS_MHD_Records): don't try to interpret + the contents of the GAS_VERSION string when falling back to it for + language processor identification. + + * make-gas.com, vmsconf.sh (ENVIRON): fix misspelling of + `psect_attr' in linker options. + + Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com) + + * configure.bat: update to latest makefile.in + * config/te-go32.h: [new] go32's environment + +Fri May 20 17:59:34 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * as.h: Don't declare parameters for strstr. + +Thu May 19 15:40:13 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/tc-sparc.c (md_section_align): Don't change the size if + OBJ_ELF. + +Wed May 18 13:08:07 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * Makefile.in (install): Redirect ln output to /dev/null. If ln + fails on gasp, install gasp.new, not gasp. + +Wed May 18 09:16:36 1994 Jeff Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c (pa_ip): Use R_HPPA_ABS_CALL, not R_HPPA for + absolute calls. + +Tue May 17 12:50:46 1994 Jeff Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c (pa_parse_fp_cmp_cond): Report an error + on a partial completer match. + +Mon May 16 12:03:49 1994 Jeff Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c: Change .hppa_unwind to .PARISC.unwind + throughout code. + (is_complex): Delete definition and support for complex relocation + types. + (tc_gen_reloc): Delete special unwind crud for ELF. Simplify and + rewrite ELF code based on 94-02-02 PA ELF draft spec. + (pa_build_unwind_subspace): Use standard PARISC_DIR32 relocs for + the unwind descriptors. + +Fri May 6 14:13:15 1994 Steve Chamberlain (sac@cygnus.com) + + * config/go32.mh: New makefile fragment for go32 crossing. + * configure.in (host==go32): Use new fragment. + +Fri May 6 14:35:58 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * gasp.c: Include libiberty.h. + (main): Remove unused variable i. + + * config/tc-ppc.c (md_begin): When using -many, permit comparison + instructions to appear multiple times in the opcode table. + +Thu May 5 19:14:43 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * Makefile.in (VERSION): Update to 2.2.90. + + * symbols.c (symbol_new) [BFD_ASSEMBLER]: Don't permit additions + to the symbol table if it's already been set in the output bfd. + (symbol_begin) [! EMIT_SECTION_SYMBOLS] [RELOC_REQUIRES_SYMBOL]: + Don't use bfd_abs_section.symbol for gas absolute symbol. + + * doc/Makefile.in (distclean, clean-dvi, clean-info): Delete gasp + files too. + +Thu May 5 18:12:51 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/tc-mips.c (mips_emit_delays): Make call to + mips_no_prev_insn unconditional. + +Thu May 5 17:25:38 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * config/obj-coff*.*: Merged coffbfd versions into coff versions, + with a single "#ifdef BFD_ASSEMBLER" controlling most of it for + now. Deleted obj-coffbfd.* files. + * configure.in: Always use obj-coff.* for COFF targets. + +Wed May 4 13:34:11 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * config/te-dpx2.h (TARGET_FORMAT, REGISTER_PREFIX_OPTIONAL): + Define. + * configure.in (m68k-bull-sysv3*): Enable. + + * config/coff_gnu.h: Deleted. + +Wed May 4 11:29:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/tc-m68k.h (TARGET_FORMAT): If not TE_SUN3, define as + "a.out-zero.big". + + * config/obj-coffbfd.c (fixup_segment): Make common symbol and PC + relative adjustments when TE_LYNX is defined as well as when + TC_I386 is defined. + +Wed May 4 02:29:21 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + * as.h (strstr): Restore declaration. + (subseg_get) [BFD_ASSEMBLER]: Declare. + + * write.c (write_object_file): If obj_adjust_symtab is defined, + invoke it. Then call set_symtab, and finally invoke *_frob_file + hooks. + * config/obj-coff.c (coff_adjust_symtab): Renamed from + coff_frob_file. + * config/obj-coff.h (coff_adjust_symtab): Changed declaration + accordingly. + (obj_adjust_symtab): Macro also changed. + + * configure.in (i386-*-gnu*): New target, handled like i386-mach. + +Tue May 3 21:04:16 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * config/obj-coff.h (TARGET_FORMAT) [TC_I960]: Select little + endian version. + + * config/obj-coffbfd.h (TARGET_FORMAT) [TC_I960]: Ditto. + + * config/obj-coff.c (coff_frob_section): Round up the size of + every section to a multiple of the alignment, so that BFD doesn't + surprise us. + + Eliminate many simple differences between the two COFF back ends: + + * config/obj-coffbfd.c: Removed all uses of DEFUN and DEFUN_VOID. + Made minor stylistic changes, deleted some register declarations. + (stack_top): Deleted. + (symbol_to_chars): Use absolute_section and reg_section instead of + the corresponding SEG_* symbols. + (obj_coff_endef, tag_find_or_make, fixup_segment): Likewise. + (stack typedef, stack_init, stack_delete, stack_push, stack_pop): + Moved to just after pseudo-op table. All functions now static. + (stack_delete): Removed declaration. + (tag_init, tag_insert, tag_find_or_make, tag_find): Moved to just + after stack functions. + * config/obj-coffbfd.h: Reordered some declarations and macros. + (stack_init, stack_delete, stack_push, stack_pop): Don't declare. + (stack typedef): Deleted. + (SYMBOLS_NEED_BACKPOINTERS): Always undef then define; don't test. + (SYM_AUXENT): New macro. + (SA_GET_*, SA_SET_*): Define in terms of SYM_AUXENT when feasible. + (SF_GET_*, SF_SET_*): Define in terms of SF_GET when feasible. + (SA_GET_SYM_TAGNDX, SA_GET_SYM_ENDNDX, SA_SET_SYM_TAGNDX, + SA_SET_SYM_ENDNDX, object_headers typedef, data_section_header, + text_section_header): Delete non-BFD_HEADERS versions, since we + always define that symbol now. + + * config/obj-coff.c (stack_top): Deleted. + (obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size, + obj_coff_scl, obj_coff_tag, obj_coff_type, obj_coff_val): Change + argument name from "ignored" to "ignore". + (obj_coff_val): Use frag_now_fix. + (obj_pseudo_table): Removed IGNORE_DEBUG version, since it doesn't + get used. + (stack typedef, stack_init, stack_delete, stack_push, stack_pop): + Moved to just after pseudo-op table. All functions now static. + (tag_init, tag_insert, tag_find_or_make, tag_find): Moved to just + after stack functions. + * config/obj-coff.h: Reordered some declarations and macros. + Protected against multiple inclusions. + (stack_init, stack_delete, stack_push, stack_pop): Don't declare. + (stack typedef): Deleted. + (SYMBOLS_NEED_BACKPOINTERS): Always undef then define; don't test. + (stdoutput): Deleted declaration. + (TARGET_FORMAT) [TC_I386]: Don't define if already defined. + +Mon May 2 17:09:24 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * subsegs.h (segment_info_type): Use fix_tail field even if + BFD_ASSEMBLER. + * subsegs.c (subseg_change): Initialize fix_tail field. + (subseg_get): Likewise. + * write.c (frags_chained): New static variable. + (fix_new_internal): If frags_chained is set, use fix_root and + fix_tail from seg_info (now_seg), rather than frchain_now. + (chain_frchains_together_1): Set fix_tail field. + (chain_frchains_together): Set frags_chained. + +Thu Apr 28 01:39:15 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + * config/tc-mips.c (s_option): Only refer to g_switch_* variables + if GPOPT is defined. + (s_abicalls): Ditto. + (md_apply_fix): Cast char* to unsigned char* to avoid pointer + mismatch. + +Wed Apr 27 11:06:32 1994 Steve Chamberlain (sac@cygnus.com) + + * configure.in (i386-*-go32): Uses coff now. + * gasp.c (main): Now takes -D on command line. + (show_usage): Describe new options. + +Tue Apr 26 17:10:30 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * listing.c (list_symbol_table): Print "NO DEFINED SYMBOLS" and + "NO UNDEFINED SYMBOLS" if there aren't any, instead of displaying + the header with an empty list. + + * config/obj-coffbfd.c (fill_section): Check COFF_NOLOAD_PROBLEM + also before setting STYP_NOLOAD for .bss section. + + * config/tc-m68k.c (flag_reg_prefix_optional): New variable. + Initialized to value of REGISTER_PREFIX_OPTIONAL, if defined, or + zero. + (m68k_reg_parse): If flag_reg_prefix_optional is set, permit + register prefix to be absent. + (m68k_ip_op): Accept `&' also for immediate constants. + (insert_reg): Don't bother with (two!?) sanity checks of the + symbol table when inserting each register. + (m68k_parse_long_option): New function. Set + flag_reg_prefix_optional if "register-prefix-optional" is passed. + * config/tc-m68k.h (REGISTER_PREFIX): Always define if not already + defined. + (OPTIONAL_REGISTER_PREFIX): Don't define. + (REGISTER_PREFIX_OPTIONAL): If not already defined, define as zero + or one depending on M68KCOFF. + + Some changes to help Apollo support, from troy@cbme.unsw.edu.au: + * config/tc-m68k.c (DATA, ADDR, SP, FPREG, COPNUM, BAD, BAC): + Define as macros instead of enumerators, since the Apollo compiler + can't handle "enumVal1, enumVal2 = enumVal1" when defining an enum + type. + (make_pcrel_absolute) [NO_PCREL_RELOCS]: New function. + (tc_coff_fix2rtype) [NO_PCREL_RELOCS]: Generate only R_RELBYTE, + R_DIR16, and R_DIR32 relocs. + * config/tc-m68k.h [TE_APOLLO] (COFF_MAGIC, COFF_AOUTHDR_MAGIC): + Use Apollo versions. + [TE_APOLLO] (OBJ_COFF_OMIT_OPTIONAL_HEADER): Undefine. That is, + do include the optional header for Apollo target. + (COFF_MAGIC): Don't define as MC68MAGIC if it's already defined. + + * config/tc-m68k.h [TE_DELTA] (LEX_PCT): Define as 1, so that `%' + can be used within a label name. + + * config/tc-m68k.h (m68k_init_after_args): Declare. + (tc_init_after_args): Define as m68k_init_after_args. + * config/tc-m68k.c (m68k_init_after_args): New function, + containing one-shot code from md_assemble. Added warning for + combination of 68040 and 68851. + (md_assemble): Startup-time code deleted. + Mon Apr 25 16:19:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * doc/Makefile.in (clean, distclean): Remove asconfig.texi. @@ -1351,6 +2038,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. @@ -2178,6 +2867,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. @@ -2524,12 +3215,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. @@ -2676,6 +3371,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 @@ -3281,6 +3982,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 @@ -3612,6 +4316,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. @@ -3653,6 +4361,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. @@ -4044,6 +4758,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) @@ -4118,6 +4834,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, @@ -4204,6 +4929,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. @@ -4228,6 +4962,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. @@ -4366,6 +5106,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. @@ -5134,6 +5879,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. @@ -5331,8 +6082,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. @@ -5581,6 +6341,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 @@ -6741,5 +7506,8 @@ Mon Feb 17 07:51:06 1992 K. Richard Pixley (rich at cygnus.com) Local Variables: +mode: indented-text +left-margin: 8 +fill-column: 74 version-control: never End: