aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
1994-02-04Revert last change.Ian Lance Taylor1-8/+0
1994-02-04 * config/tc-mips.c (md_apply_fix): If this is an undefined symbol,Ian Lance Taylor1-0/+8
subtract the value from fx_addnumber to since bfd_perform_relocation is going to add it in.
1994-02-02 * config/tc-mips.c (file_mips_isa): New static variable.Ian Lance Taylor1-1/+21
(md_begin): Set it. (s_mipsset): Add support for .set mipN to set the ISA level.
1994-02-02* config/ho-i386aix.h: Include sys/types.h and stdlib.h, not ho-sysv.h. BasedKen Raeburn1-1/+2
loosely on a patch from Minh Tran-Le.
1994-02-01 * config/tc-mips.c (mips_ip): Make an unsupported instruction aIan Lance Taylor1-2/+1
warning, not an error.
1994-02-01 * config/obj-coffbfd.c (symbol_to_chars): bfd_coff_swap_aux_outIan Lance Taylor1-1/+1
now takes more arguments.
1994-02-01 * config/obj-coff.c (dot_text_symbol, dot_data_symbol,Ian Lance Taylor2-62/+72
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.
1994-01-30(Already checked in write.c and config/tc-alpha.c, but no log msg wentKen Raeburn1-9/+6
out because $CVSROOT was wrong...) * 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.
1994-01-30* write.c (write_object_file): If tc_frob_file is defined, call itKen Raeburn1-79/+40
just before calling obj_frob_file. * config/tc-alpha.c (alpha_gp_value): Renamed from gp_value (refs changed), 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.
1994-01-28 * config/obj-coff.c (obj_coff_section_header_append): Do notIan Lance Taylor1-9/+15
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.
1994-01-28removed rcs cruftKen Raeburn1-11/+0
1994-01-28New Alpha support files, based on files from CMU.Ken Raeburn4-0/+2819
Still to do: - fix floating-point handling - figure out if we can adapt to using ../opcodes/alpha-opc.h - gcc bootstrap testing - 32-bit mode support? - test cross-assembly
1994-01-28* as.h: If __GNUC__ and inline are both undefined, define inline away.Ken Raeburn4-265/+179
* 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. * 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/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.
1994-01-28whitespace/comment changesKen Raeburn1-13/+11
1994-01-25 * ecoff.c (ecoff_frob_symbol): New function. Put undefinedIan Lance Taylor3-93/+91
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-25 * tc-mips.c (g_switch_seen): New static variable.Ian Lance Taylor1-0/+11
(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.
1994-01-20 * config/tc-mips.c (md_pseudo_table): Add all data allocationIan Lance Taylor1-0/+7
pseudo-ops: .hword, .int, .long, .octa, .quad, .short, .single.
1994-01-19Smuggle N_WARNING symbols into BFD in obj_aout_frob_symbol.Ian Lance Taylor1-0/+5
1994-01-19 * config/tc-hppa.c: Disable multiple $CODE$ subspace code. ItJeff Law2-0/+13
confuses GDB for some unknown reason. * cofnig/obj-som.c: Likewise.
1994-01-19 * config/obj-coffbfd.c (obj_coff_endef): For C_EFCN, C_BLOCK andSteve Chamberlain1-1/+7
C_FCN assume .val has been set to .
1994-01-18 * config/obj-aout.c (obj_aout_frob_symbol): Try to get symbolsIan Lance Taylor1-206/+18
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.
1994-01-17Comment and whitespace changes.Ian Lance Taylor1-5/+53
1994-01-17 * config/tc-hppa.c (pa_ip): Explicitly check for comma before 'u'Jeff Law1-0/+4
and 'f' template operand.
1994-01-17 * config/tc-hppa.c (pa_ip): Handle 'N', 'O', 'o', '0', '1', 'u',Jeff Law1-4/+48
and '2' in copr and sfu instruction templates.
1994-01-15* config/obj-elf.c (obj_elf_section): Fix loop termination test.David Edelsohn1-30/+101
1994-01-13 * config/obj-som.c (som_frob_file): Call adjust_code_sectionsJeff Law2-16/+89
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.
1994-01-13 * config/tc-hppa.c (hppa_fix_struct): Add new "segment" field.Jeff Law1-5/+17
(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.
1994-01-11 * config/obj-elf.c: If TC_MIPS, include elf/mips.h.Ian Lance Taylor1-0/+12
(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.
1994-01-11 * config/tc-mips.c (macro): Corrected $at warnings in a couple ofIan Lance Taylor1-2/+4
spots.
1994-01-11 * listing.c (listing_prev_line): New function.Ian Lance Taylor1-0/+2
* 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.
1994-01-11Set lose_these_too correctlyStan Shebs1-0/+2
1994-01-10 * config/tc-hppa.c (pa_ip): Put check for missing label on .PROCJeff Law1-166/+172
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.
1994-01-09keep te-netbsd.hKen Raeburn1-0/+1
1994-01-09te-netbsd.h: New file.Ken Raeburn1-0/+31
tc-i386.h (TARGET_FORMAT) [TE_NetBSD]: Use a.out-netbsd-386 for this config.
1994-01-07Fri Jan 7 11:18:48 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+2
* mpw-make.in: Replace 8-bit chars with their names. * config/ho-mpw.h (LOSING_COMPILER): Define.
1994-01-07Fri Jan 7 11:14:07 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+45
* config/tc-mips.c (macro): Add a LOSING_COMPILER ifdef that splits the function. (macro2): New function, if LOSING_COMPILER defined.
1994-01-07 * config/obj-coffbfd.c (fill_section): Don't ever fill past theSteve Chamberlain1-2/+11
end of a section. (write_object_file): Temporary fix - setup stdoutput.
1994-01-06fix sparc-solaris reloc bugKen Raeburn1-3/+1
1994-01-06 * config/tc-mips.c (mips_ip): Warn about using $1 as well as $atIan Lance Taylor1-63/+9
without .set noat.
1994-01-06(TARGET_FORMAT) [OBJ_AOUT]: Fix for new names in bfd.Ken Raeburn1-9/+14
1994-01-05 * config/ho-vsta.h, configure.in, .Sanitize: Add support for VSTaRob Savoye2-0/+28
micro-kernel.
1994-01-04Tue Jan 4 15:12:43 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-6/+3
* 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.
1994-01-04fix the .SanitizeStan Shebs1-5/+5
1994-01-04Mon Jan 3 10:47:37 1994 Stan Shebs (shebs@andros.cygnus.com)Stan Shebs1-0/+76
* config.sub: Add MPW-related aliases. * mpw-configure: New file, MPW version of configure. * mpw-config.in: New file, MPW version of configure.in. * mpw-xconfig.in: New file, addon to configure.in. Mon Jan 3 12:42:45 1994 Stan Shebs (shebs@andros.cygnus.com) * mpw-xconfig.in: New file, mpw x mips configuration bits.
1993-12-20* as.c (main): Only invoke md_end if it's defined as a macro.Ken Raeburn6-57/+16
* 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.
1993-12-20whitespaceKen Raeburn1-1/+0
1993-12-16* config/tc-vax.c (tc_aout_fix_to_chars): Local variable NBYTES_R_LENGTH nowKen Raeburn8-217/+69
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.
1993-12-15 * config/tc-hppa.c (md_apply_fix): Handle cases where noJeff Law1-1/+8
relocation will be emitted for 32bit formats.
1993-12-14 * config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjustJeff Law1-1/+4
for any of the 'T' field selectors.
1993-12-11 * config/tc-h8500.c (build_bytes): Get reloc type right for aSteve Chamberlain3-237/+279
%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.