Commit Graph

345 Commits

Author SHA1 Message Date
Jim Wilson
01aec199eb Keep sparc.mt. 1992-08-31 00:27:23 +00:00
Jim Wilson
c6b16054ea Resolve someone else's CVS update conflict. 1992-08-31 00:01:22 +00:00
Jim Wilson
b0952e128d Make as.new depend on LOCAL_LOADLIBES. 1992-08-29 19:12:04 +00:00
Ian Lance Taylor
8ae35e5919 Fri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)
* obj-bout.h, obj-bout.c (obj_header_append, obj_symbol_to_chars),
	tc-i960.c (md_ri_to_chars): Always output bout object file in
	little endian byte order (used to use endianness of host).
1992-08-29 00:16:47 +00:00
Ken Raeburn
4134a793c7 * config/tc-m68k.c (init_table): Now const. Always include 68851
data, so that "bc" is available to 68040 cache instructions.  Added
"tt0", "tt1", and 68ec030 variants.
(md_assemble): Complain if 68000 (only) and 68881 are specified.
(enum _register): Added TT0, TT1.
(m68k_ip, cases '3' and 't'): Handle new operand type codes.  Pass
line number correctly in "internal error" messages.  Don't print
architecture-mismatch message for operand errors.

From Colin Smith (colin@wrs.com):
* config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather than
install_operand.
1992-08-26 04:08:45 +00:00
Ken Raeburn
b2f221a944 * config/tc-m68k.c (init_table): Now const. Always include 68851
data, so that "bc" is available to 68040 cache instructions.  Added
"tt0", "tt1", and 68ec030 variants.
(md_assemble): Complain if 68000 (only) and 68881 are specified.
(enum _register): Added TT0, TT1.
(m68k_ip, cases '3' and 't'): Handle new operand type codes.  Pass
line number correctly in "internal error" messages.  Don't print
architecture-mismatch message for operand errors.

From Colin Smith (colin@wrs.com):
* config/tc-m68k.c (m68k_ip, case '_'): Use addword twice rather than
install_operand.
1992-08-26 04:02:42 +00:00
Steve Chamberlain
ab737e518d * listing.c (buffer_line): rewind to the start of include
files, they might be included twice.
1992-08-25 22:16:39 +00:00
Steve Chamberlain
163107a143 Support for the Z8k 1992-08-25 22:12:54 +00:00
Ian Lance Taylor
afba2b2286 Renamed OSE configuration to ose. 1992-08-24 22:32:46 +00:00
Ian Lance Taylor
148eb5dd61 Mon Aug 24 12:45:12 1992 Ian Lance Taylor (ian@cygnus.com)
* tc-m68k.c: use TARGET_CPU to choose default cpu type.

	* te-generic.h: default to LOCAL_LABELS_DOLLAR and LOCAL_LABELS_FB
	so that we can assemble hand-written libgcc code.
1992-08-24 19:48:54 +00:00
Ian Lance Taylor
7121231fbf Mon Aug 24 12:45:43 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: defined TARGET_CPU for C code so that it can choose
	one element of a family.
1992-08-24 19:48:24 +00:00
Ken Raeburn
4772861e5b From p3:
* messages.c (as_warn): Use fputs, not fprintf, with a buffer that
has already been formatted (but may still contain %-characters).
(as_bad): Likewise.
1992-08-21 19:21:52 +00:00
Ian Lance Taylor
c50140c86b This is for PR 628.
Wed Aug 19 11:20:59 1992  Ian Lance Taylor  (ian@cygnus.com)

	* tc-m68k.c, tc-m68kmote.c: the cas2 instruction is supposed to be
	written with indirection on the last two operands, which can be
	either data or address registers.  Added a new operand type 'r'
	which accepts either register type.  Added '(' to notend stuff in
	tc-m68kmote.c to accept (a0):(a2) in cas2 instruction.
1992-08-19 18:27:48 +00:00
Ken Raeburn
09952cd955 mainly link-relax changes 1992-08-19 14:42:21 +00:00
Roland Pesch
fb3e61f069 Hitachi now calls assembler plain "as", not "as83". 1992-08-18 23:27:38 +00:00
Ken Raeburn
a457f4d997 ChangeLog entry for sparc.mt added last week. 1992-08-18 22:20:44 +00:00
Ian Lance Taylor
03261889a6 Moved in from p3:
Tue Aug 18 14:19:01 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: always create installation directories.
1992-08-18 21:25:33 +00:00
Ian Lance Taylor
4b85771064 Moved in from p3:
Tue Aug 18 14:16:38 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: always create installation directories.  Removed
	MINUS_G, set CFLAGS to default to -g, added FLAGS_TO_PASS, passed
	FLAGS_TO_PASS to recursive makes.
1992-08-18 21:24:59 +00:00
Steve Chamberlain
f7e9bc5a2b * input-scrub.c (input_scrub_pop, input_scrub_push): memcpy was
being used with args swapped, causing occasional lossage when
	refilling buffers after an include file.
1992-08-17 22:12:02 +00:00
Ken Raeburn
c1c28543bc * messages.c (as_tsktsk): Use correct ANSI form for stdarg version.
Discard bogus DONTDEF version.
(as_warn, as_bad, as_fatal): Likewise.
1992-08-17 20:20:54 +00:00
Ken Raeburn
8be74775cd * config/tc-m68k.c (m68k_ip): If instruction is invalid for the
selected architecture, print a message saying so and listing what
processors support it, rather than saying "operands mismatch".
1992-08-15 02:57:12 +00:00
Ken Raeburn
2e20e59abc * config/tc-m68k.c (m68k_ip): If instruction is invalid for the
selected architecture, print a message saying so and listing what
processors support it, rather than saying "operands mismatch".
1992-08-15 02:50:47 +00:00
Ken Raeburn
c8c7e0bf25 make it compile on rs6k: declare free, disable assertions, don't define M_RS6000 1992-08-13 20:55:03 +00:00
Ken Raeburn
0e7d3df73a fix up hostname in log entry 1992-08-11 17:04:54 +00:00
Ken Raeburn
f101ac57c0 grab bfd lib for opcode table 1992-08-11 17:00:47 +00:00
Per Bothner
bec66218fc * tc-m68k.c: ".align N" means align to N-byte boundary *only*
if TN_SUN3; otherwise align to 2**N-byte bounary.
1992-08-10 21:40:49 +00:00
Steve Chamberlain
7fd3560a6a * read.c (s_fill): make the .fill size clamped error a warn and
fix bug where 0's were always placed.
1992-08-06 19:11:19 +00:00
Steve Chamberlain
1eaf4dd64d * config/tc-h8300.c: if a :8 is seen after an operand, fill top
two bytes of any constant with 0xff:
1992-08-06 19:09:57 +00:00
Steve Chamberlain
4f3569faad Fix typo, I ment sun 3 .align is nbytes 1992-08-05 19:06:28 +00:00
Steve Chamberlain
9e43698e16 * config/tc-m68k.c (md_pseudo_table): fix the .align thing
the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo.
1992-08-05 19:05:43 +00:00
Steve Chamberlain
62594bd73c * config/tc-m68k.c (md_pseudo_table): fix the .align thing
the right way; for just the 68k. Sun4 .align is nbytes, not ptwo.
1992-08-05 19:05:21 +00:00
John Gilmore
934afcd434 * tc-m68k.c (try_index): Error if index scaling specified and
assembling for an older CPU than a 68020.

This bug was found at Adobe because GAS did not diagnose incorrect
68020 code generated by GCC when compiling for 68010.  We had to debug it
in the target system as failing instructions.
1992-08-05 08:59:10 +00:00
Ken Raeburn
c7a535938e delete cvs merge cruft 1992-08-04 21:41:14 +00:00
Ken Raeburn
680227f309 fix for pr1371: heed fx_offset in pcrel relocs 1992-08-01 23:20:55 +00:00
Ken Raeburn
6d27d3a205 * config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
processor/opcode mismatch, so reword the error message.
        (md_assemble): If no CPU has been set (even if FPU/PMMU
        characteristics have been), default to 68020.  Don't need extra
        quotes around error string.
1992-08-01 02:26:13 +00:00
Ken Raeburn
03bb29bf79 (&!@# CVS breakage...)
* configure.in (mips host): Accept "ultrix" with version number.

        * expr.c (floating_constant): Separate "=-" to avoid confusing
        ancient or broken compilers.
1992-08-01 02:15:14 +00:00
Ken Raeburn
c51ccfd50a * configure.in (mips host): Accept "ultrix" with version number.
* expr.c (floating_constant): Separate "=-" to avoid confusing
        ancient or broken compilers.

        * config/tc-m68k.c (m68k_ip): Mismatch error could also indicate
        processor/opcode mismatch, so reword the error message.
        (md_assemble): If no CPU has been set (even if FPU/PMMU
        characteristics have been), default to 68020.  Don't need extra
        quotes around error string.
1992-08-01 02:12:55 +00:00
Jim Wilson
14f1fc24fa * read.c (potable): Revert sac's incorrect change made Jul 13.
Align really is supposed to be ptwo not nbytes.
1992-07-31 19:29:14 +00:00
David Henkel-Wallace
d81eea83fb Don't save obsolete/ 1992-07-28 18:58:12 +00:00
David Henkel-Wallace
cd625bf3f9 Keep OSE support 1992-07-23 18:23:44 +00:00
K. Richard Pixley
ebe30eae41 removed rcsids 1992-07-18 04:12:48 +00:00
Roland Pesch
41ee6e917d (1) disable documentation for .lsym at sac's request
(2) structural changes triggered thereby
(3) verify m4 and makeinfo run correctly on all versions of the doc
    represented in the Makefile and m4 config definition files

as.texinfo: disabled .lsym
            exploit makeinfo node defaulting
            removed some conditional hair around nodes
            fixed some bad conditionals in a29k config
a29k.m4, i960.m4, sparc.m4, vax.m4: supply missing switch definitions
            (looks like these hadn't been tested for a while)
as-all.texinfo: mechanically derived from above
1992-07-16 23:52:14 +00:00
Steve Chamberlain
462088b886 * write.c (fixup_segment): if relaxing, don't do anything.
* config/obj-bout.[ch] : maintain the a_relaxable file header info
	* config/tc-i960.c: new option -linkrelax
1992-07-16 15:22:26 +00:00
Steve Chamberlain
a933d598b6 * expr.c (expr): allow SEG_BSS in expressions
* read.c (potable): align should be nbytes, not ptwo!
	* write.c (write_object_file): extra glue for new bss attributes
	(relax_segment): SEG_BSS is ok now
	* config/tc-m68k.c (m68k_ip_op): can now parse more @( modes
1992-07-13 21:32:05 +00:00
David Henkel-Wallace
0b0b5dbac1 Support -program_suffix (and make -program_prefix actually work). 1992-07-10 18:37:35 +00:00
K. Richard Pixley
c0bbfd27c6 get the CROSS macro into gcc's flags 1992-07-07 21:48:41 +00:00
Steve Chamberlain
f264b1f575 *** empty log message *** 1992-07-07 00:11:55 +00:00
Roland Pesch
574fcd7b67 Small clarification in description of Jxx FOO expansion for 680x0. 1992-06-30 18:17:31 +00:00
Steve Chamberlain
7c2d4011a4 Wed Jun 24 10:57:54 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* app.c (process_escape): new function to handle escapes the right
	way, (do_scrub_next_char): use new function
	* cond.c (s_ifdef): do ifdef/ifndef right
	* read.c (s_fill): make the , expressions optional like the doc
	says
	* config/tc-h8300.[ch]: better warnings
1992-06-24 18:02:38 +00:00
Steve Chamberlain
65bfcf2e61 * subsegs.c (subsegs_begin): create bss0_frchainP in the same was
as data0_frchainP

	* write.c (write_object_file): various changes to handle data in
	the BSS segment in much the same was as stuff in the DATA segment.

	* subsegs.c (subseg_change): allow and handle a change into SEG_BSS.
1992-06-09 19:36:49 +00:00