aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1995-01-16add w65 stuff.Steve Chamberlain1-0/+3
1995-01-16 * config/tc-w65.c, config/tc-w65.h, config/w65.mt: Newfiles.Steve Chamberlain4-0/+1305
* config/obj-coff.h: Cope with w65. * configure, configure.in: Recognize w65.
1995-01-13note deletion of hex-value.cKen Raeburn1-1/+0
1995-01-13* app.c (do_scrub_next_char) [__GNUC__ && __OPTIMIZE__]: If `get' function isKen Raeburn1-0/+4
scrub_from_file, call scrub_from_file directly, and get gcc's inlining capability into the act.
1995-01-12delete references to hex-value.cKen Raeburn2-2/+4
1995-01-12Use new hex-value code in libiberty:Ken Raeburn4-78/+33
* Makefile.in (VMS_OTHER_OBJS): Add ../libiberty/hex.o. (OBJS): Delete hex-value.o. (REAL_SOURCES): Delete hex-value.c. (hex-value.o): Delete dependencies. * hex-value.c: Deleted. * as.c (main): Call hex_init. * expr.c, config/tc-mips.c: Include libiberty.h. Replace hex_value array references with hex_* macros.
1995-01-12For COFF targets, make sure F_RELFLG is set exactly when no relocs are present,Ken Raeburn4-9/+18
instead of making it depend solely on the target CPU.
1995-01-12Don't generate 68020 addressing modes for a 68000 cpu.Ken Raeburn1-0/+6
1995-01-10 * gas/hppa/unsorted/unsorted.exp (align4.s): Fix glitch inJeff Law1-0/+5
regexp to avoid losing without a controlling tty.
1995-01-10* config/obj-coff.c (write_object_file): Don't treat h8300 and z8k speciallyKen Raeburn2-1/+8
with regard to fixups.
1995-01-10* config/tc-mips.c (RELAX_RELOC1, RELAX_RELOC2): Cast values to bfd_vma beforeKen Raeburn2-2/+5
subtracting.
1995-01-10* config/obj-coff.c (size_section): Handle rs_space like rs_fill, but make sureKen Raeburn2-0/+10
fr_symbol is null. (fill_section): Ditto.
1995-01-08 * config/tc-mips.c (mips_ip): Fix handling of floating pointIan Lance Taylor2-6/+11
values when GPOPT is not defined.
1995-01-06* config/tc-alpha.c (alpha_ip): Delay calls to emit_add64 until after anyKen Raeburn2-55/+77
remaining operands are also known to match.
1995-01-06* gasp.c: Include string.h. Put config.h before other includes.Ken Raeburn2-1/+6
1994-12-31Handle .space directive with non-constant operand:Ken Raeburn3-22/+83
* read.c (s_space): Rewrite to handle general expressions. Generate rs_space frags for non-constant values. * write.c (cvt_frag_to_fill): Treat rs_align_code and rs_space like rs_align and rs_org. Verify that fr_offset is non-negative, and force frag type to rs_fill only after assertion checks. (relax_segment): Treat rs_align_code like rs_align. Treat rs_space like rs_org in the first switch; in the second, force the operand to a constant, and use it for the growth size.
1994-12-30* as.h (relax_substateT): Now defined to be unsigned int.Ken Raeburn1-20/+30
(relax_stateT): Separate typedef from enum definition. (enum _relax_state): Reordered for better punctuation. Added new values rs_align_code and rs_space. (lineno, struct lineno_struct): Unused, deleted. For friendlier assertion-failure messages: * as.h: No longer include assert.h. (as_assert): Declare. (assert): New definition, calls as_assert longer needed. (__PRETTY_FUNCTION__): Provide default for older versions of gcc. * messages.c (as_assert): New function. * gdbinit.in: Put a breakpoint there.
1994-12-30* Makefile.in (dependencies): Make $(OBJS) depend on as.h and everything itKen Raeburn2-99/+39
includes. Delete those files from per-file dependencies.
1994-12-30* listing.c (list_symbol_table): Build a format string based on the size of theKen Raeburn2-22/+68
value to be printed, as long as "unsigned long" is at least as wide, after handling the special case of 4-byte values.
1994-12-30* gas/i386/pushw.l: Fixed whitespace to match current listing style.Ken Raeburn2-3/+28
* gas/all/gas.exp: Mark test p1480.s expected to pass, even with listings. [requires patches that'll be checked in soon]
1994-12-29 * config/tc-hppa.c (pa_subspace): For sections with the ZEROJeff Law1-0/+5
attribute, set the "bss" field in the appropriate seginfo structure.
1994-12-28* subsegs.h: Include obstack.h.Ken Raeburn2-2/+8
* as.h (struct frag): Enable align* components now.
1994-12-20* frags.c (frag_init): Call obstack_begin on `frags'.Ken Raeburn8-74/+111
* subsegs.c (subsegs_begin): Don't do it here. * as.c (main): Call frag_init before subsegs_begin. * frags.c (frag_append_1_char): New function. * frags.h (frag_append_1_char): Declare it. (FRAG_APPEND_1_CHAR): Call it. Old definition is commented out for now. * as.h (struct frag): Added (but commented out) new fields for tracking current alignment. (frag_now_fix): Changed macro to function declaration. * frags.c (frag_now_fix): Define function here. (frag_new): Use it instead of accessing `frags' directly. * frags.h (frags): Change comment to indicate it shouldn't be accessed directly. * subsegs.h (struct frchain): New field frch_obstack, intended to eventually replace global `frags' obstack. * subsegs.c (subseg_set_rest): Use frag_now_fix instead of accessing `frags' directly. Initialize fields of new frchainS explicitly instead of with memset. * config/obj-coff.c (obj_coff_ln) [!BFD_ASSEMBLER]: Use frag_now_fix. * config/tc-mips.c (s_loc), config/obj-vms.c (vms_resolve_symbol_redef), symbols.c (colon): Likewise.
1994-12-20* config/tc-m68k.c (md_apply_fix_2): Use offsetT and addressT instead of longKen Raeburn2-33/+60
and unsigned long. (md_apply_fix): Cast value before passing it.
1994-12-20* config/obj-aout.h, config/obj-coff.c, config/obj-elf.h, config/obj-som.h,Ken Raeburn5-15/+38
config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h, config/tc-sh.c, config/tc-z8k.c: Don't rely on use of ".." when including header files. * config/tc-rce.c: Ditto. * config/obj-coff.c (fixup_segment): Reformat condition in an `if' statement.
1994-12-20* Makefile.in (SUBDIR_INCLUDES): Deleted.Ken Raeburn2-1/+4
1994-12-20 * config/obj-coff.h: Include bfd/libcoff.h, not libcoff.h.Ian Lance Taylor2-23/+514
1994-12-19 * config/tc-hppa.c (pa_subspace): Make sure SEC_HAS_CONTENTS isJeff Law2-2/+6
clear for a section with the "ZERO" attribute.
1994-12-19 * config/tc-mips.c (load_register): Rewrite to handle O_big 64 bitIan Lance Taylor2-52/+95
constants. (mips_ip): Accept O_big constants in case 'I'. Change case 'i'/'j' to treat an O_big constant as an out of range value.
1994-12-19 * Reduce useless symbols for ELF in an attempt to make smallerJeff Law2-101/+115
objects and speed up the linker. * config/tc-hppa.c (struct call_info): Replace end_symbol field with a size field. (hppa_elf_mark_end_function): Delete unneeded function. (pa_build_unwind_subspace): For the 2nd unwind relocation, use the function symbol + function size instead of a special symbol for the end of the function. (process_exit): Compute the function size here. Don't call hppa_elf_mark_end_of_function anymore. (pa_procend): Likewise. (hppa_fix_adjustable): Only reject 32bit relocations for SOM. (elf_hppa_final_processing): Simplify.
1994-12-19Various arc stuff.David Edelsohn1-0/+15
1994-12-19 * config/tc-arc.c (arc_insert_operand): Change reg parm to pointerDavid Edelsohn1-0/+1272
to table entry. All callers changed. (md_shortopts): New argument -mmult. (md_parse_option): Recognize it. (md_show_usage): Print it. (md_begin): If -mmult, say we have the new multiply and shift insns. (md_assemble): Fix reloc generation for 32 bit immediate values. Clean up modifier handling. Try next insn if fake operand says there's an error. Update to new syntax of insertion/extraction fns. Recognize predefined aux regs. Don't abort if insertion fn missing.
1994-12-19* configure.in: Recognize mips-sony-bsd and mips-dec-bsd, but reject otherKen Raeburn3-21/+39
vendors until we can be sure we're consistent with bfd.
1994-12-19some cleanup of vms code -- sizeof usage &cKen Raeburn3-91/+107
1994-12-17* config/tc-h8300.c (parse_exp, get_operands, clever_message, md_assemble,Ken Raeburn2-74/+122
tc_crawl_symbol_chain, md_undefined_symbol, tc_headers_hook, md_operand, md_number_to_chars): Don't use DEFUN.
1994-12-17* config/tc-sh.c (md_begin): Don't fill in md_relax_table here.Ken Raeburn2-156/+162
(md_relax_table): Use static initialization.
1994-12-17* Makefile.in (CHECKFLAGS): Don't pass AS_FOR_TARGET, CC_FOR_TARGET,Ken Raeburn2-46/+14
OBJDUMP_FOR_TARGET, NM_FOR_TARGET; they're not used. (AS_FOR_TARGET, CC_FOR_TARGET, OBJDUMP, OBJDUMP_FOR_TARGET, NM, NM_FOR_TARGET): Don't define. (VMS_OTHER_OBJS): Add xmalloc.o and xexit.o from libiberty. (tooldir): Use exec_prefix, not libdir.
1994-12-16 * config/obj-coff.h: Include libcoff.h, not ../bfd/libcoff.h.Stan Shebs1-0/+2
1994-12-16 * as.h: Include progress.h.Stan Shebs1-0/+6
* as.c (main): Call START_PROGRESS and END_PROGRESS. (main, perform_an_assembly_pass): Call PROGRESS.
1994-12-16 * write.c (adjust_reloc_syms): Use bfd_is_und_section andIan Lance Taylor1-0/+6
bfd_is_abs_section rather than comparing against &bfd_und_section and &bfd_abs_section.
1994-12-16* Makefile.in (AS_FOR_TARGET, OBJDUMP_FOR_TARGET): Don't set.Ken Raeburn1-25/+0
(uninstall): Don't set OBJDUMP and OBJDUMPFLAGS in site.exp. * config/default.exp: Default OBJDUMP and OBJDUMPFLAGS. Use findfile and transform procedures to determine objdump program name.
1994-12-15 * config/tc-sh.c (md_begin): Use a local variable whenJim Wilson1-0/+6
initializing md_relax_table to avoid errors about modifying a const data structure.
1994-12-13 * gas/mips/jal-svr4pic.d: Fix 0-strings to work with 64-bit hostedIan Lance Taylor1-0/+5
disassembly.
1994-12-13 * config/tc-ppc.c (tc_gen_reloc): Remove OBJ_ELF hack whichIan Lance Taylor1-0/+5
appears to no longer be needed.
1994-12-13 * config/tc-mips.c (macro_build): Accept BFD_RELOC_PCREL* withoutIan Lance Taylor1-0/+7
requiring that the X_op_symbol be in the text_section. (macro): Change the test for a legel expression difference to correspond to changes in pseudo_set in read.c.
1994-12-13 * mpw-config.in: Add mapping from configs to object file formats,Stan Shebs3-18/+40
get VERSION from Makefile.in and add to mk.tmp. (mips-idt-ecoff) [TDEFINES]: Add TARGET_BYTES_BIG_ENDIAN. * mpw-make.in (VERSION, gC): Don't define. (ALL_CFLAGS): Remove -d flags. (config.h): Remove definition of MPW, add HAVE_STDARG_H, BFD_ASSEMBLER.
1994-12-10* gas/all/gas.exp (comment.s test): Make the "\r" optional, since it depends onKen Raeburn2-1/+7
tty modes. * lib/gas-defs.exp (gas_start): Try using -nottycopy instead of -nottyinit.
1994-12-10* write.c (write_relocs) [RELOC_EXPANSION_POSSIBLE]: Use bfd_install_relocation.Ken Raeburn2-22/+78
1994-12-10* ecoff.c (ecoff_set_gp_prolog_size): If there is no current routine, justKen Raeburn1-0/+3
return.
1994-12-10* config/tc-alpha.c (alpha_ip, case 'B', subcase 'c'): Use opcode value fromKen Raeburn2-0/+7
pattern instead of assuming jsr. * config/alpha-opcode.h (jmp): Add a "1,Bc" form.