aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1995-01-26 * tc-sh.c (little): Add argument IGNORE to avoid compiler warnings.Jim Wilson1-0/+9
(md_pseudo_table): Add space for consistent formatting. (COND8_RANGE, COND12_RANGE): Delete unused macros. (COND8_F, COND8_M, COND12_F, COND12_M, UNCOND12_F, UNCOND12_M): Correct minimum and maximum branch offsets. Add comments explaining why these numbers are correct.
1995-01-25Wed Jan 25 15:32:09 1995 David Edelsohn <edelsohn@mhpcc.edu>Ian Lance Taylor2-98/+221
* config/tc-ppc.c (md_parse_option): Accept mpwr2 as a synonym for mpwrx; mppc32, m603, and m604 as synonyms for mppc; and mppc64 and m620 for PowerPC64 mode. (ppc_symbol_new_hook): Add T0 as synonym for TC0 suffix.
1995-01-24"gcc -fno-builtin -Wall -Wwrite-strings -Wshadow" can be your friend.Ken Raeburn2-7/+45
Well, sometimes. Bunch of patches from Pat Rankin for cleaning up some warnings in vax-vms gas.
1995-01-24 * config/tc-hppa.c (pa_ip, case 'D'): Fix typo which causedJeff Law2-0/+15
miscompilation of "diag" instructions. * gas/hppa/basic/basic.exp (do_system): Update.
1995-01-23configure regen, tc-mips.c libiberty.h includeKen Raeburn1-0/+6
1995-01-23regeneratedKen Raeburn1-17/+20
1995-01-23 * config/tc-sh.h (tc_init_after_args): Don't define.Ian Lance Taylor2-12/+12
* config/tc-sh.c (md_begin): Remove unused variable table. (md_assemble): Remove unused variable p. (md_convert_frag): Cast fr_address to unsigned long for printf. (md_apply_fix): Use as_warn_where rather than as_warn. (sh_init_after_args): Remove empty function.
1995-01-23 * configure.in (i386-*-gnu*elf*): New target.Ian Lance Taylor1-0/+4
1995-01-22 * hash.c (hash_ask): If we find the slot after wrapping around,Ian Lance Taylor1-0/+5
break out of the loop. Fixes bug in Jan 18 change.
1995-01-21tipoIan Lance Taylor1-3/+7
1995-01-20back out new hash routineKen Raeburn2-1/+10
1995-01-19gcc lintKen Raeburn3-30/+24
1995-01-19Revert 2 June 1994 changes (Alpha 21164 support), for lack of assignmentKen Raeburn2-177/+43
paperwork.
1995-01-19Cleanup of VAX and VMS code, from Pat Rankin:Ken Raeburn5-186/+193
* config/obj-vms.c: Changed exported function names to lower case. (Changed call sites in write.c.) Declare VMS system function names used, conditional on actually being on VMS. Changed many functions that returned no useful value to now be declared to return void. Removed many unused variables. Supply missing return statements or values. Supply `default' case in switch statements. Ensure local variables get initialized. * config/tc-vax.c: Minor changes to silence "gcc -Wall". * config/obj-vms.h, config/tc-vax.h: Added some missing declarations.
1995-01-19 * write.c (fix_new_internal): Clear fx_bsr on those targets whichIan Lance Taylor2-1/+4
use it.
1995-01-19some improvements to fp codeKen Raeburn1-0/+11
1995-01-18sparc, coff, hash changesKen Raeburn1-0/+12
1995-01-18(hash_ask): Call strcmp instead of expanding it inline.Ken Raeburn1-569/+571
(hash_code): Replaced with a version from bfd.
1995-01-18gcc -Wall lint.Ian Lance Taylor2-2/+23
* expr.c (operand): Parenthesize && within ||. * listing.c (listing_newline): Likewise. (list_symbol_table): Use %lu to print sizeof. * symbols.c: Comment out unused function indent. (print_symbol_value_1): Cast pointer to unsigned long for printf. * config/obj-coff.c (do_relocs_for): Only declare symbol_ptr if it will be used. * config/tc-h8300.c (md_begin): Remove unused variable reg. (get_operand): Declare type of parameter direction. Remove unused variable size. (get_specific): Fix comment to avoid nested comments. (check_operand): Cast X_add_number to unsigned long for printf. (build_bytes): Remove unused local variables output_ptr, part, and high. (build_bytes): Cast X_add_number to unsigned long for printf. (clever_message): Remove unused variable scan. (md_assemble): Remove unused variable i. (tc_coff_sizemachdep): Remove unused function. * tc-h8300.h (tc_reloc_mangle): Declare.
1995-01-17 * config/tc-mips.c (mips_4650): New static variable.Ian Lance Taylor1-0/+14
(md_begin): Handle a cpu string of "4650". If mips_4650 was not initialized, set it to 0. (append_insn): Don't insert nops around HI and LO on a 4650. (mips_emit_delays): Likewise. (mips_ip): Use INSN_ISA mask to check ISA of instruction. Check for INSN_4650. (md_longopts): Add m4650 and no-m4650. (md_parse_option): Handle mips-cpu=4650. Handle -m4650 and -no-m4650. * doc/as.texinfo: Document new MIPS options.
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.