X-Git-Url: https://repo.jachan.dev/binutils.git/blobdiff_plain/4165dcc2394b47969f82f8b669aa3d6740345082..b6999724daf812f64c0098c8b10ffdaffce8c61a:/gas/ChangeLog diff --git a/gas/ChangeLog b/gas/ChangeLog index 527ddb4602..c47129a6ae 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,742 @@ +Sun Feb 6 16:13:47 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * 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 (shebs@andros.cygnus.com) + + * 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 (law@snake.cs.utah.edu) + + * 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 (ian@tweedledumb.cygnus.com) + + * 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 (ian@tweedledumb.cygnus.com) + + * 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 (law@snake.cs.utah.edu) + + * Makefile.in: Avoid bug in losing hpux sed. + +Wed Feb 2 11:40:11 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * 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 (raeburn@cujo.cygnus.com) + + * 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 (sac@jonny.cygnus.com) + + * gasp.c: Include host.h. + +Tue Feb 1 12:13:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * 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 (shebs@andros.cygnus.com) + + * 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 (sac@jonny.cygnus.com) + + * 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 (raeburn@cujo.cygnus.com) + + * 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 (ian@tweedledumb.cygnus.com) + + * 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 (raeburn@cujo.cygnus.com) + + * 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 (ian@tweedledumb.cygnus.com) + + * 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 (shebs@andros.cygnus.com) + + * 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 (law@snake.cs.utah.edu) + + * doc/{all.texi,as.texinfo}: Add documentation for HPPA port. + +Mon Jan 24 19:18:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * 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 (raeburn@cujo.cygnus.com) + + * read.c (s_lcomm): Treat Alpha like MIPS in handling of .sbss + section. + +Thu Jan 20 13:17:58 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * 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 (ian@tweedledumb.cygnus.com) + + * 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 (sac@jonny.cygnus.com) + + * config/obj-coffbfd.c (obj_coff_endef): For C_EFCN, C_BLOCK and + C_FCN assume .val has been set to . + +Tue Jan 18 16:19:58 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c: Disable multiple $CODE$ subspace code. It + confuses GDB for some unknown reason. + * cofnig/obj-som.c: Likewise. + +Tue Jan 18 19:05:32 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * literal.c (add_to_literal_pool): Handle duplicates of values + already written to literal pool. + +Tue Jan 18 17:23:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/obj-aout.c (obj_aout_frob_symbol): Try to get symbols + with explicitly marked stabs through BFD: if a symbol marked + N_UNDF | N_EXT is in the absolute section, move it to the + undefined section; move a symbol marked N_INDR into + bfd_ind_section and set the BSF_INDIRECT flag; set the + BSF_WARNING flag for a symbol makred N_WARNING. + +Mon Jan 17 15:40:23 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (ecoff_set_gp_prolog_size): Declare. + * ecoff.c (ecoff_set_gp_prolog_size): Return type is void. + +Mon Jan 17 00:18:55 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u' + and 'f' template operand. + + * config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u', + and '2' in copr and sfu instruction templates. + +Sun Jan 16 16:44:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * as.h (subseg_force_new): Add prototype. + +Sat Jan 15 09:20:55 1994 Doug Evans (dje@canuck.cygnus.com) + + * app.c (do_scrub_next_char): Allow lines like " foolab :". + + * read.c (emit_expr): Fix computation of mask. + * config/obj-elf.c (obj_elf_section): Fix loop termination test. + +Thu Jan 13 16:15:15 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * ecoff.c (ecoff_set_gp_prolog_size): New function. + (current_file_idx): New static variable. + (add_file): Use and increment current_file_idx instead of indx + parameter. + + * struc-symbol.h (struct symbol): Make all bitfields unsigned. + + * config/tc-i960.c (i960_validate_fix): Added argument + add_symbolPP. Indirect through it to get "add_symbolP". + * config/tc-i960.h (i960_validate_fix): Supply prototype. + (TC_VALIDATE_FIX): Pass address of add_symbolP. + + * configure.in (i386-*-netbsd*): New target, using te-netbsd.h. + (i386-*-netbsd0.8): New target, like 386bsd. + + * configure.in: Set BFDDEF in Makefile to "define" or "undef". + * Makefile.in (config.h): Protect against multiple inclusions. + Define or undef BFD_ASSEMBLER as specified by $(BFDDEF). + (ALL_CFLAGS): Omit $(BFDDEF). + * as.h: Include config.h. + (struct symbol): Added forward declaration. + (add_to_literal_pool): Fix declaration. + * as.c: Don't include config.h. + + * literal.c (add_to_literal_pool): Take symbol and addend as + arguments, instead of expression, for now. Fix calculation of + offset to return. + + * subsegs.h (segment_info_type) [NEED_LITERAL_POOL]: Add field + literal_pool_size. + +Thu Jan 13 12:14:21 1994 Jeffrey A. Law (law@snake.cs.utah.edu + + * subsegs.c (subseg_get): Accept new argument "force_new". If + set then a new segment is always created. All callers changed. + (subseg_force_new): New function. Similar to subseg_new, but + always force a new segment to be created. + + * config/obj-som.c (som_frob_file): Call adjust_code_sections + for each section. + (adjust_code_sections): New function. Adjusts the VMA for all the + $CODE$ subspaces. + + * config/tc-hppa.c (md_assemble): Also handle creating a fixup + for the unwind descriptors if a function's label follows the + .PROC and .ENTRY directives. + (pa_entry): Don't set BSF_FUNCTION for the label symbol here; it + is done elsewhere. Don't create a fixup for the unwind + descriptors if the function's label has not been defined yet. + (pa_proc): For SOM, place each procedure within a new $CODE$ + subspace. Adjust the segment and frag for the associated + function label if it exists. + +Wed Jan 12 22:05:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c (hppa_fix_struct): Add new "segment" field. + (hppa_fix_new): Initialize segment field. + (md_apply_fix): Do nothing for pc-relative fixup which involves + crossing a segment boundary. + (pa_procend): Undefine the current label after handling .PROC + and .PROCEND directives. + (dummy_symbol): Make type "symbolS *". Change references as + appropriate. + +Wed Jan 12 13:29:31 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * read.c (read_a_source_file): Cast array argument to unsigned + char. + * write.c (adjust_reloc_syms): Remove unused variable symseginfo. + (write_object_file): Don't define punt_it if it won't be used. + (fixup_segment): Don't define skip if it won't be used. + + * config/tc-mips.h (TARGET_FORMAT): Define as mips_target_format. + (mips_target_format): Declare. + * config/tc-mips.c (mips_target_format): Define with appropriate + default definition. + (md_parse_option): If -EL or -EB is used, change byte_order and + mips_target_format as appropriate. + +Tue Jan 11 21:52:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * app.c (do_scrub_next_char): Another attempt to fix bugs + dealing with labels without colons (for HPPA and MRI). + +Tue Jan 11 17:01:06 1994 Doug Evans (dje@canuck.cygnus.com) + + * 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. + * read.c (emit_expr): Use valueT instead of long. + +Tue Jan 11 13:01:20 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/obj-elf.c: If TC_MIPS, include elf/mips.h. + (special_sections): Define. + (obj_elf_special_section): Get default types and attributes from + list of special sections. + * config/tc-mips.c (ELF_TC_SPECIAL_SECTIONS): Define. + + * config/obj-ecoff.c (ecoff_frob_file): Force .sdata and .sbss + sections to be close together. + + * config/tc-mips.c (macro): Corrected $at warnings in a couple of + spots. + + * listing.c (listing_prev_line): New function. + * listing.c: Include subsegs.h. + (listing_prev_line): New function. + (calc_hex): Reset byte_in_frag to zero for each new frag. + * config/tc-mips.c (append_insn): Call listing_prev_line after + emitting nop instructions. + * Makefile.in (listing.o): Depends upon subsegs.h. + +Mon Jan 10 09:52:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c (pa_ip): Put check for missing label on .PROC + here. Handle case where label may be defined after the .PROC. + (pa_proc): It is not an error if the procedure's label isn't + defined before the .PROC directive. + +Sun Jan 9 04:43:30 1994 Ken Raeburn (raeburn@kr-pc.cygnus.com) + + * config/te-netbsd.h: New file. + * config/tc-i386.h (TARGET_FORMAT) [TE_NetBSD]: Use bfd target + a.out-netbsd-386 for this configuration. + +Fri Jan 7 17:38:28 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.c (ecoff_stab): Don't clobber the ECOFF symbol information + with the associated stabs information. + (ecoff_build_symbols): Never set the type of stabs symbols to + st_Global. Don't update the symbol index or ifd if the gas symbol + is not the same as the ECOFF symbol (which is now the case for + stabs symbols). + +Fri Jan 7 11:14:07 1994 Stan Shebs (shebs@andros.cygnus.com) + + * config/tc-mips.c (macro): Add a LOSING_COMPILER ifdef that + splits the function. + (macro2): New function, if LOSING_COMPILER defined. + +Fri Jan 7 09:38:25 1994 Steve Chamberlain (sac@cygnus.com) + + * config/obj-coffbfd.c (fill_section): Don't ever fill past the + end of a section. (write_object_file): Temporary fix - setup + stdoutput. + +Thu Jan 6 18:05:21 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * config/tc-sparc.c (tc_gen_reloc): Fix handling of addends in + non-pcrel_offset relocations. + +Thu Jan 6 01:06:40 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * config/tc-mips.c (mips_ip): Warn about using $1 as well as $at + without .set noat. + +Wed Jan 5 14:22:22 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * literal.c: New file. + * Makefile.in (REAL_SOURCES, OBJS): List it. + + * as.h (DEBUG): Don't define. + (struct expressionS, struct fix): Declare in case they're used in + prototypes. + (add_to_literal_pool) [BFD_ASSEMBLER]: Declare. + + * config/tc-mips.h (TARGET_FORMAT) [OBJ_AOUT]: Fix for new names + in bfd. + + * subsegs.c (subseg_get): New function. Creates segment if + needed, returns pointer, but doesn't change current segment. + (subseg_new): Use it. + +Tue Jan 4 15:12:43 1994 Stan Shebs (shebs@andros.cygnus.com) + + * Makefile.in (INCLUDES): Add $(srcdir)/.. to places to search. + * config/obj-ecoff.c: Include files as "bfd/" instead of "../bfd/". + * app.c, flonum.h, hex-value.c (const): Change #if to be more + portable. + +Tue Jan 4 22:11:34 1994 Rob Savoye (rob@darkstar.cygnus.com) + + * config/ho-vsta.h, configure.in, .Sanitize: Add support for VSTa + micro-kernel. + +Thu Dec 30 15:27:16 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * write.c (write_relocs): bfd_perform_relocation now takes an + additional argument, to return an error string (which we ignore). + +Wed Dec 29 14:37:26 1993 Ken Raeburn (raeburn@cujo.cygnus.com) + + * write.h (struct fix): Field tc_fix_data should be type PTR, not + void*, for compatibility with non-ANSI compilers. Added + single-bit field "fx_done". + +Sun Dec 26 14:31:47 1993 Torbjorn Granlund (tege@adder.cygnus.com) + + * tc-hppa.c (pre_defined_registers): Convert to lower case. + Delete spurious register names "%r4L", etc. + (selector_table): Sort and convert to lower case. + (cons_fix_new_hppa): `reloc_type' => `rel_type'. + (pa_ip): Always use strcmp for non-text and strcasecmp for text. + (reg_name_search): Rewrite to call strcasecmp only once per + iteration. + (pa_chk_field_selector): Rewrite to use binary search. + (pa_parse_neg_add_cmpltr): Use strcasecmp for completer comparisons. + (pa_parse_space_stmt): $TEXT$ and $PRIVATE$ are symbols; use case + sensitive comparisons. + (pa_parse_space_stmt): Canonicalize strncasecmp arg to lower case. + (pa_space): "$text$" => "$TEXT$"; "$private$" => "$PRIVATE$". Use + case sensitive comparison for all symbolic names. + (pa_subspace): Canonicalize strncasecmp arg to lower case. + (pa_subspace_start): Use case sensitive comparison for symbolic names. + +Mon Dec 20 10:37:48 1993 Ken Raeburn (raeburn@cujo.cygnus.com) + + * write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no + symbol is present (i.e., relocation against absolute), create a + phony local symbol, and use it in the reloc. + (fixup_segment): When adjusting a reloc with an absolute symbol, + have TC_FORCE_RELOCATION control clearing add_symbolP too. + * config/tc-sparc.h (RELOC_REQUIRES_SYMBOL): Define, for OBJ_COFF. + + * symbols.c (S_IS_EXTERNAL, S_IS_LOCAL): Don't use both BSF_EXPORT + and BSF_GLOBAL, since they're the same. + + * as.c (main): Only invoke md_end if it's defined as a macro. + * tc.h (md_end): Don't declare it. + * config/tc-*.[ch] (md_end): Deleted, in cases where it doesn't do + anything. + * config/tc-vax.c (vip_end): Deleted null function. + * config/tc-mips.c (md_mips_end): Renamed from md_end. + * config/tc-mips.h (md_mips_end): Declare. + (md_end): New macro, calls md_mips_end. + + * write.c (write_object_file): Don't close output file. + * as.c (main): Close output file (if needed) after calling + listing_print, which should be after calling write_object_file, + which sets the frag addresses. + + * config/obj-coff.c (obj_coff_dim, obj_coff_endef, obj_coff_line, + obj_coff_scl, obj_coff_size, obj_coff_tag, obj_coff_type, + obj_coff_val): Add unused int argument to satisfy prototypes; goes + with Ian's 10 Sep changes. + (S_GET_DATA_TYPE, S_SET_DATA_TYPE, S_GET_STORAGE_CLASS, + S_SET_STORAGE_CLASS): Now function instead of macros. + (obj_emit_lineno) [BFD_ASSEMBLER]: Deleted. + (tag_insert): Local var ERROR_STRING is const. Use "const" not + "CONST" for argument NAME. Fixed prototype. + (coff_frob_symbol): Removed explicit "#if 1" directive. If + S_IS_EXTERNAL, set storage class to C_EXT. + (s_get_name): Use "const" not "CONST". + * config/obj-coff.h (S_GET_DATA_TYPE, S_SET_DATA_TYPE, + S_GET_STORAGE_CLASS, S_SET_STORAGE_CLASS): Deleted. + (obj_emit_lineno): Declare only for non-BFD_ASSEMBLER. For + BFD_ASSEMBLER, define as macro that aborts. + (obj_extra_stuff, tc_headers_hook): Declare only for + non-BFD_ASSEMBLER. + (coff_frob_symbol): Fix prototype. + +Sun Dec 19 00:37:20 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * config/tc-sparc.c (tc_gen_reloc): Test of pcrel_offset had sense + reversed. + +Thu Dec 16 21:13:11 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c (md_begin): Initialize "dummy_label". + (tc_gen_reloc, SOM version): For relocations which have no symbol, + set sym_ptr_ptr to dummy_label. Avoids lossage in generic BFD code. + +Thu Dec 16 16:07:56 1993 Ken Raeburn (raeburn@cujo.cygnus.com) + + * read.c (lex_type): No longer make '[' a valid character for + symbol names. + + * config/tc-vax.c (tc_aout_fix_to_chars): Local variable + NBYTES_R_LENGTH now const. + + * config/obj-*.c, config/tc-*.c: Omit superfluous "return" + statements at ends of functions. Don't check for null return from + hash_new, since it won't return at all if there's no memory + available. Also, check for null return from hash_insert, rather + than zero-length string, as success indicator. + + * subsegs.c (section_symbol): New function. + * subsegs.h (section_symbol): Declare. + * write.c (adjust_reloc_syms): Use it. + +Wed Dec 15 15:39:53 1993 Ken Raeburn (raeburn@cujo.cygnus.com) + + * Makefile.in (RUNTEST): New variable. + (CHECKFLAGS): Pass it down. + + * ecoff.c (ecoff_directive_frame): Permit extra trailing operands; + unused for now, but supplied by Alpha OSF1 compiler. + + * as.h: Protect against multiple inclusions. + (int_to_gen): Don't declare. + + * config/atof-vax.c (atof_vax): NULL is not a valid character + constant. + +Tue Dec 14 21:38:25 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * configure.in (hppa*-*-osf*): Do not consider this a developmental + configuration. + + * config/tc-hppa.c (md_apply_fix): Handle cases where no + relocation will be emitted for 32bit formats. + +Mon Dec 13 23:33:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjust + for any of the 'T' field selectors. + +Sat Dec 11 11:23:12 1993 Steve Chamberlain (sac@thepub.cygnus.com) + + * config/tc-h8500.c (build_bytes): Get reloc type right for a + %page operation. (md_assemble): Don't modify input_line_pointer. + (mdcoff_sizemachdep): New function. + * config/tc-h8500.h (TC_COFF_SIZEMACHDEP): New macro. + * config/tc-z8k.c (get_operand): Delete bogus check. + +Wed Dec 8 16:31:51 1993 Ken Raeburn (raeburn@rtl.cygnus.com) + + * write.c (number_to_chars_*): Delete bogus range check. + + * output-file.c (TARGET_ARCH): No default. + +Tue Dec 7 16:02:53 1993 Steve Chamberlain (sac@jonny.cygnus.com) + + * config/tc-sh.c (md_convert_frag): Truncate disps before calling + md_number_to_chars. (md_assemble): Don't modify + input_line_pointer. + +Mon Dec 6 11:49:03 1993 Doug Evans (dje@canuck.cygnus.com) + + * config/tc-h8300.c (md_assemble): Don't update input_line_pointer. + +Mon Dec 6 11:20:02 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * config/obj-som.[ch] (obj_read_begin_hook): Remove last change. + Breaks with the HP compilers. + + * config/tc-hppa.c (struct call_info): Remove fields which were + set but never used. Remove all code which sets those fields. + (struct subspace_dictionary_chain): Likewise. + (struct space_dictionary_chain): Likewise. + (pa_desc): Delete useless function. Delete all references. + (hppa_tc_make_sections): No need to count the number of symbols for + the symbol extension section. + Sun Dec 5 17:05:29 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + * config/obj-som.c (obj_som_version): Pass version string to + SOM BFD backend. + (obj_som_copyright): New function. Much like obj_som_version. + + * config/tc-hppa.c (obj_copyright): Define as appropriate for + SOM and ELF. + (pa_copyright): Just a stub now. + + * config/obj-som.c (obj_read_begin_hook): Delete unused function. + * config/obj-som.h (obj_read_begin_hook): Provide dummy definition. + (TARGET_SYMBOL_FIELDS): Delete. SOM isn't making use of them. + * config/tc-hppa.c (tc_gen_reloc, SOM version): Handle relocation expansion due to rounding mode selectors. Handle R_[RDSN]_MODE relocations for selecting the current rounding mode.