Commit graph

472 commits

Author SHA1 Message Date
Ken Raeburn
db33220fbd tonight's changes 1992-12-08 08:11:15 +00:00
Ken Raeburn
70540d184f version 1.93 now 1992-12-08 08:07:52 +00:00
Ken Raeburn
9d007e2ca7 not needed 1992-12-08 08:05:48 +00:00
Ken Raeburn
eee109cdcf updated for added/deleted files 1992-12-08 08:05:32 +00:00
K. Richard Pixley
43bbd567f2 recording file death 1992-12-08 04:59:31 +00:00
K. Richard Pixley
a362ee2363 recording file death 1992-12-08 04:53:09 +00:00
Ken Raeburn
dde624eff9 recent changes to as.h, Makefile.in, write.c, obj-vms.c 1992-12-07 08:43:34 +00:00
Ken Raeburn
1f624b2117 changes for traditional C 1992-12-07 08:37:36 +00:00
Ken Raeburn
f42c91bb42 deleted local-vars comment 1992-12-07 08:37:23 +00:00
Ken Raeburn
7f2cb2702a Some cleanup.
Deleted some unused code.
Fixed some declarations to use PARAMS macro.
Fixed up configure.in for new targets.
Some whitespace/comment fixes.
Merged config/ChangeLog.
1992-12-03 23:54:54 +00:00
Ken Raeburn
c5dd66a13a mostly whitespace/comment changes 1992-12-03 23:52:26 +00:00
Ken Raeburn
082e9570f1 defined NEED_FX_R_TYPE 1992-12-03 23:50:45 +00:00
Ken Raeburn
baa018ced4 guesses for i860 relocs, from fsf code 1992-12-03 23:49:30 +00:00
Ken Raeburn
56a89eca33 delete M_VAX 1992-12-03 23:48:47 +00:00
Ken Raeburn
2ccf24f4c7 delete HO_USG and setbuffer macros 1992-12-03 23:45:34 +00:00
Ken Raeburn
dcc54cad96 declare malloc, realloc 1992-12-03 23:45:13 +00:00
Ken Raeburn
88db8f81f2 more tahoe code 1992-12-03 23:42:16 +00:00
Ken Raeburn
7943af02d9 tahoe code from fsf - untested 1992-12-03 23:41:18 +00:00
Ken Raeburn
9ebc250f2e doc changes 1992-12-03 23:40:24 +00:00
Ken Raeburn
be9618de59 vms stuff from fsf version - untested 1992-12-03 23:38:49 +00:00
Ken Raeburn
e087ffcc57 no longer using gas-format.el 1992-12-03 23:15:59 +00:00
Ken Raeburn
4fbcf8b880 add breakpoint in as_perror 1992-12-03 23:11:01 +00:00
Roland Pesch
fb0c7f1f3e Explicitly call reader's attention to lack of leading . in z8k special
directives.
1992-11-26 01:38:44 +00:00
Roland Pesch
4a29041a3a Updates from SAC answers to queries on z8k stuff. 1992-11-25 01:39:45 +00:00
Roland Pesch
ba487f3ad2 Superficial editing pass over Z8000 stuff. 1992-11-24 05:21:14 +00:00
Jim Wilson
0d44b3d1f0 For SPARC V9, change icc to %icc, xcc to %xcc, fccX to %fccX. 1992-11-23 23:40:18 +00:00
Roland Pesch
fecdbc3cc5 Format corrections to permit running through makeinfo and TeX without errors. 1992-11-23 21:59:41 +00:00
Ken Raeburn
355afbcd8b Ran "indent", for GNU coding style; some code & comments still need fixup.
Removed some unneeded files.

obj-coff.c (obj_coff_endef): Use as_warn, not fprintf.
tc-m68k.c (md_assemble): 68000+68881 is okay -- could be emulating.
1992-11-23 20:42:33 +00:00
Ken Raeburn
6efd877de5 Ran "indent", for GNU coding style; some code & comments still need fixup.
Removed some unneeded files.

configure.in: Don't look for te-386bsd.h, which doesn't exist...
1992-11-23 20:39:57 +00:00
Steve Chamberlain
242d9c06b2 z8000 documentation
* Makefile.in, all.m4, as-all.texinfo as.texinfo: all modified
1992-11-19 19:49:01 +00:00
Steve Chamberlain
afed55f0fc checkpoint 1992-11-19 19:35:38 +00:00
Steve Chamberlain
8ab2202135 checkpoint 1992-11-12 23:38:51 +00:00
Mark Eichin
6ea6d0e3c1 add sparclite-fujitsu-none, since it was only getting set via the default
branch in the old configure.in
1992-11-12 12:55:48 +00:00
Ian Lance Taylor
b62a08d606 tc-m68k.c (insert_reg): put REGISTER_PREFIX before register
names before putting them in the symbol table.
1992-11-10 21:21:33 +00:00
Ian Lance Taylor
0069b1f670 These are actually Ken's patches--I told him I'd take move them from
p3 into devo.

	* tc-m68k.c (m68k_reg_parse): If REGISTER_PREFIX isn't defined,
	still accept (but don't require) OPTIONAL_REGISTER_PREFIX before
	the register name.
	* tc-m68k.h (OPTIONAL_REGISTER_PREFIX): Define to be "%", if not
	M68KCOFF.
1992-11-10 20:09:23 +00:00
Ian Lance Taylor
587c4264e0 These changes clean things up a bit, and improve Solaris cross
support when using /opt/SUNWspro/SC2.0/acc.

Tue Nov 10 09:50:25 1992  Ian Lance Taylor  (ian@cygnus.com)

	* obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss
	section.

	* atof-ieee.c, atof-ns32k.c, tc-*.c: made EXP_CHARS, FLT_CHARS,
	comment_chars, line_comment_chars and line_seperator_chars
	consistently const, and always initialized them.  Included read.h.
1992-11-10 18:17:00 +00:00
Jim Wilson
0cef0e20f9 Flag error if absolute constant is too large for an immediate field. 1992-11-06 01:59:36 +00:00
Ken Raeburn
f3f45b1047 this morning's check-ins... 1992-11-04 16:01:54 +00:00
Ken Raeburn
cc1b689f2e Put conditional "const" before version_string, not before dummy function
for VMS.  Now version 1.91.03.  (Save 1.91.02 for Cygnus P4.)
1992-10-28 13:55:27 +00:00
Ian Lance Taylor
1045c20b4d Fri Oct 23 14:40:38 1992 Ian Lance Taylor (ian@cygnus.com)
* obj-coffbfd.c (write_object_file): check return value of
	bfd_close_all_done.
1992-10-23 21:42:04 +00:00
Ian Lance Taylor
6142210d1d Tue Oct 20 13:02:25 1992 Ian Lance Taylor (ian@cygnus.com)
* Support for i386-sysv.
	obj-coffbfd.c (do_relocs_for, write_object_file): set segment
	addresses to reasonable sizes.  New define ZERO_BASED_SEGMENTS can
	be used to set them all to zero as was done before.
	(fill_section): segment addresses now set in write_object_file.
	(fill_section): Don't set STYP_NOLOAD for .bss section.
	(fixup_segment): 386 uses strange common symbol format.
	tc-i386.c (tc_coff_fix2rtype): use R_DIR32, not R_RELLONG, for
	compatibility with SVR3.2 linker.
1992-10-20 20:10:34 +00:00
Ian Lance Taylor
653912459d Tue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)
* configure.in: i386-sysv and i386-sco use coffbfd.
1992-10-20 20:09:45 +00:00
Ian Lance Taylor
559d9aac44 Tue Oct 20 12:18:08 1992 Ian Lance Taylor (ian@cygnus.com)
* app.c (do_scrub_next_char): discard whitespace after a label.
1992-10-20 19:20:58 +00:00
Ian Lance Taylor
4b77b129c6 Added #include <ctype.h> to several files. It's often more efficient,
and on some systems it's required.
1992-10-14 20:20:03 +00:00
David D. Zuhn
0f8b9790a1 use sysv config for solaris2 hosting 1992-10-12 02:10:51 +00:00
Steve Chamberlain
c116445e02 fix i960+non-bfd coff bit rot.
* obj-coff.c (c_dot_file_symbol, obj_coff_ln, obj_coff_line):
	support for C source listings. (obj_coff_endef): look in the right
	part of the symbol for the symbol name
1992-10-06 00:03:20 +00:00
Steve Chamberlain
4f4476787a Mon Oct 5 09:28:57 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* tc-m68k.c (get_num): make it work for all segments, not just the
	first three.
1992-10-05 16:30:05 +00:00
Mark Eichin
984cf2d71a support 386bsd target, from p3 1992-10-05 08:33:10 +00:00
Steve Chamberlain
2f68cb548c * obj-coffbfd.c (write_object_file): don't fixup for the z8k
* tc-z8k.[ch]: lots of bug fixes
1992-09-29 19:25:33 +00:00
Ian Lance Taylor
7c42ad77f3 Tue Sep 29 10:51:55 1992 Ian Lance Taylor (ian@cygnus.com)
* tc-i960.h, tc-i960.c: avoid the ANSI preprocessor addition
	#elif, since it is not supported by old compilers.
	ho-rs6000.h, tc-m68k.c: the native RS/6000 compiler miscompiles a
	couple of expressions in tc-m68k.c.
1992-09-29 18:38:20 +00:00
Ken Raeburn
fdc6ba6423 tc-i960.c: use NO_RELOC 1992-09-29 01:27:27 +00:00
Ian Lance Taylor
fe86a81703 Fri Sep 25 18:18:52 1992 Ian Lance Taylor (ian@cygnus.com)
* tc-m68k.h: if M68KCOFF, define DOT_LABEL_PREFIX (to require
	local labels to start with a .) and set REGISTER_PREFIX to %.
	tc-m68k.c (m68k_reg_parse): accept REGISTER_PREFIX if defined.
1992-09-26 01:20:04 +00:00
John Gilmore
5a0fc1d4b8 Comment changes. 1992-09-26 00:55:33 +00:00
Ken Raeburn
4959cb7bf9 defined(__STDC__) / __STDC__==1 changes recommended by gnu 1992-09-25 21:14:46 +00:00
Brendan Kehoe
5e9d510ea6 * listing.c (debugging_pseudo): Add stabs and stabn as things to ignore. 1992-09-24 19:43:45 +00:00
Sean Eric Fagan
b066f445bb Tue Sep 22 13:02:07 1992 Sean Eric Fagan (sef@cygnus.com)
* obj-coffbfd.c (do_relocs_for,fill_section): now allocate all
	sections starting from zero, rather than making them consecutive.
	This makes subsequent reloc calculations easier, esp if the
	object format doesn't understand addends. (obj_coff_lcomm): (maybe
	temporarily) allocate lcomm in .data rather than in .bss.  It
	seems that some tools can't cope with a non-zero sized bss
	before linkage.
1992-09-22 20:07:55 +00:00
Ken Raeburn
df3768fb6c cpu32 and -mno-688?1 support from p3 1992-09-22 19:24:33 +00:00
Ken Raeburn
ae9c717ec6 cpu32 and -mno-688?1 support from p3 1992-09-22 19:19:02 +00:00
Ian Lance Taylor
065b6303d0 Roll bask the WRS change, since it had already been applied, and the
reversed patch they sent blew my mind.
1992-09-22 15:32:03 +00:00
Ian Lance Taylor
25fb44628a Patches from WRS:
Mon Sep 21 14:44:17 1992  Ian Lance Taylor  (ian@cygnus.com)

	* tc-m68k.c (m68k_ip): fixed move16 operand handling, from WRS.
1992-09-21 22:31:41 +00:00
Steve Chamberlain
04b07d16c7 * tc-m68k.c (m68k_ip): An(disp) is not pc relative. 1992-09-18 15:03:59 +00:00
Jim Wilson
569dac152d Make as.new depend on LIBS not the never set LIBDEPS, so that we get an
opcodes directory dependence.
1992-09-16 00:26:24 +00:00
Ian Lance Taylor
efbfb612f4 Changes to make an installed cross-compiler find everything correctly.
Tue Sep 15 15:32:02 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in (install): if $(tooldir) exists, install as in
	$(tooldir)/bin.
1992-09-15 23:27:10 +00:00
Ian Lance Taylor
e41474b77d Sun Sep 13 20:29:39 1992 Ian Lance Taylor (ian@cygnus.com)
* obj-coffbfd.h: define WARN_SIGNED_OVERFLOW_WORD.
	obj-coffbfd.c (fixup_segment): check for signed .word overflow if
	WARN_SIGNED_OVERFLOW_WORD.
1992-09-14 05:25:56 +00:00
Ian Lance Taylor
ca5e9d49dd Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)
* Added WARN_SIGNED_OVERFLOW_WORD define to give an error if any
	.word is < -32768 or > 32767.  The -J flag causes the error to be
	ignored.  This is to catch over-sized switches generated by gcc on
	systems which don't support the broken .word hack.
	as.c (main): permit -J if WARN_SIGNED_OVERFLOW_WORD.
	write.c (fixup_segment): check for signed .word overflow if
	WARN_SIGNED_OVERFLOW_WORD.
1992-09-14 05:25:24 +00:00
Ian Lance Taylor
76bf2d5d61 Sun Sep 13 20:29:39 1992 Ian Lance Taylor (ian@cygnus.com)
* obj-coffbfd.c (fixup_segment): fixed missing parens in
	expression checking for byte or word overflow.
1992-09-14 03:34:44 +00:00
Ian Lance Taylor
987b14913a Sun Sep 13 20:30:10 1992 Ian Lance Taylor (ian@cygnus.com)
* write.c (fixup_segment): fixed missing parens in expression
	checking for byte or word overflow.
1992-09-14 03:34:19 +00:00
Steve Chamberlain
6066ebada2 Whoops, forgot this one 1992-09-11 22:02:52 +00:00
Steve Chamberlain
28c8c50b43 Support for 386 coff 1992-09-11 17:23:31 +00:00
Ian Lance Taylor
b1520b1f70 Thu Sep 10 09:23:15 1992 Ian Lance Taylor (ian@cygnus.com)
* input-scrub.c (input_scrub_push): call input_file_begin, not
	input_scrub_begin.
	messages.c (as_perror): print ": " between the passed in error and
	the strerror, like perror does.
1992-09-10 16:25:31 +00:00
Ian Lance Taylor
3ad9ec6a7b Wed Sep 9 11:10:24 1992 Ian Lance Taylor (ian@cygnus.com)
* tc-m68k.c (m68k_ip, m68k_ip_op, get_num, try_moto_index): merge
	 Motorola and MIT syntax; gas can now assemble either type of
	 file.
	tc-m68kmote.c, tc-m68kmote.h: removed now superfluous files.
	From Steve Chamberlain:
	m68kcoff.mt: for m68k COFF.
	obj-coffbfd.c: (fixup_mdeps) added
	 (size_section) removed bad sanity check
	 (fill_section) added rs_machine_dependent case
	 (write_object_file) call fixup_mdeps
	 (fixup_segment) set fx_subsy to 0.
	obj-coffbfd.h: define WORKING_DOT_WORD (too hard to support) and
	 handle m68k.
	tc-m68k.c, config/tc-m68k.h: added m68k COFF support and Motorala
	 pseudo ops.
1992-09-09 18:38:16 +00:00
Ian Lance Taylor
b53ccaacae Wed Sep 9 11:06:25 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: use gas_target instead of modifying target_cpu.
	From Steve Chamberlain:
	Makefile.in: Handle m68*-*-coff*.
	read.c, read.h: add mult argument to s_space
1992-09-09 18:37:27 +00:00
Ken Raeburn
db4d20e5bf include opcode library 1992-09-09 01:27:27 +00:00
Ken Raeburn
e53ab768f4 from p3: +0.0 is a small integer, at least for moveq 1992-09-04 23:25:16 +00:00
Ian Lance Taylor
7e10f53ccf Brought forward from p3:
Sun Aug 30 21:24:46 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: map "as" through program_transform_name when
	installing.
1992-09-01 01:14:04 +00:00
Steve Chamberlain
cfb48ce52d #include file moved 1992-08-31 22:53:15 +00:00
Jim Wilson
71703b0735 Update to SPARC Version 9 Draft 1.0.4. 1992-08-31 17:14:50 +00:00
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