aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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
1993-09-03more Utah changes, some cleanup of mineKen Raeburn3-380/+537
1993-09-03(elf_symbol): Fixed name of elf_symbol_type.Ken Raeburn1-8/+9
No longer conditionalized on sparcv9.
1993-09-02Reverted previous change, and added this one instead:Ian Lance Taylor2-15/+20
* config/tc-mips.c (macro_build): Accept 'z', and ignore it. (macro): Use "z,s,t" for div instructions to match corresponding change in opcode table. (mips_ip): Added 'z'--must be zero register.
1993-09-02 * config/tc-mips.c (macro): If $0 is destination of divide, justIan Lance Taylor2-0/+40
generate the simple machine instruction, for compatibility with the MIPS assembler.
1993-09-01write.c, configure.in changesKen Raeburn1-0/+8
1993-09-01(write_relocs) [RELOC_EXPANSION_POSSIBLE]: Declare tc_gen_reloc correctly.Ken Raeburn1-69/+70
1993-09-01Deleted explicit "return" statements without values at the ends of functions.Ken Raeburn1-15/+20
1993-09-01add an alias for data section typeK. Richard Pixley2-0/+15
1993-08-25recognize m88110K. Richard Pixley1-0/+4
1993-08-25more hppa elf support from utahKen Raeburn1-0/+93
1993-08-23 * config/tc-mips.c (set_at): Added unsignedp argument. UseIan Lance Taylor2-250/+313
load_register. (set_at_unsigned): Removed; changed callers to use set_at. (load_register): Removed unused ip argument. Changed callers. (append_insn): Don't swap branch and branch likely. (macro_build): Handle 'u'. (load_register): Handle 64 bit constants. (macro): Added M_DABS, removed M_ABSU. Numerous changes to support 64 bit constants. (mips_ip): Use hex constants in range checks for clarity. (md_number_to_chars): Support 8 byte values.
1993-08-20comments for tc-m88k.h changeK. Richard Pixley1-0/+5
1993-08-20updated copyrights, declare TC_CONS_RELOCK. Richard Pixley1-1/+2