Ian Lance Taylor
6fce31a64b
* expr.c (operand): If md_parse_name is defined, call it before
...
calling symbol_find_or_make.
* config/tc-ppc.h (md_parse_name): Define.
(ppc_parse_name): Declare.
* config/tc-ppc.c (reg_name_search): Add regs and regcount
parameters.
(register_name): Update call to reg_name_search.
(cr_operand): New static variable.
(cr_names): New static const array.
(ppc_parse_name): New function.
(md_assemble): If PPC_OPERAND_CR is set in the operand flags, set
cr_operand before calling expression.
PR 10460.
1996-08-27 17:56:47 +00:00
Jeff Law
a58b037adc
* config/tc-hppa.c (tc_gen_reloc): Add new argument to
...
hppa_gen_reloc_type call.
Fixing a problem with -mlinker-opt.
1996-08-27 15:21:30 +00:00
Michael Meissner
855f9c5870
Regenerate configure
1996-08-27 14:18:23 +00:00
Geoffrey Noer
0579b53d5b
Tue Aug 27 04:25:08 1996 Geoffrey Noer <noer@cygnus.com>
...
* configure.in: work around host_alias configure bug.
AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL
and second by AC_CANONICAL_SYSTEM). The second clobbers the
previous setting. Circumventing by moving the second check
to before the first.
* configure: regenerated
1996-08-27 11:32:34 +00:00
Ian Lance Taylor
4da624ddb3
* elf32-mips.c (mips_elf_check_relocs): Set dynobj if needed for
...
R_MIPS_32 and R_MIPS_REL32. Set sgot and g as soon as possible.
(mips_elf_size_dynamic_sections): Don't require .got to exist.
(mips_elf_finish_dynamic_sections): Likewise.
1996-08-27 04:14:13 +00:00
Martin Hunt
ab0268b74b
Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* d10v.mt: New file.
* tm-d10v.h: New file.
1996-08-27 01:52:31 +00:00
Martin Hunt
947489e292
Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* d10v/d10v.mt: New file.
* d10v/tm-d10v.h: New file.
1996-08-27 01:52:18 +00:00
Martin Hunt
7b3fa778e2
Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/d10v/d10v.mt: New file.
* config/d10v/tm-d10v.h: New file.
* configure.in: New target D10V.
* d10v-tdep.c: New file.
1996-08-27 01:51:55 +00:00
Martin Hunt
d59209cfeb
Mon Aug 26 18:34:42 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* configure.in (noconfigdirs): Removed gdb for D10V.
1996-08-27 01:48:04 +00:00
Martin Hunt
4f425a3203
Mon Aug 26 18:30:28 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* d10v_sim.h (SEXT32): Added.
* interp.c: Commented out printfs.
* simops.c: Fixed error in sb and st2w.
1996-08-27 01:32:48 +00:00
Martin Hunt
67f0d0ea4c
Mon Aug 26 18:24:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* tc-d10v.c: Fixed ".word". Fixed problem with range checking
on addresses. Improved error messages.
1996-08-27 01:28:29 +00:00
Martin Hunt
3017263b68
Mon Aug 26 18:24:51 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d10v.c: Fixed ".word". Fixed problem with range checking
on addresses. Improved error messages.
* doc/c-d10v.texi: Added docs for register pairs.
1996-08-27 01:28:10 +00:00
Martin Hunt
443dbf147e
Mon Aug 26 13:39:27 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* tc-d10v.c (parallel_ok): Fix bug in parallel
checking code.
1996-08-26 20:42:37 +00:00
Martin Hunt
f9085532dd
Mon Aug 26 13:39:27 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* config/tc-d10v.c (parallel_ok): Fix bug in parallel
checking code.
1996-08-26 20:42:19 +00:00
Ian Lance Taylor
58275724ff
* ecoff.c (init_file): Initialize fMerge to 1.
...
(add_file): Restore old file merging code, but only merge files if
fMerge is set.
(ecoff_directive_loc): Clear fMerge field of current file.
(ecoff_generate_asm_lineno): Likewise.
1996-08-26 19:07:06 +00:00
J.T. Conklin
c6d5c52650
Remove v850-opc.c from things-to-keep
1996-08-26 17:36:45 +00:00
Ian Lance Taylor
2175d72592
remove extra incorrect check for sanitization
1996-08-26 17:34:46 +00:00
Ian Lance Taylor
4c6856fac4
* ldver.c (ldversion): Print GNU ld in the version message.
1996-08-26 17:02:00 +00:00
Fred Fish
94b4f75666
* rs6000-tdep.c: Fix typo in comment.
...
* valops.c (call_function_by_hand): Set using_gcc to 2
for code compiled without -g, per comment in code.
* config/a29k/tm-a29k.h (STACK_ALIGN): Add comment.
* config/sparc/tm-sparc.h (STACK_ALIGN): Add comment.
* config/sparc/tm-sp64.h (STACK_ALIGN): Add comment.
* config/pyr/tm-pyr.h (STACK_ALIGN): Add comment.
* config/m88k/tm-m88k.h (STACK_ALIGN): Add comment.
* config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s.
(STACK_ALIGN): Add comment, move to be with other associated
macros, and document.
* config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s.
(STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS.
* config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s.
* config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely,
handled by PUSH_ARGUMENTS.
(PUSH_ARGUMENTS): Enclose args in ()'s.
1996-08-25 07:17:22 +00:00
Jeff Law
88b47a8521
* config/tc-v850.c (md_assemble): Rough cut at demanding
...
"ep" or "r30" in sst and sld instructions.
(md_apply_fix3): Don't abort. Just warn that we don't
have relocs yet.
1996-08-23 20:58:13 +00:00
Jeff Law
d3edb57f12
* v850-opc.c (v850_operands): Define EP operand.
...
(IF4A, IF4B, IF4C, IF4D): Use EP.
1996-08-23 20:55:15 +00:00
Jeff Law
29fb63b671
* gas/v850/basic.exp (move_tests): Test instruction bit patterns.
...
* gas/v850/move.s: Tweak constants for better testing.
1996-08-23 20:29:34 +00:00
Jeff Law
18c97701b4
* v850-opc.c (v850_opcodes): Fix opcode numbers for "mov"
...
with immediate operand, "movhi". Tweak "ldsr".
More fixes.
1996-08-23 20:27:25 +00:00
Jeff Law
8289ed0b65
* gas/v850/basic.exp (mem_tests): Test instruction bit patterns.
...
xfail sst and sld tests.
(mov_tests): Remove bogus xfail.
* gas/v850/mem.s: sst and sld instructions can only index from
"ep" register.
1996-08-23 19:35:05 +00:00
Jeff Law
fb6da8680e
* v850-opc.c (v850_opcodes): Get ld.[bhw] and st.[bhw]
...
correct. Get sld.[bhw] and sst.[bhw] closer.
1996-08-23 19:32:41 +00:00
Jeff Law
1fa751362b
* gas/v850/basic.exp (logical_tests): Test instruction bit patterns.
...
Update addresses.
* gas/v850/logical.s: Tweak constants for better testing.
1996-08-23 19:13:56 +00:00
Jeff Law
38c7a4504d
* v850-opc.c (v850_operands): "not" is a two byte insn.
1996-08-23 19:12:05 +00:00
Jeff Law
5bd7d77946
* gas/v850/basic.exp (jump_tests): Test instruction bit patterns,
...
but not displacements (yet).
1996-08-23 19:05:52 +00:00
Jeff Law
c9f1b2d9c7
* config/tc-v850.c (CC_NAME_CNT): Define.
...
(cc_name): New function.
(md_assemble): Handle V850_OPERAND_CC correctly.
setf stuff
1996-08-23 19:01:37 +00:00
Jeff Law
6c1fc4d3fa
* v850-opc.c (v850_opcodes): Correct bit pattern for setf.
1996-08-23 18:58:57 +00:00
Jeff Law
7be3453a1a
* gas/v850/basic.exp (compare_tests): Test instruction bit patterns.
1996-08-23 18:58:09 +00:00
Martin Hunt
b1c28263c9
Fri Aug 23 11:40:47 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
...
* doc/c-d10v.texi: Fix typo.
1996-08-23 18:43:48 +00:00
Jeff Law
78872957c4
* gas/v850/basic.exp (branch_tests): Test instruction bit patters,
...
but not displacements (yet).
1996-08-23 18:34:48 +00:00
Jeff Law
9ab069eadc
* v850-opc.c (v850_operands): D16 inserts at offset 16!
1996-08-23 18:27:43 +00:00
Jeff Law
47183e0e38
* gas/v850/basic.exp (bit_tests): Test instruction bit patterns.
1996-08-23 18:26:59 +00:00
Jeff Law
d5974c571c
* config/tc-v850.c (md_assemble): Don't forget to initialize
...
"insn"!
1996-08-23 18:19:08 +00:00
Jeff Law
b1e897a97d
* v850-opc.c (two): Get order of words correct.
1996-08-23 18:17:31 +00:00
Jeff Law
ad9889dd59
* gas/v850/basic.exp (arith_tests): Test instruction bit patterns.
...
* gas/v850/arith.s: Tweak constants for better testing.
1996-08-23 18:16:02 +00:00
Jeff Law
9ad8ddf1bd
* v850-opc.c (v850_operands): I16 inserts at offset 16!
...
Should get immediate 16bit operands into the right place
1996-08-23 17:52:00 +00:00
Jeff Law
827b80748b
* gas/v850/basic.exp (misc_tests): No longer expect failures
...
assembling "ldsr" and "stsr" opcodes.
* gas/v850/misc.s: Re-enable assembling of "ldsr" and "stsr"
opcodes.
1996-08-23 17:42:00 +00:00
Jeff Law
0e8f9bd15e
* config/tc-v850.c (reg_name_search): Generalize to search
...
any given register table.
(register_name): Pass appropriate table and size to reg_name_search.
(system_register_name): New function.
(SYSREG_NAME_CNT): Define.
(md_assemble): Handle operands which are system registers.
Still working on the parser..
1996-08-23 17:39:43 +00:00
Jeff Law
e41c99bd11
* v850-opc.c (v850_operands): Add "SR1" and "SR2" for system
...
register source and destination operands.
(v850_opcodes): Use SR1 and SR2 for "ldsr" and "stsr".
More parsing fixes.
1996-08-23 17:35:11 +00:00
Jeff Law
4fc797ff5c
* gas/v850/basic.exp (misc_tests): No longer expect failures
...
assembling "trap" opcodes.
* gas/v850/misc.s: Re-enable assembling of "trap" opcodes.
1996-08-23 17:10:41 +00:00
Jeff Law
c262d7d8f4
* v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode. Fix
...
same thinko in "trap" opcode.
1996-08-23 17:09:28 +00:00
Jeff Law
85b5201342
* v850-opc.c (v850_opcodes): Fix thinko in "jmp" opcode.
1996-08-23 17:07:21 +00:00
Jeff Law
50f7abfaed
* gas/v850: New directory with v850 tests.
...
Beginnings of a gas testsuite for the v850.
1996-08-23 17:03:52 +00:00
Jeff Law
c9a32d6ca7
* config/tc-v850.c (md_assemble): If we find a register, but the
...
opcode doesn't want a register, then we don't have a match.
(md_assemble): Get size of the instruction from the opcode table.
So we choose the right opcode and so that we get the sizes right.
1996-08-23 16:43:23 +00:00
Jeff Law
280d40df39
* v850-opc.c (v850_opcodes): Add initializer for size field
...
on all opcodes.
1996-08-23 16:40:15 +00:00
Jeff Law
4be84c4951
* v850-opc.c (v850_operands): D6 -> DS7. References changed.
...
Add D8 for 8-bit unsigned field in short load/store insns.
(IF4A, IF4D): These both need two registers.
(IF4C, IF4D): Define. Use 8-bit unsigned field.
(v850_opcodes): For "sld.h", "sld.w", "sst.h", "sst.w", use
IF4C & IF4D. For "trap" use I5U, not I5. Add IF1 operand
for "ldsr" and "stsr".
* v850-opc.c (v850_operands): 3-bit immediate for bit insns
is unsigned.
Fixing up the parser again.
1996-08-23 15:41:30 +00:00
Fred Fish
26b3dc44a5
Fixup my email addresses to consistently be fnf@cygnus.com
1996-08-23 08:02:23 +00:00