aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1993-07-14 * Removed sy_forward and replaced it with an undefined expressionIan Lance Taylor12-113/+656
as the value of a symbol. * struc-symbol.h (struct symbol): Removed sy_forward field. Added sy_resolved and sy_resolving single bit fields. * symbols.c (symbol_new): Don't initialize sy_forward field. (resolve_symbol_value): New function to adjust symbol value by fragment address, using recursion to resolve forward symbols. * symbols.h: Added prototype for new function. * read.c (pseudo_set): Set symbolP->sy_value to an undefined expression rather than setting symbolP->sy_forward. * write.c (write_object_file): Use resolve_symbol_value on symbols, keeping the common case (the old behaviour) inline. * config/obj-aout.c (obj_aout_frob_symbol): Removed sy_forward handling (subsumed by write.c change). * config/obj-coff.c, config/obj-coffbfd.c (obj_coff_val): Set sy_value rather than sy_forward. * config/obj-coffbfd.c (obj_coff_endef, yank_symbols): Check expression segment rather than sy_forward. (yank_symbols): Use resolve_symbol_value. (crawl_symbols): Removed extra pass over symbols. * config/obj-aout.c, config/obj-bout.c, config/obj-coff.c, config/obj-vms.c (obj_crawl_symbol_chain): Removed extra pass over symbols which handled sy_forward; use resolve_symbol_value instead. * config/obj-coff.h, config/obj-coffbfd.h (obj_frob_forward_symbol): Define. * config/obj-elf.c (obj_elf_stab_generic): Check expression segment rather than sy_forward. * config/obj-vms.c (VMS_Check_For_Main): Don't initialize sy_forward; do initialize sy_resolved and sy_resolving. * config/tc-hppa.h (STAB_FIXUP): Use sy_value, not sy_forward.
1993-07-14 * Changes to keep a full expression as the value of a symbol, notIan Lance Taylor18-880/+1460
just a longword: * struc-symbol.h: New field sy_value. * as.h: Include expr.h before struc-symbol.h. * expr.h: Use struct symbol rather than symbolS. * symbols.c (S_GET_VALUE, S_SET_VALUE): Rewrote to retrieve value of sy_value field; compile unconditionally, not just if BFD_ASSEMBLER. * symbols.h: Compile S_{SG}ET_VALUE prototypes unconditionally. * write.c (write_object_file): Set BFD symbol value to gas symbol value. * config/obj-aout.h, config/obj-bout.h, config/obj-coff.h, config/obj-coffbfd.h, config/obj-generic.h, config/obj-vms.h (S_GET_VALUE, S_SET_VALUE): Removed macro definitions. * config/obj-ieee.c (S_GET_VALUE, S_SET_VALUE): Removed. * config/obj-coff.h, obj-coffbfd.h: Rewrote several macros to use S_GET_VALUE rather than ost_entry.n_value. * config/obj-aout.c (obj_symbol_to_chars), config/obj-bout.c (obj_symbol_to_chars), config/obj-coff.c (obj_symbol_to_chars), config/obj-coffbfd.c (symbol_to_chars): Get value to write out using S_GET_VALUE--don't assume it is already set. * config/obj-ieee.c (do_symbols): Set BFD symbol value to gas symbol value. * config/obj-vms.c (various): Don't assign directly to S_GET_VALUE; use S_SET_VALUE instead.
1993-07-14* configure.in: Make sparc64-*-aout* use bfd gas.David Edelsohn1-0/+4
1993-07-14* configure.in: Recognize h8300h.David Edelsohn1-0/+4
1993-07-14Recognize h8300h.David Edelsohn1-2/+4
Make sparc64-*-aout* use bfd gas.
1993-07-13cvs core dumps again...Steve Chamberlain1-4/+3
1993-07-13 * config/tc-h8500.c (line_comment_chars): Add hash.Steve Chamberlain2-7/+41
(parse_exp, skip_colonthing, build_bytes): Add support for R_H8500_HIGH16 relocation type.
1993-07-12fix definitions of md_create_long_jump, md_create_short_jump,Mark Eichin11-2135/+10727
md_number_to_chars, and md_section_align to correctly use valueT and addressT
1993-07-12update use of valueT and addressTMark Eichin1-6/+6
1993-07-12config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.Ken Raeburn2-1/+7
Handle `execinstr' attribute.
1993-07-12 * config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch ifIan Lance Taylor2-2/+17
there is another alternative for the instruction.
1993-07-10doc/as.texinfoRoland Pesch1-0/+4
1993-07-10Updates for Hitachi H8/300HRoland Pesch1-146/+243
1993-07-09Clean up some of the obvious m88k bitrot.Ian Lance Taylor2-16/+16
It still doesn't actually compile, though.
1993-07-08put CROSS definition into the MakefileDavid D. Zuhn1-2/+2
1993-07-08Oops, not all of the tc-sparc.c change was format-independent.Ken Raeburn2-1/+3
Still handles both syntaxes independent of format.
1993-07-08changelog for tc-i960 changeMark Eichin1-0/+6
1993-07-08Thu Jul 8 14:41:43 1993 Mark Eichin (eichin@cygnus.com)Mark Eichin1-86/+93
* config/tc-i960.c (md_create_short_jump, md_create_long_jump, md_number_to_chars, md_section_align): Adjusted to use valueT, addressT, to match tc.h.
1993-07-08config/tc-sparc.c (s_common): Revamp to handle both syntaxes, and not beKen Raeburn2-24/+37
target-specific.
1993-07-08config/tc-h8300.h (TC_CONS_RELOC): Use R_RELLONG if h8/300h.David Edelsohn1-0/+4
1993-07-08define CROSS is cross compilationDavid D. Zuhn1-2/+14
1993-07-08define CROSS is cross compilationDavid D. Zuhn1-0/+5
1993-07-07 * symbols.c (fb_label_instance, fb_label_instance_inc): Don't dumpIan Lance Taylor2-13/+25
core just because somebody uses a label before it is defined.
1993-07-07This file was not removed last time. Why??Ian Lance Taylor1-656/+0
1993-07-07 * config/mips-opcode.h: Moved to opcode/mips.h.Ian Lance Taylor6-93/+135
* config/tc-mips.c: Include opcode/mips.h rather than mips-opcode.h. (append_insn): An extra NOP is only needed after instructions which set HI or LO, not after instructions which read it. (macro_build, mips_ip): Support new 'E', 'G' and 'B' arguments. (macro): cfc1 and ctc1 now take "t,G" rather than "t,d". * config/tc-mips.h (struct mips_opcode): Don't define. * config/mips-big.mt, config/mips-lit.mt (TARG_CPU_DEPENDENTS): Set to $(srcdir)/../include/opcode/mips.h. Get the MIPS assembler up to speed with other gas changes: * config/obj-ecoff.c (ecoff_set_vma, ecoff_frob_symbol): Removed; don't change the symbol value. (ecoff_build_symbols, ecoff_build_procs, ecoff_frob_file): Use bfd_asymbol_value rather than S_GET_VALUE to include section vma in symbol value. (ecoff_frob_file): Ignore BSF_SECTION_SYM symbols, since ECOFF doesn't output them. Set the vma of sections. * config/obj-ecoff.h: Don't define obj_frob_symbol. * config/tc-mips.c (tc_gen_reloc): Adjustment by section vma is no longer necessary. (various): use valueT rather than long.
1993-07-07Various entries.Ian Lance Taylor1-0/+27
1993-07-07Typedef changes. V9 work.Ken Raeburn2-0/+65
1993-07-07(sparc_ip): Initialize `len' variable to make gcc shut up.Ken Raeburn1-185/+153
(md_create_short_jump, md_create_long_jump, md_number_to_chars, md_section_align): Adjusted for new interface. (s_reserve): Permit use for other than a.out format. (s_common): Handle Solaris-2 version. (s_xword): For numbers, call big_cons. (sparc_ip, md_apply_fix, tc_gen_reloc): Handle some sparc64 reloc types. (md_number_to_chars): Handle 8-byte values.
1993-07-07(md_create_short_jump, md_create_long_jump,Ken Raeburn1-60/+66
md_number_to_chars, md_section_align): Adjusted for new interface.
1993-07-07Change various calls (e.g., to symbol_new, md_number_to_chars) to castKen Raeburn1-798/+412
valueT or addressT arguments to correct types.
1993-07-07(struct fix): Fields fx_offset and fx_addnumber are now type valueT.Ken Raeburn1-46/+48
(fix_new): Argument offset is now type offsetT.
1993-07-07(write_object_file): Locals from_addr, to_addr, table_addr are now addressT.Ken Raeburn1-134/+276
Supply prototype for bfd_alloc for now. (fixup_segment): Local add_number is now valueT. Fix some range-checking bugs. (relax_align): Type `int' should be sufficient for the exponent. (fix_new): Argument offset is offsetT. Locals size and newsize are valueT.
1993-07-07* symbols.c (symbol_new): Symbol value is type valueT.Ken Raeburn2-250/+328
(S_SET_VALUE, S_GET_VALUE): Likewise. (S_IS_*): Specify int return type explicitly. * symbols.h (symbol_new, S_GET_VALUE, S_SET_VALUE): Fixed prototypes.
1993-07-07(obj_elf_frob_symbol, elf_frob_file, elf_file_symbol): Declare.Ken Raeburn1-0/+72
(elf_symbol): For sparc v9, use 64-bit symbol type.
1993-07-07clean v9 from obj-elf.hKen Raeburn1-1/+7
1993-07-07Define ENV64 for sparc v9.Ken Raeburn1-7/+33
1993-07-07(free): Returns void if __STDC__.Ken Raeburn1-1/+2
1993-07-07(s_comm): Values read are type valueT.Ken Raeburn1-302/+385
1993-07-07(expressionS): Field X_add_number is an offsetT.Ken Raeburn1-26/+18
1993-07-07(integer_constant, floating_constant): Now return void.Ken Raeburn1-58/+58
1993-07-07move valueT typedef to as.h from struc-symbol.hKen Raeburn2-54/+102
1993-07-07localize a conditionally used variableKen Raeburn1-35/+41
1993-07-02fix declsDavid D. Zuhn2-2/+1
1993-06-30 * read.c (cons): Conditionalize parsing of expression. MoveIan Lance Taylor2-5/+192
putting value into object file into separate function. Separate out MRI and WANT_BITFIELDS cases into separate functions. (emit_expr): New function to write data into object file. Conditionalize on TC_CONS_FIX_NEW and TC_CONS_RELOC rather than on processor types. (parse_bitfield_cons): New function to parse bitfield expressions as used by i960 assemblers. Only compiled if BITFIELD_CONS_EXPRESSIONS is defined. (parse_mri_cons): New function to parse MRI style strings. Only compiled if MRI is defined. (parse_repeat_cons): New function to parse repeat counts. Only compiled if REPEAT_CONS_EXPRESSIONS is defined. * read.h (emit_expr): Added declaration of new function. * config/tc-a29k.h (TC_CONS_RELOC): Define to be RELOC_32. * config/tc-h8300.h (TC_CONS_RELOC): Define to be R_RELWORD. * config/tc-hppa.c (parse_cons_expression_hppa): New function to parse a HPPA expression, rather than special case in cons function. (cons_fix_new_hppa): New function to emit an HPPA fixup, rather than special case in emit_expr function. * config/tc-hppa.h (TC_PARSE_CONS_EXPRESSION, TC_CONS_FIX_NEW): Define to use new functions from tc-hppa.c. * config/tc-i960.h (BITFIELD_CONS_EXPRESSIONS): Define. (WANT_BITFIELDS): Removed; now obsolete. * config/tc-mips.h (REPEAT_CONS_EXPRESSIONS): Define. * config/tc-ns32k.c (cons_fix_new_ns32k): New function to emit an NS32K fixup, rather than special case in emit_expr function. * config/tc-ns32k.h (TC_CONS_FIX_NEW): Define to be cons_fix_new_ns32k. Also use PARAMS rather than checking __STDC__. * config/tc-sparc.h (TC_CONS_RELOC): Define to RELOC_32. * write.c (relax_and_size_seg, adjust_reloc_syms, write_contents): Don't core dump if gas has no information about a section.
1993-06-30sparc64 changesKen Raeburn1-0/+11
1993-06-30New files for sparc64 cpu.Ken Raeburn3-1/+8
1993-06-29fix HPUX hosting problemsDavid D. Zuhn2-9/+24
1993-06-25* config/sparc.c (sparc_ip): Remove support for %d/%q fp regs.David Edelsohn1-0/+6
All fp regs are now specified as %f. (priv_reg_table): fpq -> fq.
1993-06-25(tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP22 relocation.Ken Raeburn1-83/+263
(s_local) [OBJ_ELF]: New function. (md_pseudo_table) [OBJ_ELF]: Call it for "local". (s_common): Rearrange to handle Solaris .common pseudo, which may sometimes use bss space instead of common. (md_parse_option) [OBJ_ELF]: Print version id for -V. Ignore -Q and -s options for now.
1993-06-20(INCLUDES): Look in ../bfd, not ../include, for bfd.h.Ken Raeburn1-1/+1