Geoffrey Keating
a6ea59ce8a
* lib/gas-defs.exp (regexp_diff): Allow '#...' to mean "some
...
indeterminate number of extra lines here".
* gas/elf/elf.exp: Remove XFAILs.
* gas/elf/section0.d: Make pass on MIPS (and hopefully alpha).
* gas/elf/section1.d: Likewise.
1999-10-11 03:40:17 +00:00
Jeff Law
d53d27516f
* config/tc-hppa.c (pa_ip): Add new codes 'cc', 'cd', 'cC', 'co',
...
'@'. Change autoincrement completers to fall through to cache control
completers.
* config/tc-hppa.c (pa_ip): Remove unused args. Add code to '?W'
arg.
(pa_parse_addb_64_cmpltr): New function.
* config/tc-hppa.c (pa_ip): Change error message.
(pa_ip,pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr) Fix '?N' and
'?Q' args to allow falling through.
* config/tc-hppa.c (pa_ip): Implement conditional codes "?N", "?Q".
Remove unused conditional codes.
(pa_parse_cmpb_64_cmpltr,pa_parse_cmpib_64_cmpltr): New.
1999-10-10 07:57:30 +00:00
Diego Novillo
ba09cd8d98
* config/tc-d30v.c (CHAR_BIT): Define.
...
(check_range): Fix bit operations to support integers
bigger than 32 bits.
1999-10-07 06:26:25 +00:00
Diego Novillo
dd04745b74
Forgot to add these files in the previous commit. This is the
...
testsuite for the new instructions added to d10v gas.
1999-10-07 06:19:24 +00:00
Diego Novillo
c43185deeb
Added seven new instructions ld, ld2w, sac, sachi, slae, st and
...
st2w for d10v. Created new testsuite for d10v to verify new
instructions.
1999-10-07 06:17:04 +00:00
Geoffrey Keating
07147777d3
* gas/mips/elf-rel.s: New file.
...
* gas/mips/elf-rel.d: New file.
* gas/mips/elf-rel2.d: New file.
* gas/mips/e32-rel2.d: New file.
* gas/mips/elf-rel2.s: New file.
* gas/mips/mips.exp: Add elf-rel, elf-rel2.
* gas/mips/elf_e_flags1.d: Tweak a little so it passes
even if the CPU is set to something by default.
1999-10-07 02:57:33 +00:00
Doug Evans
93c6c0152b
* gas/m32r/error.exp: New testcase driver.
...
* gas/m32r/m32rx.exp: New testcase driver.
* gas/m32r/fslotx.[sd]: New testcase.
* gas/m32r/m32rx.[sd]: New testcase.
* gas/m32r/relax-s.[sd]: New testcase.
* gas/m32r/interfere.s: New testcase.
* gas/m32r/wrongsize.s: New testcase.
1999-10-05 01:27:35 +00:00
Doug Evans
41acf79695
add m32rx docs
1999-10-05 00:41:22 +00:00
Doug Evans
925c058e93
Add support for m32rx.
...
* config/tc-m32r.c (enable_m32rx): New static global.
(enable_special,warn_explicit_parallel_conflicts,optimize): Ditto.
(allow_m32rx): New function.
(M32R_SHORTOPTS): Add `O'.
(md_longopts): Add --m32rx plus several warning options.
(md_parse_option): Handle new options.
(md_show_usage): Print them.
(md_begin): Enable m32rx.
(OPERAND_IS_COND_BIT): New macro.
(first_writes_to_seconds_operands): New function.
(writes_to_pc,can_make_parallel,make_parallel): New functions.
(target_make_parallel,assemble_two_insns): New functions.
(md_assemble): Recognize "insn1 -> insn2" and "insn1 || insn2".
If optimizing and m32rx, try to make consecutive insns parallel.
1999-10-05 00:37:17 +00:00
Geoffrey Keating
fba2b7f93e
* config/tc-mips.c (nopic_need_relax): Allow for the
...
.sdata.foo sections generated by -fdata-sections,
and for the .gnu.linkonce.s sections generated by C++.
1999-09-28 04:13:25 +00:00
Jeff Law
d3426803c5
Remove accidental case duplication.
1999-09-23 16:09:23 +00:00
Jeff Law
ce674324e1
* config/tc-hppa.c (pa_ip): Replace 'B', 'M', 'l' and 'g' handling
...
with cleaner code using completer prefixes. Add 'Y'.
1999-09-23 14:30:31 +00:00
Jeff Law
fd232ac8d5
* config/tc-hppa.c (pa_ip): Add parens to silence compiler.
1999-09-23 13:15:29 +00:00
Jeff Law
b1039fc41e
* config/tc-hppa.c (pa_ip): Avoid ANSI specific initialization.
...
(pa_ip, case 'm'): Failure to get a CBIT specifier just means the
insn does not match and we should try the next insn in the table.
1999-09-22 15:43:26 +00:00
Nick Clifton
913f265c25
Rename MULTI_SET_PSR to LDM_TYPE_2_OR_3
1999-09-22 09:05:32 +00:00
Jeff Law
54af6ff675
* config/tc-hppa.c (pa_ip): Fix thinkos in recent cleanup
...
of PA2.0 support.
1999-09-20 10:06:05 +00:00
Ian Lance Taylor
4cc782b591
1999-09-19 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
...
* config/tc-i386.c (md_shortopts): Check OBJ_MAYBE_ELF as well as
OBJ_ELF. If ELF, add "sq".
(md_parse_option): If ELF, ignore -s and -q.
(md_show_usage): Mention ELF options.
1999-09-19 23:03:56 +00:00
Jeff Law
65fab780c5
* config/tc-hppa.c (pa_ip): Handle 'J', 'K' and 'cc'
...
operands.
1999-09-19 20:07:01 +00:00
Jeff Law
71823da428
* config/tc-hppa.c (pa_ip); Handle "fe", and 'cJ'.
1999-09-19 19:46:52 +00:00
Jeff Law
61dd1d313e
* config/tc-hppa.c (pa_ip): Handle 'd', '#' and 'cq'.
1999-09-19 19:23:08 +00:00
Jeff Law
1cf6ae6758
* config/tc-hppa.c (struct pa_it): New field "trunc".
...
(pa_ip): Hadnle 'h', 'm', '=', '{', and '_' operands.
(pa_parse_ftest_gfx_completer): New function
(pa_parse_fp_cnv_format): New function.
1999-09-19 18:47:37 +00:00
Jeff Law
77c02e18c1
* config/tc-hppa.c (pa_ip): Handle 'X' operand.
...
(md_apply_fix): Handle 22bit pc-rel branches.
1999-09-19 18:13:50 +00:00
Jeff Law
629d9417e1
* config/tc-hppa.c (pa_ip): Handle 'B' operand.
1999-09-19 17:38:09 +00:00
Jeff Law
dbe2f9eec8
* config/tc-hppa.c (pa_ip): Handle 'L' and 'M' operands.
1999-09-19 17:09:23 +00:00
Jeff Law
3db6e6bd57
* config/tc-hppa.c (pa_ip): Handle 'l' operand.
1999-09-19 16:58:33 +00:00
Jeff Law
6be783603d
* config/tc-hppa.c (pa_ip): Handle 'g' operand.
1999-09-19 16:45:20 +00:00
Jeff Law
e061d86ffd
* config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
...
(pa_ip): Handle 'fX'.
1999-09-18 18:16:21 +00:00
Jeff Law
f1a1312b73
Really fix the typo.
1999-09-18 13:41:01 +00:00
Jeff Law
9d957cd576
Fix typo in last change.
1999-09-18 13:26:46 +00:00
Alan Modra
b7be1db6b5
Support 8 and 16-bit relocs for i386coff. Enable i386 gas testsuite tests
...
previously disabled for lack of such support. For *-*-linux*libc1 targets,
XFAIL a ld testsuite that fails due to a bug in the dynamic linker prior to
glibc-2.1.
1999-09-18 00:44:47 +00:00
Jeff Law
7acbfc6b56
* config/tc-hppa.c (pa_build_unwind_subspace): Do not build
...
unwinds unless the function is in the text space.
(pa_type_args): Set BSF_FUNCTION for an exproted data symbol.
1999-09-17 18:00:50 +00:00
Jeff Law
b52c78b8a6
* config/tc-hppa.c (pa_ip): Move dwarf2 stuff from here.
...
(md_assemble): To here. Tweak address generation.
1999-09-15 13:19:32 +00:00
Jeff Law
2d93dcc450
* config/tc-hppa.c: Include dwarf2dbg.h if OBJ_ELF. Declare
...
debug_line.
(md_pseudo_table): Add .file and .line pseudo-ops for OBJ_ELF.
(md_assemble): Call dwarf2_where for OBJ_ELF.
(pa_ip): Call dwarf2_gen_line_info for OBJ_ELF.
(pa_end_of_source): New function.
* tc-hppa.h (md_end): Define for OBJ_ELF.
1999-09-15 11:17:54 +00:00
Michael Meissner
6d83c84bcf
Fix problem with going to automake 2.14
1999-09-14 23:29:35 +00:00
Ian Lance Taylor
41fd319a45
1999-09-14 Donn Terry <donn@interix.com>
...
* config/te-interix.h (GLOBAL_OFFSET_TABLE_NAME): Define.
1999-09-14 15:38:32 +00:00
Alan Modra
2f66722d55
Hackery to handle ix86 "jmp constant" as a pc-relative jump to the given
...
absolute address.
1999-09-13 06:45:15 +00:00
Alan Modra
795a77040c
Changelog entry for tc-i386.c changes.
1999-09-13 03:53:59 +00:00
Alan Modra
a217f122fa
Tidy jump handling code and comments.
1999-09-13 03:44:49 +00:00
Ian Lance Taylor
61feeec2ee
1999-09-12 Donn Terry <donn@interix.com>
...
* gas/all/gas.exp: Run cofftag test for i*86-*-interix*.
* lib/gas-defs.exp: Add perror if can not read .d file.
1999-09-12 05:32:04 +00:00
Ian Lance Taylor
d33e1d248c
1999-09-11 Donn Terry <donn@interix.com>
...
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
BFD_RELOC_RVA relocations.
1999-09-12 05:09:50 +00:00
Ian Lance Taylor
c0c949c786
* config/tc-i386.c (md_apply_fix3): Add horrible adjustments to
...
the value if TE_PE and a global defined symbol.
1999-09-12 05:06:09 +00:00
Ian Lance Taylor
18dc2407f4
1999-09-11 Donn Terry <donn@interix.com>
...
* config/tc-i386.c (md_undefined_symbol): Compare the name against
the macro GLOBAL_OFFSET_TABLE_NAME, rather than assuming that it
starts with "_G".
1999-09-12 03:50:42 +00:00
Ian Lance Taylor
945a1a6b98
* write.c (write_relocs): Call SET_SECTION_RELOCS if it is
...
defined.
* config/obj-coff.h (SET_SECTION_RELOCS): Define.
* doc/internals.texi (Object format backend): Document
SET_SECTION_RELOCS.
1999-09-12 03:44:42 +00:00
Ian Lance Taylor
12951dca76
fix copyright
1999-09-12 03:34:29 +00:00
Ian Lance Taylor
79d292aaa2
1999-09-11 Donn Terry <donn@interix.com>
...
* config/tc-i386.c (tc_i386_fix_adjustable): Don't adjust
relocations against global symbols if TE_PE.
1999-09-12 03:18:54 +00:00
Ian Lance Taylor
7a6284c477
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (obj_coff_ident): Add BFD_ASSEMBLER version.
(obj_pseudo_table): Always handle ".ident" with obj-coff_ident.
1999-09-12 03:07:49 +00:00
Ian Lance Taylor
8828d86202
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (coff_frob_symbol): Prohibit weak common
symbols.
1999-09-12 02:59:54 +00:00
Ian Lance Taylor
9690c54dda
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (obj_coff_endef): Don't merge labels, or
symbols which do not have a constant value, or tags with
non-tags. Remove the symbol from the list before adding it at the
end.
1999-09-12 02:55:58 +00:00
Ian Lance Taylor
23dab925ad
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (obj_coff_endef) [BFD_ASSEMBLER]: Handle .ef
C_FCN symbol differently if TE_PE.
(obj_coff_line) [BFD_ASSEMBLER]: Always use the line number which
appears in the pseudo-op, rather coff_line_base which is only set
for a .bf symbol.
1999-09-12 02:49:28 +00:00
Ian Lance Taylor
28428223eb
1999-09-11 Donn Terry <donn@interix.com>
...
* config/obj-coff.c (obj_coff_loc): New static function.
(obj_pseudo_table): Add "loc".
1999-09-12 02:39:52 +00:00