Ian Lance Taylor
7abc6c55ba
* gasp/macro.out: Adjust to reflect the fact that keyword
...
arguments are now permitted after positional arguments.
1998-02-13 01:13:15 +00:00
Ian Lance Taylor
618ea80814
Based on patches from Ross Harvey <ross@teraflop.com>:
...
* macro.c (ISSEP): Only treat '<' and '>' as separator characters
if macro_alternate or macro_mri.
(getstring): Remove support for byte constants between < and >.
(get_any_string): '<' only starts a string if macro_alternate or
macro_mri.
(macro_expand_body): Permit keyword parameters following
positional parameters.
1998-02-13 01:09:32 +00:00
Ian Lance Taylor
69d0b6d3d0
NetBSD patches from Gordon W. Ross <gwr@mc.com>:
...
* configure.in (alpha*-*-netbsd*): New target.
* config/te-nbsd.h (LOCAL_LABELS_FB): Define.
* configure: Rebuild.
1998-02-12 23:12:45 +00:00
Ian Lance Taylor
1b9bf4a503
* as.h (flag_warn_suppress_instructionswap): Move from here...
...
* config/tc-d10v.c (flag_warn_suppress_instructionswap): ...to
here, and make static.
1998-02-12 21:46:32 +00:00
Ian Lance Taylor
8642a20358
* ehopt.c (eh_frame_code_alignment): Only use seg_info if
...
BFD_ASSEMBLER or MANY_SEGMENTS.
1998-02-12 21:22:04 +00:00
Ian Lance Taylor
43448efe7d
* as.c (show_usage): Update bug-gnu-utils address.
...
* gasp.c (show_usage): Likewise.
* doc/as.texinfo (Bug Reporting): Likewise.
1998-02-12 19:09:49 +00:00
James Lemke
be0ed38bef
Improve my ChangeLog etiquette.
1998-02-12 15:08:57 +00:00
Jeff Law
9a1f316032
* config/tc-mips.c (load_address): Don't use mips III or mips IV
...
insns regardless of the size of a pointer if we're in mips I or
MIPS II mode.
(macro, macro2, s_cprestore, s_cpadd): Likewise.
Fix problems in recent code to handle address sizes more sanely.
1998-02-12 09:45:13 +00:00
Joern Rennecke
fc3c25b9e0
opcodes:
...
* d10v-opc.c (d10v_predefined_registers, d10v_operands, d10v_opcodes):
Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
Introduce OPERAND_GPR.
* d10v-dis.c (print_operand): Likewise.
include/opcode:
* d10v.h (OPERAND_ACC): Split into:
(OPERAND_ACC0, OPERAND_ACC1) .
(OPERAND_GPR): Define.
gas/config:
* tc-d10v.c (parallel_ok, find_opcode):
Split OPERAND_ACC into OPERAND_ACC0 and OPERAND_ACC1.
Introduce OPERAND_GPR.
1998-02-12 03:56:57 +00:00
Doug Evans
00aa5b172e
(check_parallel_io_clash): Add #if 0'd out code that uses new operand
...
usage facility.
1998-02-12 01:21:31 +00:00
Doug Evans
9eb30eaa1d
* gas/dvp/{*}: .text renamed to .vutext.
...
* gas/dvp/vif-1.[sd]: Renamed from pke-1.[sd].
1998-02-12 01:10:22 +00:00
Richard Henderson
a699db2270
* read.c (s_fill): Handle non-constant repeat counts by creating
...
an rs_space fragment.
PR 14940
1998-02-12 00:27:08 +00:00
Doug Evans
95effc2b25
update copyright date
1998-02-12 00:11:47 +00:00
Doug Evans
b4cbabb879
(insert_operand): Bring over possible change from branch.
1998-02-11 23:40:43 +00:00
Nick Clifton
ef582182d5
Document M32Rx warnings and errors.
...
Document --warn-explicit-parallel-conflicts.
1998-02-11 18:35:50 +00:00
Andrew Cagney
14926763d6
Handle xxx@word + N. Treat it as xxx >> 2 + N.
1998-02-11 02:46:51 +00:00
Doug Evans
8be4a8f74c
* config/tc-dvp.c (*): pke->vif, gpuif->gif.
1998-02-10 23:19:44 +00:00
Doug Evans
45fb7b894f
Remove dvp testsuite entry.
...
Fix up sky sanitization.
1998-02-10 23:15:04 +00:00
James Lemke
ffc3a16015
[TEXT|DATA|BSS]_SECTION_NAME
1998-02-10 23:06:13 +00:00
Ian Lance Taylor
3081e56786
* ehopt.c (eh_frame_code_alignment): If not BFD_ASSEMBLER, use
...
seg_fix_rotP rather than fix_root from seg_info.
1998-02-10 22:59:19 +00:00
James Lemke
cfa025ec7f
Define default values of [TEXT|DATA|BSS]_SECTION_NAME
1998-02-10 22:38:15 +00:00
Ian Carmichael
f64479baa4
* Add support for 0x1_2_3_4 bignums.
1998-02-10 20:41:10 +00:00
Ian Lance Taylor
5023c3ab9c
* configure.in: Change -linux* to -linux-gnu*.
...
* configure: Rebuild.
1998-02-10 20:07:42 +00:00
Ian Lance Taylor
dfb3ecb277
* app.c (do_scrub_begin): Treat \r as whitespace.
1998-02-10 19:44:46 +00:00
Nick Clifton
01c97361c2
Add tests for DIVH instruction and new versions of RAC and RACH instruction.
...
Renamed MACHL1 to MACLH1.
1998-02-10 01:21:22 +00:00
Nick Clifton
47aa559218
Improved warning message generation for parallel instructions
1998-02-10 00:30:25 +00:00
Ian Lance Taylor
6c4e47861f
* Makefile.am: Update dependencies.
...
* Makefile.in: Rebuild.
1998-02-09 19:19:16 +00:00
Ian Lance Taylor
7ee4e307d6
* configure, aclocal.m4: Rebuild with new libtool.
1998-02-07 20:35:04 +00:00
Michael Meissner
ca1a4060b1
Move code from branch
1998-02-06 23:21:00 +00:00
Ian Lance Taylor
eb0a94a173
more tweaks
1998-02-06 23:14:42 +00:00
Jeff Law
6766132db9
* config/tc-mips.c (md_begin): If mips_cpu is set, then use it as
...
the argument to bfd_set_arch_mach.
(load_address): Use bfd_arch_bits_per_address to determine the
bit size of an address instead of looking at the isa level.
(macro, macro2, s_cprestore, s_cpadd): Likewise.
1998-02-06 23:11:01 +00:00
Nick Clifton
3cb46b33bb
Add -mv850any command line option for PR 14732
1998-02-06 22:47:04 +00:00
Ian Lance Taylor
1430b6ed3a
improvements
1998-02-06 06:54:01 +00:00
Ian Lance Taylor
ffd652c313
* ehopt.c: New file.
...
* as.h (enum _relax_state): Add rs_cfa.
(check_eh_frame, eh_frame_estimate_size_before_relax): Declare.
(eh_frame_relax_frag, eh_frame_convert_frag): Declare.
* read.c (emit_expr): Call check_eh_frame.
* write.c (cvt_frag_to_fill): Handle rs_cfa.
(relax_segment): Likewise.
* Makefile.am: Rebuild dependencies.
(GAS_CFILES): Add ehopt.c.
(GENERIC_OBJS): Add ehopt.o.
* doc/internals.texi (Frags): Document rs_cfa.
* as.c (show_usage): Mention --traditional-format.
(parse_args): Accept --traditional-format.
* as.h (flag_traditional_format): Declare.
* output-file.c (output_file_create): If flag_traditional_format,
set BFD_TRADITIONAL_FORMAT on stdoutput.
* doc/as.texinfo, doc/as.1: Document --traditional-format.
1998-02-06 03:42:05 +00:00
Ian Lance Taylor
b073d4281c
* config/tc-mips.c (append_insn): Make sure that if we have a
...
fixup for an unmatched %hi reloc, it does not associated with a
variant frag.
1998-02-06 03:08:45 +00:00
Ian Lance Taylor
a52052dbac
* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
...
* doc/Makefile.in: Likewise.
1998-02-05 17:45:32 +00:00
Nick Clifton
89285fc92b
Add checks for side effects of instructions preventing their parallelisation.
1998-02-04 23:44:58 +00:00
Nick Clifton
2be33cc4f7
Updated to match latest assembler output.
1998-02-04 23:28:29 +00:00
Nick Clifton
da9a396b5f
Applied patch submitted by Jamie Smith <jsmith@teknema.demon.co.uk> to fix
...
literal pool appearances instigated by macros.
1998-02-04 23:26:03 +00:00
Ian Lance Taylor
36fb0b86c7
Wed Feb 4 15:40:00 1998 Geoffrey Keating <geoffk@ozemail.com.au>
...
* gas/ppc/ppc.exp: New file.
* gas/ppc/astest.s, gas/ppc/astest.d: New test.
* gas/ppc/astest2.s, gas/ppc/astest2.d: New test.
1998-02-04 20:42:29 +00:00
Ian Lance Taylor
6e2604ced5
* config/tc-ppc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
...
a gas internal symbol is adjustable.
1998-02-04 20:33:12 +00:00
Ian Lance Taylor
dfe0d219ce
* config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
...
a gas internal symbol is adjustable.
1998-02-04 20:29:30 +00:00
Ian Lance Taylor
e869646749
* as.h: If gcc version greater than 2.6, use `__format__' and
...
`__printf__' in function attributes, rather than `format' and
`printf'.
1998-02-04 18:18:54 +00:00
Doug Evans
76090fdd40
fix comment
1998-02-03 23:39:28 +00:00
Ian Lance Taylor
0e034c7751
Mon Feb 2 18:30:34 1998 Steve Haworth <steve@pm.cse.rmit.EDU.AU>
...
Add tms320c30 support:
* config/tc-tic30.h: New file.
* config/tc-tic30.c: New file.
* config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
TARGET_FORMAT as "coff-tic30".
* configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
* Makefile.am: Rebuild dependencies.
(CPU_TYPES): Add tic30.
(CPU_OBJ_VALID): tic30-aout is valid.
(TARGET_CPU_CFILES): Add config/tc-tic30.c.
(TARGET_CPU_HFILES): Add config/tc-tic30.h.
* configure, Makefile.in: Rebuild.
1998-02-03 00:17:20 +00:00
Nick Clifton
6d0b44264f
Improve error reporting for PR14724
1998-02-02 23:44:42 +00:00
Nick Clifton
c519430b50
Improvments to error message reporting for PR14720
1998-02-02 18:22:20 +00:00
Ian Lance Taylor
32715d71b8
Mon Feb 2 12:39:05 1998 Geoff Keating <geoffk@ozemail.com.au>
...
* config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
BFD_RELOC_HI16_S to store the high bits of any value.
* config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
(TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
assembler calculate relocations to any external symbol at all.
* config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
involving generation of pc-relative relocs.
(md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
has been moved to md_apply_fix3.
* config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
(ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
which actually means (the address of identifier's GOT entry) +
constant, which is not particularly useful.
1998-02-02 17:44:57 +00:00
Jeff Law
f16c443c2d
* gas/mips/4010.s: Pad test code out to a 16byte boundary.
...
* gas/mips/4010.d: Corresponding changes.
* gas/mips/4100.s: Pad test code out to a 16byte boundary.
* gas/mips/4100.d: Corresponding changes.
* gas/mips/4650.s: Pad test code out to a 16byte boundary.
* gas/mips/4650.d: Corresponding changes.
start-sanitize-r5900
* gas/mips/5900.s: Pad test code out to a 16byte boundary.
* gas/mips/5900.d: Corresponding changes.
end-sanitize-r5900
To make mips-ecoff happy, which apparently pads out the sections...
1998-02-02 04:43:07 +00:00
Doug Evans
32729d87dd
config/tc-dvp.c (md_pcrel_from_section): Add offset to delay slot for
...
undefined symbols.
1998-01-31 02:51:33 +00:00
Doug Evans
b6675c1a8e
(md_pcrel_from_section): Add offset to delay slot for
...
undefined symbols.
1998-01-31 00:04:27 +00:00
James Lemke
3b2215c2ed
Implement DMAcnt, DMAret & DMAend with explicit count args.
1998-01-31 00:04:26 +00:00
Ian Lance Taylor
f2e272e077
* configure.in: Correct check for shared opcodes library.
...
* configure: Rebuild.
1998-01-30 22:04:36 +00:00
Doug Evans
cd9a4eec49
tweak last dvp entry
1998-01-30 20:10:19 +00:00
Doug Evans
5b86203923
* config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
...
(md_parse_option): Handle them.
(md_show_usage): Print them.
(output_dma,output_pke): New static globals.
(md_begin): Initialize them to 1.
(assemble_pke): Handle -no-dma-pke.
(insert_file): Search include dir list.
(s_enddirect): Validate length if prespecified.
(s_endmpg): Likewise. Handle -no-dma-pke.
(s_endunpack): Handle -no-dma-pke.
1998-01-30 20:02:46 +00:00
Doug Evans
d341ae3fef
* read.h (include_dirs): Declare.
...
(include_dir_count,include_dir_maxlen): Declare.
1998-01-30 19:13:17 +00:00
Ian Lance Taylor
577e9a32f7
* gas/mri/moveml.d: Add test comments, fix regexps.
1998-01-30 19:09:44 +00:00
Ian Lance Taylor
ce44ad74d9
* listing.c (buffer_line): If we can't open the file, set at_end.
...
(listing_print): Remove unused local variable fi.
1998-01-30 19:06:39 +00:00
Ian Lance Taylor
4b02738729
* config/vms-conf.h: Don't undef VERSION.
1998-01-30 16:48:57 +00:00
Doug Evans
08847198d5
fix typo in last change
1998-01-30 12:10:00 +00:00
Doug Evans
fe9efeb6d9
* config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
...
(md_parse_option): Handle them.
(md_show_usage): Print them.
(output_dma,output_pke): New static globals.
(md_begin): Initialize them to 1.
(assemble_pke): Handle -no-dma-pke.
(insert_file): Search include dir list.
(s_enddirect): Validate length if prespecified.
(s_endmpg): Likewise. Handle -no-dma-pke.
(s_endunpack): Handle -no-dma-pke.
1998-01-30 12:01:27 +00:00
Doug Evans
72e6c688c3
* config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
...
(m32rx support): only include #ifdef HAVE_CPU_M32RX.
1998-01-29 21:39:53 +00:00
Doug Evans
7f34b69ef1
* gas/m32r/{allinsn,high-1}.d: Allow # constant prefix to be missing.
1998-01-29 21:36:38 +00:00
Ian Lance Taylor
c412299f00
Thu Jan 29 14:42:44 1998 Pat Rankin <rankin@eql.caltech.edu>
...
* Makefile.am (CONFIG_OBJS): New variable, containing part of old
OBJS variable.
(GENERIC_OBJS): New variable, with the rest of the old OBJS
variable.
(OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
($(srcdir)/make-gas.com): Rename from make-gas.com.
(stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
(EXTRA_DIST): Define.
* vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
explicitly rather than via the list of object files.
(gcc-as.opt): New file created when make-gas.com is run.
* config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
itbl-cpu.h} to #include appropriate file rather than copying that
file.
* config/vms-conf.h: Synchronize with current config.in.
* Makefile.in: Rebuild.
1998-01-29 19:48:18 +00:00
Doug Evans
d476d46aab
add more direct/unpack code
1998-01-29 19:37:59 +00:00
Richard Henderson
80bc5d031a
Oops. forgot to add the moved files.
1998-01-29 17:51:56 +00:00
Richard Henderson
b1822b9884
* gas/m68k/mri_moveml.[sd]: Moved to ...
...
* gas/mri/moveml.[sd]: ... here.
* gas/mri/mri.exp: Run it.
1998-01-29 17:44:48 +00:00
Doug Evans
55a4759f2b
* config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
...
(m32rx support): only include #ifdef HAVE_CPU_M32RX.
1998-01-29 17:27:49 +00:00
Nick Clifton
5ffc6deeb3
Fuxed sanitization (again!)
1998-01-29 17:27:48 +00:00
Doug Evans
e1b747c4f2
checkpoint
1998-01-29 17:06:52 +00:00
Doug Evans
8dddf63f16
checkpoint
1998-01-29 13:22:46 +00:00
Doug Evans
e033023fb2
checkpoint
1998-01-29 12:37:45 +00:00
Ian Lance Taylor
620cdab253
rebuild
1998-01-29 04:41:00 +00:00
Doug Evans
b15e0cc7a0
* dvp/dvp.exp: New file.
...
* dvp/{basic-1,br-1,upper-1,lower-1,pke-1}.[sd]: New testcases.
1998-01-29 01:33:53 +00:00
Nick Clifton
79420f9af9
Sanitization fixes.
1998-01-29 00:41:46 +00:00
Nick Clifton
ed29580469
Fix determination of when two instructions can be combined in parallel.
1998-01-29 00:29:37 +00:00
Bill Moyer
4d1dc7f122
Added "--nowarnswap" option for suppressing "Swapping instructions" warnings.
1998-01-28 22:36:10 +00:00
Ian Lance Taylor
0040c1e966
Wed Jan 28 16:41:19 1998 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
...
* configure.in (i386-*-mingw32*): New target.
* configure: Rebuild.
1998-01-28 21:44:53 +00:00
Ian Lance Taylor
8ecd2ccb89
* symbols.c (resolve_symbol_value): Don't set the segment if it
...
hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
1998-01-28 20:22:00 +00:00
Ian Lance Taylor
f414803c3a
* config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
...
S_GET_SEGMENT.
1998-01-28 19:55:40 +00:00
Doug Evans
6856244d32
checkpoint
1998-01-28 19:35:31 +00:00
Ian Lance Taylor
fa8666c791
Wed Jan 28 13:54:50 1998 Pat Rankin <rankin@eql.caltech.edu>
...
as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
depends upon HAVE_{UNLINK,REMOVE} values rather than host
compiler.
1998-01-28 18:56:15 +00:00
Ian Lance Taylor
8fb6931a28
* config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
1998-01-28 18:49:01 +00:00
Doug Evans
0f1ec0f95f
txvu renamed to dvp
1998-01-28 18:32:30 +00:00
Doug Evans
bfddfe6ec8
txvu renamed to dvp, so files moved to ../dvp
1998-01-28 18:29:11 +00:00
Bill Moyer
7012071819
Added --nowarnswap arg to suppress "Swapping instructions" warning.
1998-01-28 18:20:46 +00:00
Doug Evans
98b155a20a
* configure.in: Add dvp support.
...
* configure: Regenerate.
* config/tc-dvp.[ch]: New files.
And delete old txvu stuff.
1998-01-28 18:08:06 +00:00
Nick Clifton
1adee2cc07
Display instruction when an insertion error is encountered.
1998-01-28 17:53:31 +00:00
Doug Evans
aa788b629f
(assemble_one_insn): tweak lexing of suffix
1998-01-28 17:31:22 +00:00
Doug Evans
3a6b89101e
checkpoint
1998-01-28 14:05:49 +00:00
Doug Evans
276dd6efe9
txvu renamed to dvp
1998-01-28 10:15:09 +00:00
Jeff Law
09025569d2
* gas/mips/4010.s: Add 4010 tests.
...
* gas/mips/4010.d: Expected output.
* gas/mips/4100.s: Add 4010 tests.
* gas/mips/4100.d: Expected output.
* gas/mips/4650.s: Add 4010 tests.
* gas/mips/4650.d: Expected output.
* gas/mips/mips.exp: Run the new tests.
* gas/mips/*.d: Pass the right processor model to objdump.
Fix minor cases where expected output was wrong due to opcode
conflicts.
1998-01-28 04:58:37 +00:00
James Lemke
4411d96450
*** empty log message ***
1998-01-28 02:20:20 +00:00
Doug Evans
95bfad6d10
* tc-txvu.c (*): Update to use handle new arguments for
...
parse/insert/extract/print handlers.
({encode,decode}_fixup_reloc_type): New function.
(assemble_pke): Write out insn after parsing it.
1998-01-27 22:17:11 +00:00
Nick Clifton
38a8f434a8
Fix PRs 14721, 14722, 14723
1998-01-27 19:13:49 +00:00
Ian Lance Taylor
6cc7a93828
Tue Jan 27 13:32:01 1998 Robert Lipe <robertl@dgii.com>
...
* configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
(i386-*-sco3.2v5*coff): New target.
(i386-*-sco3.2*): New target.
* configure: Rebuild.
1998-01-27 18:35:53 +00:00
Doug Evans
17d8f29c26
use '/' in one case to test it
1998-01-27 18:18:53 +00:00
Doug Evans
ee1c882ed5
allow '/' in addition to '.' in dest spec
1998-01-27 18:12:33 +00:00
Doug Evans
764c48f8ab
fix ior encoding
1998-01-27 17:56:06 +00:00
Ian Lance Taylor
5a82ebaffc
tweak again
1998-01-27 17:35:43 +00:00