aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
1996-12-10 * config/tc-mips.c (mips16_extended_frag): Give an error for anIan Lance Taylor1-0/+2
attempt to use a non absolute symbol in an extending frag.
1996-12-09 * config/tc-mn10200.c: Flesh out assembler support for MN10200.Jeff Law1-0/+972
* config/tc-mn10200.h: Likewise. Actually assembles some mn10200 stuff (everything but mov* instructions!)
1996-12-09 * config/tc-mips.c (mips16_extended_frag): Avoid an infinite loopIan Lance Taylor1-2/+24
when extending because the value is exactly maxtiny + 1.
1996-12-09 * config/tc-mips.c (RELAX_MIPS16_ENCODE): Add small and extIan Lance Taylor1-22/+42
arguments, and store them. Adjust other RELAX_MIPS16 macros. (RELAX_MIPS16_USER_SMALL): Define. (RELAX_MIPS16_USER_EXT): Define. (mips16_small, mips16_ext): New static variables. (append_insn): Pass mips16_small and mips16_ext to RELAX_MIPS16_ENCODE. (mips16_ip): Set mips16_small and mips16_ext. (mips16_immed): Don't check mips16_autoextend. (mips16_extended_frag): Check USER_SMALL and USER_EXT.
1996-12-07 * config/tc-mips.c (mips16_extended_frag): Don't callIan Lance Taylor1-10/+23
S_GET_VALUE. (md_convert_frag): Call resolve_symbol_value before calling S_GET_VALUE, and don't add in the frag address.
1996-12-06 * config/tc-mips.c (mips16_immed): Add file and line parameters,Ian Lance Taylor1-13/+19
and use them when reporting errors. Change all callers.
1996-12-06 * config/tc-mn10300.c: Fix various gcc -Wall warnings.Jeff Law1-25/+25
Remove '$' prefixing for registers.
1996-12-06Fri Dec 6 00:55:48 1996 Martin <hunt@cygnus.com>Martin Hunt1-8/+7
* config/tc-d10v.c (md_assemble): Check to see if prev_seg is initialized before using it. (d10v_cleanup): No longer uses its argument, so make it void. * config/tc-d10v.h (d10v_cleanup): Change prototype.
1996-12-04Wed Dec 4 15:42:41 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-53/+17
* tc-d10v.c (md_assemble, d10v_cleanup): Fix bug with multiple sections.
1996-12-04 * config/tc-mips.c (md_longopts): Rename mips-16 to mips16, andIan Lance Taylor1-8/+10
no-mips-16 to no-mips16. (s_mipsset): Accept .set mips16 and .set nomips16.
1996-12-04Allow foo@suffix+constant relocationsMichael Meissner1-34/+61
1996-12-04Add -m{,no-}solaris support to enable/disable solaris comments & setting ppc ↵Michael Meissner1-9/+54
flags
1996-11-26 Add support for mips16 (16 bit MIPS implementation):Ian Lance Taylor1-98/+1702
* config/tc-mips.c: Extensive additions for mips16 support, not listed here. (RELAX_OLD, RELAX_NEW): Use only 7 bits each. (insn_uses_reg): Change last parameter to an enum. * config/tc-mips.h (LOCAL_LABELS_DOLLAR): Define as 0. (md_relax_frag): Define as mips_relax_frag. (mips_relax_frag): Declare. (struct mips_cl_insn): Add use_extend and extend fields. (tc_fix_adjustable): Define. * config/obj-elf.h (S_GET_OTHER): Define. (S_SET_OTHER): Define.
1996-11-25 * config/tc-mn10300.c (address_registers): Use '%' prefix for regs.Jeff Law1-16/+16
(data_registers, other_registers, md_assemble): Likewise.
1996-11-25 * config/tc-mn10300.c (md_assemble): Correctly determine theJeff Law1-6/+10
correct location and type for each relocation. (md_pcrel_from): Simplify. Last week's reloc work.
1996-11-21 * config/tc-mn10300.h (DIFF_EXPR_OK): Don't define this.Jeff Law1-84/+112
(tc_fix_adjustable): Don't adjust relocs against weak symbols or pc-relative relocs. * config/tc-mn10300.c (md_begin): Set linkrelax. (md_assemble): Create fixups as needed. (md_apply_fix3): Gut. It shouldn't ever get called anymore. First stab at fixups/relocs.
1996-11-19 * config/tc-mn10300.c (md_assemble): Handle MN10300_OPERAND_REG_LIST.Jeff Law1-2/+72
So GCC can use movm in prologue/epilogues.
1996-11-18 * config/tc-mn10300.c (mn10300_insert_operand): Provide prototypeJeff Law1-7/+18
via PARAMS. (check_operand): Likewise.
1996-11-18Fix previous changeMichael Meissner1-1/+3
1996-11-18Check validity of user parallel operationsMichael Meissner1-0/+3
1996-11-18Branch and link instructions modify r13Michael Meissner1-0/+3
1996-11-14Thu Nov 14 11:17:49 1996 Martin M. Hunt <hunt@pizza.cygnus.com>Martin Hunt1-3/+7
* config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow a branch and link in parallel with an exe instruction.
1996-11-06 * config/tc-mn10300.c (mn10300_insert_operand): Shift low partJeff Law1-1/+1
of a MN10300_OPERAND_SPLIT operand by operand->shift. For bset, bclr & btst.
1996-11-06 * config/tc-mn10300.c (mn10300_insert_operand): HandleJeff Law1-1/+6
MN10300_OPERAND_SPLIT. For handling of 32bit operands.
1996-11-05 * config/tc-mn10300.c (md_assemble): Insert operands intoJeff Law1-18/+35
the extension part of the instruction if necessary. (mn10300_insert_operand): Accept pointer to extension word argument. Make insn a pointer argument too. Return type is now void. All callers changed. So we can correct insert operands into any instruction except those which have 32bit operands.
1996-11-04 * config/tc-mn10300.c (mn10300_insert_operand): HandleJeff Law1-5/+22
repeated register operands. For mov imm8,dn mov imm8,an cmp imm8,dn cmp imm8,an The register appears twice in the bit pattern... Egad.
1996-10-29 * config/tc-v850.c (md_convert_frag): Make sure we insert theJeff Law1-5/+5
fixup at the right address within the frag.
1996-10-29 * config/tc-v850.c (md_convert_frag): Don't set fragP->fr_fixJeff Law1-2/+2
to an absolute value, instead increment it as needed.
1996-10-29 * config/tc-v850.h (TC_GENERIC_RELAX_TABLE): Define.Jeff Law2-95/+157
* config/tc-v850.c: Fix some indention problems. (md_relax_table): Define for D9->D99 branch displacement relaxing. (md_convert_frag): Do something useful instead of aborting. (md_estimate_size_before_relax): Likewise. (md_assemble): Note if the matching instruction has a relaxable operand. If it does, allocate frag with frag_var and don't do any fixups. So we can do 9bit displacement to 22bit displacement relaxing.
1996-10-25 * config/tc-v850.c (v850_reloc_prefix): Several disgustingJeff Law1-21/+51
hacks to improve parsing of complex hi, lo, zda, etc expressions. (md_assemble): Don't demand and eat a trailing ')' after finding a v850 relocation prefix. Sign extend the constant in a BFD_RELOC_LO16 expression. Do eat a trailing ')' after a complete operand. (parse_cons_expression_v850): Don't eat a trailing ')' after finding a v850 relocation prefix. Trying to get nec's sample code to assemble. Why oh why didn't JT try to assemble any of their code...
1996-10-24 * config/tc-v850.h (TC_PARSE_CONS_EXPRESSION): Define.Jeff Law1-0/+47
(TC_CONS_FIX_NEW): Likewise. * config/tc-v850.c (parse_cons_expression_v850): New function. (cons_fix_new_v850): Likewise. So we can handle ".hword lo(_foo)".
1996-10-24 * config/tc-v850.h (tc_fix_adjustable): Don't adjust TDA relocs.Jeff Law1-1/+5
Fixing more tda stuff.
1996-10-23 * config/tc-v850.c (md_pseudo_table): Add .word; allocatesJeff Law1-0/+1
4 bytes of space. Something off the todo list.
1996-10-23 * config/tc-v850.c (md_assemble): Handle TDAOFF relocsJeff Law1-6/+11
differently for movea & sst/sld insns. Working on tda for the v850.
1996-10-22 * config/tc-mips.c (cons_fix_new_mips): Only treat 8 byte relocIan Lance Taylor1-1/+38
specially if not ELF. (md_apply_fix): Handle BFD_RELOC_64. (tc_gen_reloc): Handle BFD_RELOC_64.
1996-10-18 * config/tc-mips.c (mips_ip): Accept an odd floating pointIan Lance Taylor1-4/+6
register with l.s or s.s.
1996-10-17 * config/tc-v850.c (v850_reloc_prefix): Recognize zdaoff, tdaoffJeff Law1-0/+18
and sdaoff expressions.
1996-10-16 * write.c (fixup_segment): Don't add symbol value to addend ifJeff Law2-6/+3
TC_V850 and OBJ_ELF. * config/tc-v850.h (tc_fix_adjustable): Don't adjust any pc-relative fixups. Fixing more failures in the g++ testsuite.
1996-10-16 * config/tc-v850.c (md_pcrel_from): Delete unused function.Jeff Law2-42/+25
(md_pcrel_from_section): New function. * config/tc-v850.h (MD_PCREL_FROM_SECTION): Define. So we don't screw up pc-relative jumps/calls from one section into another section within the same .o file. Fixes global ctors/dtors to work with DECL_ONE_ONLY stuff.
1996-10-14 * config/tc-mips.c (load_register): Add cast to offsetT when usingIan Lance Taylor1-1/+1
a constant with &~.
1996-10-14Mon Oct 14 11:24:28 1996 Richard Henderson <rth@tamu.edu>Ian Lance Taylor1-9/+18
* config/obj-elf.c (elf_frob_file): Move ECOFF debug processing to ... (elf_frob_file_after_relocs): ... here. New function. * config/obj-elf.h (obj_from_file_after_relocs): New macro. * write.c (write_object_file): Call *frob_after_relocs after the call to write_relocs. * config/tc-alpha.c: Use new BFD_RELOC_ALPHA_ELF_LITERAL reloc. * config/tc-alpha.c (load_expression): Don't SET_VALUE on the section symbol, as this messes up linking. Instead, expand the recursive call inline and change up the appropriate bits to get the 0x8000 offset in the reloc addend.
1996-10-10Turn most warnings into errorsMichael Meissner1-29/+112
1996-10-10 * config/tc-mn10300.c (md_assemble): Use FMT_* macros forJeff Law1-8/+8
formats rather than hard-coded constants. Minor cleanup.
1996-10-10 * config/tc-mn10300.c (md_assemble): Format D5 instructionsJeff Law1-7/+3
are 7 bytes long. Write out instructions in big-endian format. Matsushita.
1996-10-08 * config/tc-mn10300.h (md_assemble): Tweak further soJeff Law1-19/+19
that all instructions are parsed correctly.
1996-10-08 * as.h: Include libiberty.h.Ian Lance Taylor1-1/+3
(xmalloc, xrealloc): Don't declare. * as.c: Don't include libiberty.h. * expr.c, read.c, stabs.c, config/obj-coff.c: Likewise. * config/tc-mips.c: Likewise. * messages.c: Likewise. (xstrerror): Don't declare. * xmalloc.c: Remove.
1996-10-07 * config/tc-mn10300.h (pre_defined_registers) Remove.Jeff Law1-193/+224
(system_registers, cc_names): Likewise. (address_registers, data_registers, other_registers): New register arrays. (register_name, system_register_name, cc_name): Remove. (mn10300_reloc_prefix): Likewise. (data_register_name): New function. (address_register_name, other_register_name): Likewise. (md_assemble): Rough cut at parsing operands. Remove lots of unwanted code. (md_apply_fix3): Disable for now. Checkpointing today's Matsushita work.
1996-10-07 * config/obj-elf.c (elf_begin): New function.Ian Lance Taylor2-10/+42
(obj_elf_section): Add the section symbol to the symbol table. * config/obj-elf.h (obj_begin): Define. (elf_begin): Declare. * as.c (perform_an_assembly_pass): Call obj_begin if it is defined.
1996-10-04 * config/obj-coff.c (fixup_segment): Subtract the section addressIan Lance Taylor1-11/+18
from a PC relative reloc if TC_M68K.
1996-10-03Grrr. The mn10200 and mn10300 are _not_ similar enough to easily supportJeff Law3-83/+37
with a single generic configuration. So break them up into two different configurations. See the individual ChangeLogs for additional detail.