aboutsummaryrefslogtreecommitdiff
path: root/gas/ecoff.c
AgeCommit message (Collapse)AuthorFilesLines
1997-08-15 * as.h (enum debug_info_type): Define.Ian Lance Taylor1-78/+25
(debug_type): Declare. * as.c (debug_type): New global variable. (show_usage): Add --gstabs. (parse_args): Handle --gstabs. * read.c (generate_asm_lineno): Remove. (read_a_source_file): Output stabs debugging if appropriate. Change checks of generate_asm_lineno to check debug_type. Only generate ECOFF debugging if ECOFF_DEBUGGING is defined. * read.h (generate_asm_lineno): Don't declare. (stabs_generate_asm_lineno): Declare. * stabs.c (stabs_generate_asm_lineno): New function. * ecoff.c (add_file): Use debug_type, not generate_asm_lineno. Don't turn off debugging. (add_file): Remove old #if 0 code. (ecoff_new_file): Set debug_type, not generate_asm_lineno. (ecoff_directive_end): Don't generate stabs line symbols. (ecoff_generate_asm_lineno): Don't check stabs_seen. Don't set generate_asm_lineno. (line_label_cnt): Remove. (ecoff_generate_asm_line_stab): Remove. * ecoff.h (ecoff_generate_asm_line_stab): Don't declare. * doc/as.texinfo, doc/as.1: Document --gstabs.
1997-07-01 * ecoff.c (page_type): Renamed from page_t to avoid conflictJeff Law1-23/+19
with hpux10 header files.
1997-01-27 * ecoff.c (ecoff_build_symbols): Don't generate a local ECOFFIan Lance Taylor1-2/+12
symbol for a common symbol.
1996-09-11 * ecoff.c (ecoff_new_file): Don't do anything if we are still inIan Lance Taylor1-0/+2
the same file. PR 10595.
1996-09-05 * ecoff.c (ecoff_new_file): New function.Ian Lance Taylor1-32/+82
* ecoff.h (ecoff_new_file): Declare. * config/obj-ecoff.h (obj_app_file): Define. PR 10548.
1996-02-07 * ecoff.c (ecoff_build_lineno): Don't try to store the addressIan Lance Taylor1-8/+20
difference if the next address is before the current one.
1996-01-29 * ecoff.c (localsym_t): Add addend field.Ian Lance Taylor1-56/+74
(add_ecoff_symbol): Add addend argument. Change all callers. (coff_sym_value): Make static. (coff_sym_addend): New static variable. (ecoff_directive_def): Initialize coff_sym_addend. (ecoff_directive_val): Accept symbol + constant. (ecoff_directive_endef): Pass coff_sym_addend to add_ecoff_symbol. (ecoff_build_symbols): Include the addend in the symbol value.
1995-10-31Tue Oct 31 16:34:28 1995 David Mosberger-Tang <davidm@azstarnet.com>Ian Lance Taylor1-19/+123
* configure.in (alpha-*-linux*): Use ecoff. * configure: Rebuild. * ecoff.c (ecoff_directive_extern): New function. (ecoff_directive_weakext): New function. (ecoff_build_symbols): Handle weak symbols. (ecoff_setup_ext): Likewise. * ecoff.h (ecoff_directive_extern): Declare. (ecoff_directive_weakext): Declare. * symbols.c (S_IS_WEAK): New function. * symbols.h (S_IS_WEAK): Declare. * config/obj-ecoff.c (obj_pseudo_table): Add "extern" and "weakext". * config/tc-mips.c (mips_pseudo_table): Remove "extern". (s_extern): Remove.
1995-07-05 * ecoff.c (ecoff_debugging_seen): New global variable.Ian Lance Taylor1-11/+25
(ecoff_directive_def): Set ecoff_debugging_seen. (ecoff_stab): Likewise. * ecoff.h: Make idempotent. (ecoff_debugging_seen): Declare. * config/tc-mips.c: Include ecoff.h. (mips_debug): New static variable. (s_stringer, s_mips_space): Remove unneeded declarations. (md_parse_option): In case 'g', set mips_debug to debugging level. (mips_local_label): New function. * tc-mips.h (LOCAL_LABEL): Call mips_local_label. (mips_local_label): Declare. PR 6978.
1994-10-22 * config/tc-mips.c (md_pseudo_table): If OBJ_ELF, handle .section.Ian Lance Taylor1-2/+7
(s_elf_section): New static function. * ecoff.c (ecoff_build_symbols): Don't abort if we don't recognize the section when setting the storage class; default to sc_Data.
1994-09-12 * config/tc-mips.c (md_pseudo_table): Handle .globl and .global.Ian Lance Taylor1-7/+10
(s_mips_globl): New static function; needed for Irix 5 support. * ecoff.c (ecoff_build_symbols): If BSF_FUNCTION is set for an external symbol with no type, set the type to st_Proc rather than st_Global. Don't set the index of an external st_Proc or st_StaticProc symbol unless it is also a local symbol.
1994-09-09Modified Files:Kung Hsu1-5/+66
ChangeLog read.h read.c ecoff.h ecoff.c * read.h : ditto. * read.c (read_a_source_file): if no file when inst is read, set generate_asm_lineno to true. * ecoff.h : change name to generate_asm_lineno and add function ecoff_no_current_file. * ecoff.c : change name to generate_asm_lineno. * ecoff.c (ecoff_generate_asm_lineno) : new function, to generate ecoff style line for asm file.
1994-09-02 * ecoff.c (add_file): Don't try to generate line numbers if theIan Lance Taylor1-9/+16
symbol table has been frozen.
1994-08-24gcc lint.Ian Lance Taylor1-8/+17
* as.c (main): Move a inside the #if 0 block which uses it. * ecoff.c (current_stabs_filename): Make const. * frags.h (frag_align_pattern): Declare. * gasp.c (new_file): Cast isp to long, and use %ld to print it. * config/tc-alpha.h (md_operand): Add cast to void. (alpha_do_align): Declare argument types. (tc_get_register): Declare. (alpha_frob_ecoff_data): Declare. * config/tc-alpha.c: Include <ctype.h>. (s_mask): Don't declare; does not exist. (line_comment_chars): Remove /* from descriptive comment. (tc_get_register): Remove unused local reg. (tc_gen_reloc): Don't bother to compare unsigned to zero. (s_base): Correct warning to actually print register number. (md_begin): Remove unused locals retval, lose, and i. (alpha_fix_adjustable): Move default case inside switch to avoid warning. (load_symbol_address): Remove unused locals reloc_addr, p, sym, and addend. (emit_byte_manip_r): Declare types for all arguments. (emit_extract_r, emit_insert_r, emit_mask_r): Likewise. (emit_sign_extend, emit_bis_r, s_proc): Likewise. (alpha_ip): Use sprint_value to print offsetT value. Remove unused local size. Remove unused label get_macro. (alpha_do_align): Make fill const. (md_apply_fix): Remove unused label check_zov.
1994-07-09 * ecoff.c (ecoff_build_lineno): Handle count correctly for lastIan Lance Taylor1-1/+5
line number.
1994-07-08Modified Files:Kung Hsu1-8/+186
read.c read.h ecoff.c ecoff.h ChangeLog * 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.
1994-02-04 * ecoff.c (ecoff_symbol_new_hook): Clear ecoff_extern_size, notIan Lance Taylor1-14/+14
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).
1994-01-25Use <= in ecoff_frob_symbol, not <.Ian Lance Taylor1-1/+1
1994-01-25 * ecoff.c (ecoff_frob_symbol): New function. Put undefinedIan Lance Taylor1-0/+34
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.
1994-01-17 * ecoff.h (ecoff_set_gp_prolog_size): Declare.Ian Lance Taylor1-0/+1
* ecoff.c (ecoff_set_gp_prolog_size): Return type is void.
1994-01-14(ecoff_set_gp_prolog_size): New function.Ken Raeburn1-115/+99
(current_file_idx): New static variable. (add_file): Use and increment current_file_idx instead of indx parameter. Also removed trailing whitespace from lines.
1993-11-17New files for ECOFF debugging split out of config/obj-ecoff.c.Ian Lance Taylor1-0/+4934