aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
1995-04-12Always keep MPW supportStan Shebs1-6/+2
1995-04-12Merge MPW ChangeLog with generic ChangeLogStan Shebs2-94/+54
1995-04-12 * config/tc-arc.c (delay_slot_type): New function.David Edelsohn1-40/+97
(md_assemble): Use hashed list of insns. Print warning if 8 byte insn appears in delay slot. (md_operand): Handle %st(sym1-sym2). (get_arc_exp_reloc_type): Likewise. (md_apply_fix, case BFD_RELOC_ARC_B26): Now using implicit addends so must store them here.
1995-04-12ARC stuff.David Edelsohn1-0/+12
1995-04-11* configure.in: Require at least autoconf 2.3, because earlier versions lose onKen Raeburn1-0/+21
some AIX versions. * configure: Regenerated. * configure.in: Add m68k-*-elf. * config/tc-m68k.c (comment_chars) [OBJ_ELF]: Include '#'. (md_pseudo_table) [OBJ_ELF]: Ignore "swbeg". (md_begin): Set alt_notend_table['&'], so svr4-style immediate operands are accepted. (md_apply_fix): Argument VALP should point to valueT. (md_convert_frag): Argument SEC should be type segT. (md_shortopts) [OBJ_ELF]: Accept 'Q' with an argument. (md_parse_option): Ignore it. (md_convert_frag_1): Add in frag address for the symbol in the displacement calculation. * config/tc-m68k.h (TARGET_FORMAT) [OBJ_ELF]: Use "elf32-m68k". (TARGET_ARCH): Define. (REGISTER_PREFIX_OPTIONAL) [OBJ_ELF]: Default to 0. (LOCAL_LABEL, FAKE_LABEL_NAME, REGISTER_PREFIX_OPTIONAL): Handle these the same way for OBJ_ELF as for M68KCOFF.
1995-04-11* as.h (struct relax_type): Add forward declaration for type.Ken Raeburn1-0/+1
1995-04-11note doc changesKen Raeburn1-0/+4
1995-04-11bunch o changesKen Raeburn1-0/+64
1995-04-11write.c: Complain about .space or .org moving backwards.Ken Raeburn11-26/+19
Do generic rs_machine_dependent relaxation only if TC_GENERIC_RELAX_TABLE is defined. Use its value as the base of the table, so the actual declaration can be cpu-specific (and const or not as appropriate). For other cpus where this isn't done (the majority), delete md_relax_table altogether. For machines with WORKING_DOT_WORD, delete md_{short,long}_jump_size.
1995-04-11(PCINDEX): New macro.Ken Raeburn1-17/+135
(md_relax_table): No longer const. Add PCINDEX entries. (m68k_ip): For AINDX with simple symbol operand, generate a PCINDEX frag if PC is used, or do normal non-AINDX processing for address register. (m68k_init_after_args): If cpu is 68000 or 68010, fix md_relax_table to prevent relaxation of PCINDEX/BYTE mode to SHORT, since they don't support that mode. (md_convert_frag_1, case PCLEA/LONG): Add 4 to offset, not 2. Add support for new PCINDEX modes. (md_estimate_size_before_relax): Process PCINDEX/SZ_UNDEF mode. (md_convert_frag_1, case PCLEA/SHORT): Add 2 to offset. (m68k_ip, case most punctuation/AOFF): If using PC, call add_frag using PCLEA.
1995-04-11Fix for PR6697:Ken Raeburn1-115/+265
(nopic_need_relax): New static function, split out from md_estimate_size_before_relax. (md_estimate_size_before_relax): Call it. (load_address, macro): In NO_PIC branches, if nopic_need_relax returns nonzero, don't attempt GP optimization.
1995-04-11Don't explicitly include config.h. Deleted a bunch of "#if 0" code and uselessKen Raeburn1-240/+163
comments. (struct m68k_cpu): New type. (archs, n_archs): New variables, with single list of name/enum mapping and aliases. (m68k_ip): Delete the table here. (m68k_init_after_args): Use the new table here instead of open-coding it. (md_parse_option, case 'm'): Ditto.
1995-04-10doc changesKen Raeburn1-0/+16
1995-04-10* doc/internals.texi: Add loud disclaimer. Refill to 79 columns, specifyKen Raeburn1-96/+592
fill-column in local-variables section. Change subheadings to subsections so they can be cross-referenced. Describe broken words, frags, frag chains, generic relaxation, relax table, m68k relaxation, m68k addressing modes, test suite code. Add a few words about various file formats.
1995-04-10* lib/gas-defs.exp (pass_phase): New proc.Ken Raeburn1-0/+7
(run_dump_test): Note passing or failing of each phase of this test, instead of failure of phases or passing of complete test. Ensure test file name is in reported message.
1995-04-10Nuke RCS string. Fix comment.Ken Raeburn1-2/+1
1995-04-10Fix patterns.David Edelsohn2-28/+26
1995-04-10Delete illegal insns.David Edelsohn1-2/+0
1995-04-10(test_template_insn): Delete .s/.d files afterwards.David Edelsohn1-5/+6
(main body): Run ld, st tests.
1995-04-10 * gas/arc/{ld.[sd],st.[sd]}: New files.David Edelsohn1-1/+1
1995-04-10Tests for ld, lr, st, sr insns.David Edelsohn5-0/+107
1995-04-10shimm values "are always signed"David Edelsohn5-23/+23
1995-04-09More ARC stuff.David Edelsohn1-0/+1
1995-04-09Test extended shifts, mul64/mulu64 insns.David Edelsohn4-4/+110
1995-04-08(test_template_insn): Document usage.David Edelsohn1-24/+63
New parameter `cpu', callers updated. (main body): Test host/graphics/audio extensions. Test ext/sex insns.
1995-04-08Tests for various insn3 insns (eg: ext, sex).David Edelsohn3-0/+98
1995-04-08* gas/arc/{arc.exp,math.[sd],flag.[sd],j.[sd]}: New files.David Edelsohn1-1/+2
* gas/arc/{branch.[sd],alias.[sd],sshift.[sd]}: New files.
1995-04-08More tests.David Edelsohn1-13/+21
1995-04-08Tests for single bit versions of asr, lsr, ror, rrc.David Edelsohn3-0/+98
1995-04-08Testcases for mov, rlc, asl.David Edelsohn3-0/+146
1995-04-08Stay away from duplicate arguments, will collide with aliases (eg: and->mov).David Edelsohn2-12/+15
1995-04-08Testcases for b, bl, and lp insns.David Edelsohn3-0/+94
1995-04-08Start of ARC testsuite.David Edelsohn8-0/+387
1995-04-08keep arc subdir if keep-arc.David Edelsohn1-0/+5
1995-04-08 * lib/gas-defs.exp (run_dump_test): Handle arguments with paths.David Edelsohn1-0/+32
Always resolve testcase status before returning. If `slurp_options' fails, return and don't do test. (slurp_options): Fix "can't open" error message. Return -1 to indicate error.
1995-04-08*** empty log message ***David Edelsohn1-3/+37
1995-04-07ARC stuff.David Edelsohn1-0/+22
1995-04-07 * config/tc-arc.c (arc_condition_codes): Deleted.David Edelsohn1-212/+336
(init_opcode_tables): Delete cpu_type_map, call arc_get_opcode_mach instead. (arc_common): Delete non-ELF stuff. Require leading '.' in .data. (md_apply_fix): Delete non-ELF stuff. Disable special handling of limm values, treat them normally. (get_arc_exp_reloc_type): New argument `data_p'. Callers updated. (md_assemble): All limm operands must be output by gas, the opcode insertion routines cannot be used (they don't do anything and we're using implicit addends now so we need to output something). * config/tc-arc.h (FAKE_LABEL_NAME): Define.
1995-03-30Changes for hosting on 64 bit machines.Torbjorn Granlund1-0/+5
1995-03-21 * config/tc-mips.c (md_show_usage): Mention -mips4 and -m4650.Ian Lance Taylor1-0/+8
1995-03-21 * gas/hppa/unsorted/common.s: New test.Jeff Law2-0/+9
* gas/hppa/unsorted/unsorted.exp: Run it.
1995-03-18 * mpw-config.in (TDEFINES): Put empty definition intoStan Shebs3-10/+50
makefile fragment. * mpw-make.in (xmalloc.c.o): Remove. (as.new): Depend on Version.r. (Version.r): Generate from version info.
1995-03-17 * config/tc-hppa.c (pa_comm): Make sure to always reset the fragJeff Law1-0/+13
and section for common symbols.
1995-03-15 * ecoff.c (ecoff_build_debug): The cur_scope field of a fil_ptrIan Lance Taylor1-0/+5
may be NULL when given strange input. Don't core dump. PR 6509.
1995-03-15 * config/tc-mips.c (load_register): Don't use addiu for dli of anIan Lance Taylor1-0/+9
unsigned seemingly negative number. Don't bother shifting a zero value. (mips_ip): For case 'j', if there are more alternatives, and the ISA level is at least 3, don't accept an unsigned seemingly negative number.
1995-03-15* read.c (s_app_line): Fix last patch to deal with a line number of 1.Ken Raeburn1-0/+5
1995-03-14Warn rather than cause an error if the reloc is not compatible with ↵Michael Meissner2-4/+19
-mrelocatable.
1995-03-14Mon Mar 13 17:03:46 1995 Pat Rankin (rankin@eql.caltech.edu)Ken Raeburn1-0/+5
* config/tc-vax.c (md_assemble): issue a warning if a constant is used as an operand where an immediate value is not allowed.
1995-03-11* config/obj-coff.c: Redo my 10 Jan change, but get it right this time. :-)Ken Raeburn1-0/+10
(fixup_segment): If linkrelax is set, just return. (write_object_file): Don't treat h8300 and z8k specially with regard to fixups. * config/tc-h8300.c (md_begin): Set linkrelax. * config/tc-z8k.c (md_begin): Ditto.
1995-03-11* gas/h8300/ffxx1.s: Add .word 0 at the end to eliminate uncertainty as toKen Raeburn2-2/+4
whether there should be trailing bytes in the output file. * gas/h8300/ffxx1.d: Adjust reloc values to permit an addend value of 0x00000000ffffffff on 64-bit hosts. (I'm not sure if this is correct.) End with "..." to match trailing zero bytes.