aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1996-08-07 * symbols.c (resolve_symbol_value): Handle addition or subtractionIan Lance Taylor1-0/+6
by a constant before entering the main switch. Reject attempts to apply an arithmetic function to non-absolute symbols, except for the special case of subtraction of two symbols in the same section.
1996-08-07Wed Aug 7 14:19:03 1996 Philippe De Muyter <phdm@info.ucl.ac.be>Ian Lance Taylor6-11/+117
* configure.in: Make GAS_CHECK_DECL_NEEDED include <string.h> or <strings.h> if they exist. Call GAS_CHECK_DECL_NEEDED on strstr and sbrk. * acconfig.h (NEED_DECLARATION_STRSTR): New macro. (NEED_DECLARATION_SBRK): New macro. * configure, conf.in: Rebuild. * as.h: Only include <strings.h> if HAVE_STRINGS_H. (strstr): Declare if NEED_DECLARATION_STRSTR. * as.c: If HAVE_SBRK and NEED_DECLARATION_SBRK, declare sbrk.
1996-08-07 * config/tc-mips.c (md_section_align): Do align if OBJ_ELF, butIan Lance Taylor2-4/+11
not to more than a 16 byte boundary.
1996-08-07 * config/tc-i386.c (tc_gen_reloc): Accept all relocs; removeIan Lance Taylor2-35/+38
#ifndef OBJ_ELF lines. From Eric Valette <valette@crf.canon.fr>. (tc_gen_reloc): If out of memory call as_fatal rather than assert. If no howto found, call as_bad_where rather than as_fatal. Change the error message slightly. Set howto to a non-NULL value in order to keep going.
1996-08-06Tue Aug 6 12:58:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-16/+23
* tc-d10v.c: Added code to support 32-bit fixups for stabs.
1996-08-06Tue Aug 6 12:58:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* config/tc-d10v.c: Added code to support 32-bit fixups for stabs.
1996-08-06 * gas/h8300/misch.s: Reenable "eepmov.w" test.Jeff Law1-0/+7
* gas/h8300/miscs.s: Likewise. * gas/h8300/h8300.exp: Check for correct assembly of "eepmov.w" on the H8/300H and H8/S. Don't expect it to fail.
1996-08-06 * config/tc-h8300.c (get_specific): New operand "size" derivedJeff Law1-0/+7
from ".b", ".w" and ".l" extensions. All callers changed. If the base instruction has no operands, then use the size to determine which specific instruction to use. Fixing eepmov instructions.
1996-08-05 * config/tc-i960.c (mem_fmt): Call parse_expr before emit.Ian Lance Taylor1-0/+4
PR 10274.
1996-08-02 * config/tc-mips.c (md_section_align): Don't change addr ifIan Lance Taylor2-0/+9
OBJ_ELF. PR 10181.
1996-08-02 * config/tc-hppa.c: Revert yesterday's changes.Jeff Law1-0/+4
Trying another approach to the EH problem.
1996-07-31Wed Jul 31 14:46:11 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-9/+5
* tc-d10v.c: Disable range checking on 16-bit values.
1996-07-31Wed Jul 31 14:46:11 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* config/tc-d10v.c: Disable range checking on 16-bit values.
1996-07-31 * config/tc-m68k.c (m68k_ip): Set ok_arch for every instruction,Ian Lance Taylor1-0/+5
not just the ones that don't match.
1996-07-31Wed Jul 31 11:45:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-3/+18
* tc-d10v.c: Fixed bugs in short relocs and range checking.
1996-07-31Wed Jul 31 11:45:15 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* config/tc-d10v.c: Fixed bugs in short relocs and range checking.
1996-07-31 * gas/sparc/asi.s: Update ASI_AS_IF_USER_{PRIMARY,SECONDARY}_LITTLE.David Edelsohn1-0/+4
1996-07-31mention ColdFire supportIan Lance Taylor1-0/+4
1996-07-31"testsuite/gas/arm/arm7t.s" and "testsuite/gas/arm/arm7t.d" added.Jackie Smith Cashion1-0/+2
1996-07-31oWed Jul 31 15:41:42 1996 James G. Smith <jsmith@cygnus.co.uk>Jackie Smith Cashion5-146/+424
* config/tc-arm.c: Changed INSN_SIZE to variable insn_size, as pre-cursor to adding Thumb support. Also added cpu_variant flag information to each of the asm_flg structures. (md_parse_option): Updated ARM7 parsing to allow 't' for thumb/halfword support, aswell as 'm' for long multiply. (md_show_usage): Updated help message. (md_assemble): Check that instruction flags are applicated to the current cpu variant. (md_apply_fix3, tc_gen_reloc): Add BFD_RELOC_ARM_OFFSET_IMM8 and BFD_RELOC_ARM_HWLITERAL relocation support for new halfword and signextension instructions. (do_ldst): Generate halfword and signextension variants if mnemonic flags match. (ldst_extend): Do not allow shifts in the offset field of halfword or signextension instructions. (validate_offset_imm): Provide check on halfword and signextension immediate range. (add_to_lit_pool): Merge identical literal pool values. Wed Jul 31 15:55:12 1996 James G. Smith <jsmith@cygnus.co.uk> * gas/arm/arm7t.s: Added. * gas/arm/arm7t.d: Added. * gas/arm/arm.exp: Updated to run the new test.
1996-07-30 * config/tc-hppa.c (selector_table): Add 'E' selector.Jeff Law2-26/+100
(cons_fix_new_hppa): Don't coke on e_esel. (tc_gen_reloc, SOM version): Handle R_COMP2 when used to help generate exception handling tables. (md_apply_fix): Don't try to apply fixups with an e_esel selector. (hppa_fix_adjustable): Fixups with e_esel selectors are not adjustable. Another stab at EH on the PA.
1996-07-30 * config/tc-sparc.c (md_pseudo_table): Add 2byte, 4byte, and 8byteIan Lance Taylor1-0/+5
pseudo-ops.
1996-07-26Fri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-13/+54
* tc-d10v.c: Added lots of error checking. Added hacks to support accumulator shifts.
1996-07-26Fri Jul 26 11:43:03 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+7
* config/tc-d10v.c: Added lots of error checking. Added hacks to support accumulator shifts.
1996-07-26 * symbols.c (S_SET_EXTERNAL): Let .weak override.Ian Lance Taylor2-7/+8
(S_CLEAR_EXTERNAL): Likewise. (S_SET_WEAK): Remove error; just let .weak override.
1996-07-25Thu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-35/+53
* tc-d10v.c (md_assemble): Now handles multiline instructions.
1996-07-25Thu Jul 25 15:22:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-1/+7
* config/tc-d10v.c (md_assemble): Now handles multiline instructions.
1996-07-25Thu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-54/+149
* tc-d10v.c: Fix packaging bug. Added range checking. Added kludge for divs instruction. Fixed minor problem with multiple text sections. * tc-d10v.h (d10v_cleanup): Change prototype.
1996-07-25Thu Jul 25 12:03:33 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-0/+6
* config/tc-d10v.c: Fix packaging bug. Added range checking. Added kludge for divs instruction. Fixed minor problem with multiple text sections. * config/tc-d10v.h (d10v_cleanup): Change prototype.
1996-07-23start-sanitize-d10vMartin Hunt2-3/+23
Tue Jul 23 10:49:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * config/tc-d10v.c (md_apply_fix3): Fix all instruction addresses to be right-shifted by 2. end-sanitize-d10v
1996-07-22start-sanitize-d10vMartin Hunt3-156/+186
Mon Jul 22 11:32:36 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * config/tc-d10v.c: Many changes to get relocs working. (register_name): No longer creates a symbol for register names. (pre_defined_registers): moved to opcodes/d10v-opc.c. (d10v_insert_operand): Now works correctly for either container. * config/tc-d10v.h (d10v_cleanup): Declare. end-sanitize-d10v
1996-07-22 * config/tc-mips.c (tc_gen_reloc): BFD_RELOC_PCREL_HI16_S andIan Lance Taylor2-0/+7
BFD_RELOC_PCREL_LO16 are expected to be PC relative.
1996-07-22Mon Jul 22 12:46:55 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor3-144/+334
* tc-alpha.c: Patches to track current minimum alignment to reduce the number of fragments created with frag_align. (alpha_current_align): New static variable. (s_alpha_text): Reset alignment to 0. (s_alpha_data, s_alpha_rdata, s_alpha_sdata): Likewise. (s_alpha_stringer, s_alpha_space): New functions. (s_alpha_cons, alpha_flush_pending_output): Remove functions. (alpha_cons_align): New function to replace both of them. (emit_insn): Only align if alpha_current_align is less than 2; reset alpha_current_align to 2. (s_alpha_gprel32): Likewise. (s_alpha_section): New function. Basically duplicate the other alpha section change hooks. Only define for ELF. (s_alpha_float_cons): Simplify alignment handling. (md_pseudo_table): Only define "rdata" and "sdata" if OBJ_ECOFF. If OBJ_ELF, define "section", "section.s", "sect", and "sect.s". Don't define the s_alpha_cons pseudo-ops. Do define s_alpha_stringer and s_alpha_space pseudo-ops. (alpha_align): Skip if less than current default alignment. Set default alignment. * tc-alpha.h (md_flush_pending_output): Remove. (md_cons_align): Add. * tc-alpha.c: Add oodles of function description comments. (md_bignum_to_chars): Remove; there are no callers. (md_show_usage): Mention some more variants.
1996-07-18 From Andrew Gierth <ANDREWG@microlise.co.uk>:Ian Lance Taylor3-2/+6
* configure.in (sparc-*-sysv4*): New target. * configure: Rebuild.
1996-07-18 * config/tc-sparc.c (md_pseudo_table): Change uahalf, uaword, andIan Lance Taylor2-32/+180
uaxword to use s_uacons. (sparc_no_align_cons): New static variable. (s_uacons): New static function. (sparc_cons_align): If sparc_no_align_cons is set, just clear it and return.
1996-07-18 * configure.in: Add mips-*-irix6* target. Handle Irix 6 like IrixIan Lance Taylor3-35/+41
5 with regard to shared libraries. * configure: Rebuild.
1996-07-18 * config/tc-m68k.c (m68k_ip): Use the correct length whenIan Lance Taylor2-3/+7
allocating space for the unsupported architecture error message.
1996-07-18Minor tweaks to d10v configurationMichael Meissner2-2/+6
1996-07-18start-sanitize-d10vMartin Hunt7-57/+1131
Wed Jul 17 14:25:13 1996 Martin M. Hunt <hunt@pizza.cygnus.com> * config/tc-d10v.c: New file. * config/tc-d10v.h: New file. * configure (d10v-*-elf): New target. * configure.in (d10v-*-elf): New target. end-sanitize-d10v
1996-07-13Recognize and handle -K PICMichael Meissner2-1/+17
1996-07-10Wed Jul 10 12:39:08 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor2-2219/+2717
* config/tc-alpha.c (alpha_align): Change fill parameter to a pointer. Take NULL as 0 or nop depending on section. Change all callers. (s_alpha_align): Rename local variables. * doc/as.texinfo (.align): Document action of omitted fill parameter.
1996-07-10 * app.c (do_scrub_chars): Remove not_cpp_line local variable.Ian Lance Taylor1-0/+9
Instead, check state when '#' comment is seen. PR 10073.
1996-07-10 * config/tc-ppc.c (md_apply_fix3): Give a useful error messageIan Lance Taylor1-16/+172
when an unsupported PC relative reloc is seen, rather than calling abort. PR 10073.
1996-07-08 * config/tc-mips.c (mips_regmask_frag): Only define if OBJ_ELF orIan Lance Taylor2-7/+48
OBJ_MAYBE_ELF. (tc_gen_reloc): If fixup was changed to be PC relative, change reloc type accordingly. Use name of reloc in error message.
1996-07-08 * as.h: Don't define const or volatile.Ian Lance Taylor3-30/+16
* flonum.h: Don't define const.
1996-07-08Improve SCO ELF commentIan Lance Taylor1-1/+28
1996-07-08At the request of Andreas Schwab:Ian Lance Taylor4-3/+8
* gas/m68k/pcrel.d: Rename from schwab.d. * gas/m68k/pcrel.s: Rename from schwab.s.
1996-07-08Mon Jul 8 14:23:26 1996 Andreas Schwab ↵Ian Lance Taylor3-19/+18
<schwab@issan.informatik.uni-dortmund.de> * gas/m68k/schwab.d: Correct for ELF format. * gas/m68k/all.exp: Run "schwab" test for all targets.
1996-07-08 * config/tc-m68k.c (tc_gen_reloc): Change the code appropriatelyIan Lance Taylor2-7/+53
if fx_pcrel is set. Correct setting the addend case in the OBJ_ELF case (from Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>). (md_show_usage): Correct -mfc5200 to -m5200.
1996-07-05No longer need to sanitize away h8s stuff.Jeff Law1-31/+0