]> Git Repo - binutils.git/blobdiff - gas/ChangeLog
* gdb.t01/run.exp: Only run shell test if isnative.
[binutils.git] / gas / ChangeLog
index 05bc6e0fec48ed9dbcc0a3286157ce119c49500e..c47129a6aec413d404432c559153d4afd73d4508 100644 (file)
@@ -1,3 +1,322 @@
+Sun Feb  6 16:13:47 1994  Jeffrey A. Law  ([email protected])
+
+       * config/obj-som.c (obj_som_init_stab_section): Same change
+       as coffbfd and elf below.  Zero the initial stab symbol after
+       allocating it.
+
+Sat Feb  5 12:30:32 1994  Stan Shebs  ([email protected])
+
+       * config/obj-coffbfd.c (obj_coff_init_stab_section): Zero the
+       initial stab symbol after allocating it.
+       * config/obj-elf.c (obj_elf_init_stab_section): Ditto.
+
+Sat Feb  5 11:53:31 1994  Jeffrey A. Law  ([email protected])
+
+       * config/tc-hppa.c (pa_ip): addb[tf] should only accept
+       non-negated condition completers.  Add support for addb pseudo-op
+       which accepts both negated and non-negated completers.
+
+Sat Feb  5 00:15:49 1994  Ian Lance Taylor  ([email protected])
+
+       * configure.in (rs6000*): Use cpu_type ppc.
+       (ppc-*-aix*): New target; use coff and force bfd_gas.
+       * config/tc-ppc.h, config/tc-ppc.c: New files for PowerPC/POWER
+       (RS/6000) support.  At the moment, only XCOFF is supported.
+
+       * config/obj-coff.c (SA_SET_SYM_ENDNDX): Made non-static.
+       (S_SET_DATA_TYPE): Likewise.
+       (coff_last_function): Renamed from local static last_functionP in
+       coff_frob_symbol and made externally visible.
+       (coff_frob_symbol): New local static set_end; use it to try to
+       avoid calling SA_SET_SYM_ENDNDX on a symbol that will be punted.
+       * config/obj-coff.h (S_SET_DATA_TYPE): Declare.
+       (SA_SET_SYM_ENDNDX): Declare.
+       (coff_last_function): Declare.
+
+       * expr.c (operand): If DOLLAR_DOT is defined, accept `$' as
+       equivalent to `.' to mean the current location.
+
+       * read.c (LEX_BR): If not defined, define as 0.
+       (lex_type): Use LEX_BR as the type of `{',`}',`[',`]'.
+
+       * symbols.c (symbol_new): If tc_canonicalize_symbol_name is
+       defined, call it with preserved_copy_of_name.  If
+       tc_symbol_new_hook is defined, call it on the new symbol.
+       (symbol_find_base): If tc_canonicalize_symbol_name is defined,
+       call it on a copy of the name argument.
+
+       * write.c (write_object_file): Simplified usage of obj_frob_symbol
+       and tc_frob_symbol.  Always call both if the symbol is going to be
+       output.
+
+       * write.c (relax_segment): Use %ld rather than %d when printing
+       fragP->fr_var, and cast it to long.
+
+       Changed relocs to be based on subsegments (when BFD_ASSEMBLER).
+       * subsegs.h (struct frchain): If BFD_ASSEMBLER, added new fields
+       fix_root and fix_tail.
+       (segment_info_type): If BFD_ASSEMBLER, don't define fix_tail
+       field.
+       * write.c (fix_new_internal): If BFD_ASSEMBLER, set fix_rootP and
+       fix_tailP based on frchain_now, not seg_info (now_seg).
+       (chain_frchains_together_1): Chain the subsegment relocs together.
+       * subsegs.c (subseg_change): Don't clear fix_tail field.
+       (subseg_get): Likewise.
+       * literal.c (add_to_literal_pool): Look through the relocs via
+       frchain_now, not seginfo.
+
+Thu Feb  3 23:07:30 1994  Ian Lance Taylor  ([email protected])
+
+       * config/obj-ecoff.h (TARGET_SYMBOL_FIELDS): Changed
+       ecoff_undefined to ecoff_extern_size.
+       * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Likewise.
+       * config/tc-mips.c (s_extern): Set ecoff_extern_size to the
+       external symbol size, rathern than setting the symbol value.
+       (md_estimate_size_before_relax): Check both ecoff_extern_size and
+       symbol value to see if GP referencing can be used.
+       * ecoff.c (ecoff_symbol_new_hook): Clear ecoff_extern_size, not
+       ecoff_undefined.
+       (ecoff_frob_symbol): Don't check ecoff_undefined.
+       (ecoff_build_symbols): Get size of an undefined symbol from
+       sym->ecoff_extern_size, not S_GET_VALUE (sym).
+
+Wed Feb  2 13:55:08 1994  Jeffrey A. Law  ([email protected])
+
+       * Makefile.in:  Avoid bug in losing hpux sed.
+
+Wed Feb  2 11:40:11 1994  Ian Lance Taylor  ([email protected])
+
+       * config/tc-mips.c (file_mips_isa): New static variable.
+       (md_begin): Set it.
+       (s_mipsset): Add support for .set mipN to set the ISA level.
+
+       * gasp.c (kinfo): Fully bracket initializer.
+
+Tue Feb  1 19:28:12 1994  Ken Raeburn  ([email protected])
+
+       * gasp.c (malloc): Don't declare, since host.h or system header
+       files may declare it differently.
+
+       * config/atof-ieee.c (int_to_gen): Now static.
+
+       * config/ho-i386aix.h: Include sys/types.h and stdlib.h, not
+       ho-sysv.h.  Based loosely on a patch from Minh Tran-Le.
+
+Tue Feb  1 10:50:17 1994  Steve Chamberlain  ([email protected])
+
+       * gasp.c: Include host.h.
+
+Tue Feb  1 12:13:01 1994  Ian Lance Taylor  ([email protected])
+
+       * config/tc-mips.c (mips_ip): Make an unsupported instruction a
+       warning, not an error.
+
+       * config/obj-coff.c (dot_text_symbol, dot_data_symbol,
+       dot_bss_symbol): Don't define if BFD_ASSEMBLER.
+       (obj_symbol_to_chars): bfd_coff_swap_aux_out now takes more
+       arguments.
+       (coff_line_base): Renamed from line_base.  Changed all uses.
+       (coff_add_linesym): Renamed from add_line_sym.  Made non-static.
+       Changed all uses.
+       * config/obj-coff.h: If TC_PPC, include coff/rs6000.h.
+       (S_SET_STORAGE_CLASS, S_GET_STORAGE_CLASS): Declare if
+       BFD_ASSEMBLER.
+       (coff_line_base): Declare.
+       (coff_add_linesym): Declare if BFD_ASSEMBLER.
+       * config/obj-coffbfd.c (symbol_to_chars): bfd_coff_swap_aux_out
+       now takes more arguments.
+
+Mon Jan 31 17:55:14 1994  Stan Shebs  ([email protected])
+
+       * as.c (statistics_flag): Renamed from quiet_flag.
+       (main): Get statistics with --statistics instead of -noquiet.
+
+Mon Jan 31 07:19:30 1994  Steve Chamberlain  ([email protected])
+
+       * Makefile.in: Support for Gnu ASsembler Preprocessor.
+       * gasp.c: New file.
+       * read.c (s_lcomm): Align lcomm data.
+       * config/tc-z8k.c (tc_reloc_mangle): Don't allow subtraction 
+       from different sections.
+
+Sun Jan 30 14:58:26 1994  Ken Raeburn  ([email protected])
+
+       * write.c (write_object_file): If tc_frob_file is defined, call it
+       just before calling obj_frob_file.
+       * config/tc-alpha.c (alpha_gp_value): Renamed from gp_value
+       (references changed), and made non-static.
+       (getExpression): Return void.
+       (select_gp_value): Abort if gp_value is non-zero.  Delete call to
+       non-existent bfd_set_gp_value.
+       (alpha_validate_fix): Function deleted.
+       (alpha_frob_symbol): Function deleted.
+       (alpha_local_label): Function deleted.
+       (alpha_frob_file): Renamed from alpha_end.
+       * config/tc-alpha.h (alpha_frob_symbol, alpha_validate_fix,
+       alpha_local_label, alpha_end): Declarations deleted.
+       (alpha_gp_value, alpha_frob_file): Declare.
+       (tc_frob_symbol, TC_VALIDATE_FIX, md_end): Macros deleted.
+       (LOCAL_LABEL): Move code here from tc-alpha.c:alpha_local_label.
+       (md_convert_frag): Simplified slightly.
+       (tc_frob_file): New macro.
+
+       * read.c (do_align): New function, most of guts of s_align_*
+       functions.  Look for md_do_align macro, give it a chance to bypass
+       all but recording of section alignment.
+       (s_align_bytes, s_align_ptwo): Call do_align.
+       (s_lcomm) [TC_ALPHA]: Align object to largest power of two that
+       divides object size.
+
+       * frags.c (frag_align_pattern): New function.
+       (frag_align): Rewrite for clarity.
+
+       * config/tc-vax.c (md_assemble): Handle O_constant expression.
+       (vip_begin): Returns pointer to const char.  Cast hash_insert arg
+       to PTR to avoid compiler complaints about const.
+       (md_begin): Local variable errtxt must point to const.
+
+       * configure.in: Handle host vax-*-ultrix* like vax-*-bsd*.  Don't
+       bother with *-*-ultrix or *-*-sysv*, except *-*-sysv, since only
+       the last has an existing host support file.  Do handle vax-bsd and
+       vax-ultrix targets.
+
+Fri Jan 28 11:26:40 1994  Ian Lance Taylor  ([email protected])
+
+       * config/obj-coff.c (obj_coff_section_header_append): Do not
+       declare if BFD_ASSEMBLER.
+       (stack_pop): Correct test for stack underflow.
+       (obj_coff_endef, obj_coff_dim, obj_coff_line, obj_coff_size,
+       obj_coff_scl, obj_coff_tag, obj_coff_type, obj_coff_val): Declare
+       type of ignored argument to avoid gcc warning.
+       (align): Removed unused function.
+
+Thu Jan 27 18:14:19 1994  Ken Raeburn  ([email protected])
+
+       * config/tc-alpha.c, config/tc-alpha.h, config/alpha-opcode.h: New
+       files, based on port of gas-1.38 contributed by CMU, using a.out
+       variant.  Updated for gas-2.x and ECOFF.  Floating-point constants
+       are still broken, bootstrap testing incomplete.
+
+       * literal.c: Comment changes.
+
+       * listing.c (listing_source_file): Check for null listing_tail
+       before indirecting through it.
+
+       * expr.h (struct expressionS): Added struct tag.
+
+       * as.h: If __GNUC__ and inline are both undefined, define inline
+       away.
+
+       * write.c (cvt_frag_to_fill): Don't assume that fr_var for
+       rs_align or rs_org frags will be 1.
+       (relax_segment): For rs_align, if fr_var is not 1, complain if
+       required padding is not a multiple of the size of the pad pattern.
+       (fixup_segment): Leave gp-relative relocations alone.  For pcrel
+       relocations referring to the same segment, clear fx_pcrel when
+       clearing fx_addsy.
+       * as.h: Adjust comments on rs_align.
+
+       * atof-generic.c: Some reformatting.
+       (atof_generic): Be careful when mixing signed/unsigned values of
+       different sizes.
+
+       * write.c, config/obj-{aout,bout,coff*}.c, config/tc-sparc.c:
+       Query the fx_done field instead of fx_addsy to see if the fixup
+       still needs to be applied.  Set fx_done and clear fx_addsy both,
+       for now.  If TC_HANDLES_FX_DONE isn't defined, assume md_apply_fix
+       will only clear fx_addsy, and set fx_done accordingly after
+       returning.
+       * config/tc-sparc.h (TC_HANDLES_FX_DONE): Define.
+       * config/tc-sparc.c (md_apply_fix): Set fx_done for non-pcrel fix
+       with no fx_addsy.
+
+       * symbols.c (dot_text_symbol, dot_data_symbol, dot_bss_symbol):
+       Deleted.
+       (symbol_begin): Moved to end of file, so function inlining can
+       work better.
+       (fb_label_count, fb_label_max): Default C static initializers are
+       sufficient.
+       * symbols.h (dot_text_symbol, dot_data_symbol, dot_bss_symbol):
+       Declarations deleted.
+       * config/obj-coff.c (dot_text_symbol, dot_data_symbol,
+       dot_bss_symbol): Defined here, static.
+
+       * config/obj-aout.c [BFD_ASSEMBLER]: Undef NO_RELOC before
+       including aout/aout64.h.
+
+       * write.c (write_object_file): If EMIT_SECTION_SYMBOLS is false,
+       don't write out a section symbol even if it's used in a
+       relocation; assume relocations will handle section numbers
+       somehow.  Rename "punt_it" label to "punt_it_if_unused" to reflect
+       it's true use.
+       (EMIT_SECTION_SYMBOLS): Default to 1.
+       (adjust_reloc_syms): Don't create a new symbol for an absolute
+       reference; just use the absolute section symbol.
+       (write_relocs): Make printout of reloc values dependent on flag
+       DEBUG3, not DEBUG2.
+       * config/obj-aout.h (EMIT_SECTION_SYMBOLS): Define as 0.
+       * config/obj-ecoff.h (EMIT_SECTION_SYMBOLS): Ditto.
+
+Thu Jan 27 16:43:51 1994  Ian Lance Taylor  ([email protected])
+
+       * read.c (lex_type): No longer make '{' a valid character for
+       symbol names.
+
+       * as.c (main): Print long values using %ld.
+
+       * messages.c (as_warn_internal): New static function.
+       (as_warn, 3 versions): Use as_warn_internal.
+       (as_warn_where, 3 versions): New function.
+       * as.h (as_warn_where): Declare.
+
+Tue Jan 25 18:30:34 1994  Stan Shebs  ([email protected])
+
+       * as.c (quiet_flag): New flag.
+       (main): If -noquiet given, display execution time and memory used.
+
+Tue Jan 25 15:53:11 1994  Jeffrey A. Law  ([email protected])
+
+       * doc/{all.texi,as.texinfo}: Add documentation for HPPA port.
+
+Mon Jan 24 19:18:23 1994  Ian Lance Taylor  ([email protected])
+
+       * ecoff.c (ecoff_frob_symbol): New function.  Put undefined
+       symbols of known size in the undefined section.  Put small common
+       symbols in a .scommon section.
+       * ecoff.h (ecoff_frob_symbol): Declare.
+       * config/obj-ecoff.h (obj_frob_symbol): Define.
+       * config/obj-elf.c (obj_elf_write_symbol_p, obj_elf_write_symbol,
+       obj_elf_frob_symbol): Removed unused functions.
+       * config/obj-elf.h (obj_frob_symbol, obj_write_symbol): Removed
+       unused macros.
+       (obj_elf_frob_symbol, obj_elf_write_symbol): Removed declarations
+       of unused functions.
+       (obj_frob_symbol): Define if ECOFF_DEBUGGING.
+
+       * tc-mips.c (g_switch_seen): New static variable.
+       (md_parse_option): Set g_switch_seen for -G option.
+       (s_option): If creating PIC code, force the GP size to be 0.  Warn
+       if -G switch used with a non-zero value.
+
+       * symbols.c (S_IS_COMMON): Use bfd_is_com_section rather than
+       comparing against bfd_com_section.
+
+Mon Jan 24 14:12:25 1994  Ken Raeburn  ([email protected])
+
+       * read.c (s_lcomm): Treat Alpha like MIPS in handling of .sbss
+       section.
+
+Thu Jan 20 13:17:58 1994  Ken Raeburn  ([email protected])
+
+       * expr.c (operand): For floating point operand with unusual fp
+       char from FLT_CHARS, preserve the character.  Patch from Lisa
+       Repka.
+
+Wed Jan 19 23:15:24 1994  Ian Lance Taylor  ([email protected])
+
+       * config/tc-mips.c (md_pseudo_table): Add all data allocation
+       pseudo-ops: .hword, .int, .long, .octa, .quad, .short, .single.
+
 Tue Jan 18 15:51:59 1994  Steve Chamberlain  ([email protected])
 
        * config/obj-coffbfd.c (obj_coff_endef): For C_EFCN, C_BLOCK and
This page took 0.036131 seconds and 4 git commands to generate.