Commit Graph

511 Commits

Author SHA1 Message Date
Ken Raeburn
63cdddadd7 fix an m68k 0r0... bug 1993-03-20 20:54:00 +00:00
Jim Wilson
69498fa243 Make targ-cpu.o depend on config.h so gas will build from scratch. 1993-03-20 05:03:31 +00:00
Ian Lance Taylor
f6a91cc0f7 * app.c (do_scrub_next_char): Added new state, 9, to avoid
dropping a space immediately following an identifier.
	* expr.c, write.c: Rewrote assert expressions to not use multiple
	lines; I don't think that can be done portably.
	* config/tc-mips.c (macro): Use $AT if target register is zero in
	load instruction, which it can be for a floating point load.

Also a bunch more changes to config/obj-ecoff.c, still in flux.
1993-03-18 00:52:37 +00:00
Ian Lance Taylor
3d3c503955 * write.c (write_contents): Compute the relocs before writing out
the section contents.
	* config/obj-ecoff.h, config/obj-ecoff.c: Numerous changes to get
	symbol table and values right.
	* config/tc-mips.h (LOCAL_LABEL): If OBJ_ECOFF, any label starting
	with $L is local.
	* config/tc-mips.c (tc_gen_reloc): If OBJ_ECOFF, adjust the addend
	by the section vma.

	* config/z8k.mt (TARG_CPU_DEPENDENTS): The relevant file is
	z8k-opc.h, not z8k.h.
1993-03-15 23:58:22 +00:00
Ian Lance Taylor
a36f6645fb * config/obj-coffbfd.c (obj_coff_endef): Correct test for .bf
symbol.
1993-03-15 20:21:13 +00:00
David D. Zuhn
2a697fa47f consistent use of -solaris2* 1993-03-13 02:52:21 +00:00
Ian Lance Taylor
f2f7d044cd * expr.c, write.c: Ultrix native 4.2 cc requires assert condition
to be on a single line.
1993-03-12 20:01:28 +00:00
Ken Raeburn
ed0998749a today's changes -- version number handling, config.h, as.c, EXIT_*, 68k changes 1993-03-12 03:10:49 +00:00
Ken Raeburn
4f6f4aa873 accept m683??, not just m683?2 1993-03-12 03:04:32 +00:00
Ken Raeburn
fc00f45193 config.h, version.c: Now generated from the Makefile.
ALL_CFLAGS: No longer define TARGET_CPU.
check: Print a message, rather than staying silent.
VERSION: New variable.
1993-03-12 02:58:15 +00:00
Ken Raeburn
e284846a8d Include new file config.h.
Handle some m683XX processor ids.
1993-03-12 02:39:03 +00:00
Ken Raeburn
f3ec63c251 Define EXIT_SUCCESS and EXIT_FAILURE if not already defined. 1993-03-12 02:29:11 +00:00
Ian Lance Taylor
3b4322922c Removed obsolete Makefile.dos (was being sanitized out anyhow). 1993-03-09 18:14:12 +00:00
Ian Lance Taylor
e99f6f9c8c Added new ECOFF files. 1993-03-09 16:12:44 +00:00
Ian Lance Taylor
514d95fad2 Checkpoint for ECOFF support. Can assemble hello, world.
* config/obj-ecoff.c, config/obj-ecoff.h: Preliminary ECOFF
	support.

	* config/tc-mips.h (TARGET_FORMAT): Define based on OBJ_AOUT vs.
	OBJ_ECOFF as well as TARGET_BYTES_*_ENDIAN.
	(struct loc, struct proc, struct file): Moved to tc-mips.c within
	#ifndef OBJ_ECOFF block, since ECOFF uses different versions.
	* config/tc-mips.c: Rearranged for ECOFF support.  Added
	prototypes for all static functions.  Moved existing minimal
	debugging format support info #ifndef OBJ_ECOFF blocks.
	(macro_build_lui): Eliminated sign_extend argument, because ECOFF
	does not support a non sign extended high 16 bits reloc.  Adjusted
	all callers accordingly.
	(tc_get_register): Renamed from get_register, and made non-static.

	* config/mips-big.mt, config/mips-lit.mt: New files.  Define
	TARGET_BYTES_BIG_ENDIAN and TARGET_BYTES_LITTLE_ENDIAN,
	respectively.
	* configure.in (mips-*-bsd*): Use gas_target mips-lit.
	(mips-*-ultrix*, mips-*-irix*, mips-*-ecoff): New targets, using
	obj_format ecoff and gas_target mips-lit or mips-big.
1993-03-09 16:11:14 +00:00
Ken Raeburn
c5d4bc889f bump main trunk to version 2.0.1 1993-03-09 15:44:37 +00:00
Ian Lance Taylor
fefba3a514 * write.c (chain_frchains_together): Check that seg_info (section)
is not NULL.
	(write_object_file): Call obj_frob_file after setting the symbols,
	not before.
1993-03-09 15:42:14 +00:00
Ken Raeburn
5bed532149 updated 1993-03-09 01:55:50 +00:00
Ian Lance Taylor
36d656a6cb * read.h: Define stringer here.
read.c, config/obj-ieee.c, config/obj-tcm88k.c: Not any of these
	places.
1993-03-05 17:10:02 +00:00
Steve Chamberlain
bf44929331 * read.c (s_space): Multiply repeat count by mult, not fill. 1993-03-04 19:55:59 +00:00
Ken Raeburn
9471a360d7 read.c needs ctype.h 1993-03-04 13:21:19 +00:00
Ken Raeburn
2492e118e3 SUB_SEGMENT_ALIGN now takes an argument. 1993-03-03 19:47:15 +00:00
Ken Raeburn
1101551c9c SUB_SEGMENT_ALIGN now takes an argument.
VMS fixes from Eric Youngdale.
1993-03-03 19:46:12 +00:00
Ian Lance Taylor
5e4cddb77d * listing.c: Cleaned up a bit, added prototypes, made NO_LISTING
case compile again.
1993-03-02 19:57:53 +00:00
Ken Raeburn
734ed1a37a ChangeLog is gone 1993-03-02 17:57:05 +00:00
Ken Raeburn
f3ca2a6421 changes this morning & yesterday 1993-03-02 17:14:43 +00:00
Ken Raeburn
43ca9aa677 set SEC_RELOC only if fixups are required 1993-03-02 17:05:34 +00:00
John Gilmore
7687d89bfb Update Gilmore entry 1993-03-02 08:51:08 +00:00
Jim Wilson
b4d4c33d94 ChangeLog entry for last week's tc-sparc.c change. 1993-03-01 20:09:16 +00:00
Ken Raeburn
502a558445 forgot to check in: sparc s_xword support 1993-03-01 20:02:59 +00:00
Ken Raeburn
07c788cec9 updated and expanded 1993-03-01 20:01:35 +00:00
K. Richard Pixley
f8ec0a459f record some of my gas work 1993-03-01 19:31:57 +00:00
Ken Raeburn
1b1b6c0249 minor revision, some new info 1993-02-28 17:00:51 +00:00
Ken Raeburn
162e34854c (s_xword): Now accepts large integer constants, but not symbolic constants
or expressions.
1993-02-24 23:30:59 +00:00
Ian Lance Taylor
160b7f0fef * app.c (do_scrub_next_char): In LEX_IS_LINE_COMMENT_START case:
Don't unget ch2 if we didn't get it.
1993-02-24 18:34:26 +00:00
Ken Raeburn
0cca30f32a BFD branch merging.
Misc optimizations, a couple of bugfixes.
Merged doc/ChangeLog.
Ralph Campbell's MIPS support.
And any other changes I've been putting in, save whitespace/comment adjustments.
1993-02-24 12:59:26 +00:00
Ken Raeburn
67f3dd7170 more bfd merging - see ChangeLog 1993-02-24 12:57:00 +00:00
Ken Raeburn
7050926e7b merged into ../ChangeLog 1993-02-24 11:24:44 +00:00
Ken Raeburn
428d312b82 changes for bfd support, enough for sun4 target 1993-02-24 11:24:14 +00:00
Ken Raeburn
1404ef23ee m68k_ip: for pc-rel addressing of a symbol, fix offset so +2 isn't needed 1993-02-24 11:20:58 +00:00
Ken Raeburn
f3abc7b25a deleted emacs local variables comments 1993-02-24 11:19:58 +00:00
Ken Raeburn
41a8f3a896 don't need LOCAL_LOADLIBES any more, with new configure.in changes 1993-02-24 11:16:21 +00:00
David D. Zuhn
0fc0d80b89 update version to 1.94 1993-02-18 13:12:04 +00:00
Ken Raeburn
5f85b1a5e6 stop in abort 1993-02-18 02:55:47 +00:00
David D. Zuhn
e8cac778e9 keep everything 1993-02-13 10:47:10 +00:00
David D. Zuhn
7c8592905d removing excess verbosity 1993-02-13 10:15:53 +00:00
Ian Lance Taylor
e63164f988 Thu Feb 11 09:20:37 1993 Ian Lance Taylor (ian@cygnus.com)
* config/obj-coffbfd.c (fill_section): Don't set vaddr here.
	(write_object_file): Set it here instead, so that fixup_segment
	can see the correct value.
1993-02-11 17:22:42 +00:00
Ken Raeburn
44c5672585 Deleted RCS logs and "Done in" message.
Fixed a typo in a filename.
1993-02-08 19:25:34 +00:00
Ken Raeburn
a4099f7848 update for files added and deleted 1993-02-08 19:24:09 +00:00
Ken Raeburn
22a8927a96 Move VMS version of SUB_SEGMENT_ALIGN to obj-vms.h from write.h. 1993-02-08 19:22:18 +00:00