aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1993-10-13 * config/obj-ecoff.c (ecoff_build_symbols): Handle st_End symbolIan Lance Taylor1-0/+3
for st_StaticProc just like st_Proc.
1993-10-13 * write.c (relax_and_size_all_segments): Moved #endif for OBJ_BOUTIan Lance Taylor1-0/+6
so that OBJ_BOUT doesn't forget to adjust all the fragments in the .bss section. Fixes critical PR 3600.
1993-10-12 * config/tc-mips.c: If OBJ_ELF, include elf/mips.h.Ian Lance Taylor2-0/+62
(mips_regmask_frag): New static variable, if OBJ_ELF. (md_begin): If OBJ_ELF, create .reginfo section and set mips_regmask_frag to a frag. (mips_elf_final_processing): New function, if OBJ_ELF. Set mips_regmask_frag to register mask information. * config/tc-mips.h (elf_tc_final_processing): New macro, defined if OBJ_ELF.
1993-10-12messages.c (as_fatal): use myname in printed messageKen Raeburn1-0/+2
1993-10-12more null/empty string fixupsKen Raeburn4-4/+16
1993-10-11 fix for pr 3571Steve Chamberlain1-0/+8
* config/tc-h8300.c (get_specific): Special action if 8 bit address seen. (check_operand): Don't complain if truncating top bits of an 8 bit address. (build_bytes): Allow an immediate and an absolute in the same insn.
1993-10-11 * write.c (write_contents): Don't crash if seginfo is NULL.Ian Lance Taylor3-8/+34
* config/obj-ecoff.c (ecoff_frob_file): Write out register masks by modifying .reginfo section, not by directly modifying BFD backend data.
1993-10-11remove extern time() declDavid D. Zuhn2-1/+4
1993-10-11 * messages.c (as_fatal): Do mention that it's the assembler thatKen Raeburn2-11/+53
got the fatal error.
1993-10-08 * config/tc-mips.c (mips_gprmask, mips_cprmask): New variables toIan Lance Taylor4-201/+215
hold register masks. (md_begin): Initialize them to zero. (append_insn): Update mips_gprmask and mips_cprmask. Also add register variables pinfo and prev_pinfo. * config/tc-mips.h (mips_gprmask, mips_cprmask): Declare. * config/obj-ecoff.c (ecoff_frob_file): If TC_MIPS, set gprmask and cprmask from mips_gprmask and mips_cprmask.
1993-10-08 * config/tc-mips.h: Define TARGET_FORMAT if OBJ_ELF.Ian Lance Taylor3-27/+81
* config/tc-mips.c (GPOPT): Define if OBJ_ECOFF or OBJ_ELF. (various): Change all references to GP references to apply if GPOPT, not if OBJ_ECOFF. (s_change_sec): Rearrange somewhat. If OBJ_ELF, use .rodata instead of .rdata. If OBJ_ELF, set section flags for .rodata and .sdata sections. (s_frame, s_loc, s_mask): Comment out entire functions, rather than just body. They're not used anyhow. * configure.in: Set cpu_type to mips for mips*. Accept mips-*-elfl* and mips-*-elf*.
1993-10-08Thu Oct 7 18:36:29 1993 Michael Meissner (meissner@osf.org)Ian Lance Taylor1-0/+5
* config/obj-elf.c (obj_elf_common): Allow the alignment field to not be specified.
1993-10-06 * config/tc-mips.c (cons_fix_new_mips): New function. TurnIan Lance Taylor3-3/+50
BFD_RELOC_64 into BFD_RELOC_32. * config/tc-mips.h (TC_CONS_FIX_NEW): Define. (cons_fix_new_mips): Declare.
1993-10-06 Changes to let cons handle bignums like general expressions.Ian Lance Taylor6-644/+511
* expr.h (expressionS): New field X_unsigned. * expr.c (operand): Initialize X_unsigned to 1. Set it to 0 for unary minus case. (expr) Fix typo resultP to right if missing operand. Set X_unsigned to 1 when building new expression. * read.c (potable): Make "octa" and "quad" call cons, not big_cons. (cons): Handle bignums. If given an O_constant (small integer) to fill a big space, turn it into a bignum. (parse_bitfield_cons): Set X_unsigned field. (bignum_low, bignum_limit, bignum_high, grow_bignum, big_cons): Removed. * read.h (big_cons): Remove prototype. * symbols.c (resolve_symbol_value): Don't give a warning if a symbol in expr_section can not be resolved. (S_SET_VALUE): Clear X_unsigned. * write.c (write_object_file): If resolve_symbol_value failed on a symbol we are writing out, give a warning. * config/tc-h8500.c (parse_reglist): Set X_unsigned. * config/tc-hppa.c (md_pseudo_table): Change "octa" and "quad" to call pa_cons, not pa_big_cons. (pa_big_cons): Remove. * config/tc-hppa.h (pa_big_cons): Remove declaration. * config/tc-i960.c (md_pseudo_table): Change "quad" to call cons, not big_cons.
1993-10-04 * read.c (big_cons): Handle "0" correctly.Ian Lance Taylor1-0/+6
* config/tc-mips.c (md_begin): Set target_big_endian correctly.
1993-10-04configure.in: Alphabetize list of cpu type alternatives. Enable OS values ofKen Raeburn1-0/+5
"linux*elf*" and "linux*coff*" to select those formats, with linux emulation. Don't bother checking for upper- or mixed-case versions of "ose".
1993-10-04tc-m68k.c changeKen Raeburn1-0/+10
1993-09-29correct a few mistakes found while extending the dissassembler.K. Richard Pixley2-3/+8
1993-09-28Keep te-lynx.hStan Shebs1-0/+1
1993-09-28More Lynx support, plus better stabs-in-coff generation.Stan Shebs4-4/+126
1993-09-28Whitespace/comment cleanup. Use PARAMS in tc-vax.c.Ken Raeburn6-12/+27
Make various routines return null pointer instead of empty string for success indication.
1993-09-27expr.c (expr) [DIFF_EXPR_OK]: Permit subtraction of symbols in different segs.Ken Raeburn1-0/+3
1993-09-27some 68k pic stuffKen Raeburn1-0/+12
1993-09-27define DIFF_EXPR_OKKen Raeburn1-26/+33
1993-09-27(flag_want_pic): New variable, mostly ignored.Ken Raeburn1-0/+19
(md_parse_option) [TE_SUN3]: Set it for "-k". (m68k_ip): Generate proper fixup for mode 7.3.
1993-09-25minor tc-m68k.c changesKen Raeburn1-0/+7
1993-09-25Moved struct m68k_incant and related macros earlier in the file.Ken Raeburn1-278/+286
Make insop and add_exp functions for readability. Whitespace/comment changes.
1993-09-24 * config/tc-m88k.c (get_o6): new function.K. Richard Pixley2-32/+72
(get_bf, get_cmp, get_cnd, get_cr, get_fcr, get_imm16, get_reg, get_vec9, getval, get_pcr, calcop, match_name): make static and prototype. (s_file): remove extraneous forward decl. (md_begin): add const to retval decl. (calcop): cope with instructions without arguments. Handle 'o' type argument, the o6 field of the prot insn. (md_estimate_size_before_relax): return a dummy value.
1993-09-24 * config/m88k-opcode.h (m88k_opcodes): comment change; o6 field isK. Richard Pixley2-4/+37
in bits 10 through 7. flt.[dxs]s requires an r register in the second argument. New instruction lda.x. New instruction muls (alias for mul).
1993-09-24 * config/tc-mips.c (md_begin): Set BFD architecture and machineIan Lance Taylor1-0/+19
based on MIPS ISA level.
1993-09-23Add some "setup_xfail" commands, correct at least for sun4 native.Ken Raeburn2-0/+77
1993-09-23obj-coffbfd relax_align changeKen Raeburn1-0/+4
1993-09-23relax_align is now staticKen Raeburn1-1/+1
1993-09-21Whitespace/comment fixups.Ken Raeburn1-65/+45
Mention a29k, not sparc, in error messages and comments.
1993-09-20 * read.c (get_stab_string_offset): Make non-static. MakeIan Lance Taylor2-4/+42
arguments const. Don't align strings to 4 byte boundaries. * read.h: Declare get_stab_string_offset. * config/obj-elf.c (obj_elf_section): Set SEC_ALLOC as well as SEC_LOAD for progbits section. (obj_elf_init_stab_section): New function. (adjust_stab_sections): Add casts to avoid warnings. * config/obj-elf.h (INIT_STAB_SECTION): Call obj_elf_init_stab_section. (OBJ_PROCESS_STAB): Removed definition.
1993-09-17 * config/obj-elf.h (S_GET_SIZE): Define.Ian Lance Taylor2-8/+32
(obj_frob_forward_symbol): Define. * config/tc-i386.c (line_comment_chars): Initialize in all cases.
1993-09-16 * tc.h: Declare tc_gen_reloc differently depending upongIan Lance Taylor2-11/+50
RELOC_EXPANSION_POSSIBLE. * config/obj-elf.c (obj_elf_section): Only set flags when first creating the section.
1993-09-14 * config/obj-elf.c (obj_elf_data, obj_elf_text): New functions;Ian Lance Taylor1-0/+9
set previous_section and previous_subsection and then call s_data and s_text, respectively. (obj_pseudo_table): Add data and text. (obj_elf_section): Add SEC_LOAD to default initialization of flags. Treat .rodata1 like .rodata. Set SEC_LOAD as well as SEC_ALLOC for "alloc" string. Don't bother trying to find the section; just use subseg_new.
1993-09-14Some more gcc lint, and:Ian Lance Taylor9-821/+116
* read.c (change_to_section): Removed. This is now done by subseg_new. (get_stab_string_offset): Rearranged somewhat. Create the section using subseg_new. Store the string index in seg_info, rather than in a static variable. Force the first string to be empty. Use frag_more rather than FRAG_APPEND_1_CHAR. (s_stab_generic): Rewrote. * subsegs.h (segment_info_type): Added stabu union. * subsegs.c (subseg_new): Initialize stab_string_size to 0. * config/obj-aout.c: Don't include aout/stab_gnu.h. (obj_aout_stab, obj_aout_desc): Removed. (obj_pseudo_table): Removed desc and stabX entries. * config/obj-bout.c: Same changes as config/obj-aout.c. * config/obj-bout.h (S_SET_TYPE): Define. (tc_bout_fix_to_chars): Declare. * config/obj-coff.c (obj_coff_stab): Removed. (obj_pseudo_table): Removed desc and stabX entries. * config/obj-coff.h (SEPARATE_STAB_SECTIONS): Define. * config/obj-coffbfd.c (current_stab_symbol): Removed. * config/obj-coffbfd.h (obj_symbol_type): Removed n_strx, n_type, n_other, n_desc and n_value fields. (S_{S,G}ET_{OFFSET,OTHER,TYPE,DESC}): Removed. (MAKE_STAB_SYMBOL): Removed. * config/obj-ecoff.c (obj_ecoff_stab): Renamed to ecoff_stab. Changed arguments and removed parsing code. (obj_pseudo_table): Removed stabX entries. * config/obj-ecoff.h (ecoff_stab): Declare. (OBJ_PROCESS_STAB): Define. * config/obj-elf.c: Don't include aout/stab_gnu.h. (obj_elf_stab, obj_elf_xstab, obj_elf_desc, elf_stab_symbol_string, elf_stab_symbol, obj_elf_stab_generic): Removed. (obj_pseudo_table): Removed desc, stabX and xstabs entries. (obj_elf_version): Use subseg_new, not bfd_make_section. Don't set SEC_LOAD for .note section. (adjust_stab_sections): Get frag pointer from seg_info, rather than looking through frags. * config/obj-elf.h (S_{S,G}ET_{OTHER,TYPE,DESC}): Removed. (SEPARATE_STAB_SECTIONS, INIT_STAB_SECTION, OBJ_PROCESS_STAB): Define. * config/obj-vms.c (obj_aout_stab): Removed. (obj_pseudo_table): Removed stabX entries. * config/obj-vms.h (S_SET_TYPE): Define.
1993-09-13 * subsegs.c: Renamed non-BFD_ASSEMBLER subseg_new to subseg_set.Ian Lance Taylor16-547/+729
Wrote non-BFD_ASSEMBLER subseg_new. Now subseg_new always takes a section name, and subseg_set always takes a segT. Changed all callers as appropriate. * config/obj-coffbfd.c (change_to_section): Renamed to obj_coff_add_segment. Corrected. Made callers use subseg_new. * config/obj-coffbfd.h (obj_segment_name, obj_add_segment): Define. Also some more gcc warning removal.
1993-09-13config/tc-sparc.h (LOCAL_LABEL): Remove test for name[0] == 'L'.David Edelsohn1-7/+70
1993-09-11More gcc lint with harsher warning options.Ian Lance Taylor3-26/+14
1993-09-10gcc lint. See ChangeLog for details. Also:Ian Lance Taylor15-817/+897
* config/obj-elf.h (S_SET_SIZE): Actually set the size.
1993-09-09gcc -Wall cleanups from UtahKen Raeburn2-33/+26
1993-09-09 * read.c (get_stab_string_offset, s_stab_generic): IfIan Lance Taylor2-4/+13
BFD_ASSEMBLER, call subseg_set rather than subseg_new.
1993-09-08 * config/obj-elf.c (obj_elf_section): Set SEC_LOAD when usingIan Lance Taylor2-2/+7
default flag values.
1993-09-08Add missing ifdef to make m68k-aout targets happy.Stan Shebs2-0/+4
1993-09-07Changes to support stabs-in-coffStan Shebs6-95/+536
1993-09-03PA and ELF changesKen Raeburn1-0/+64
1993-09-03obj-elf.h changeKen Raeburn1-0/+5