Commit graph

189 commits

Author SHA1 Message Date
Ken Raeburn
e7c2f9431c lots o' changes 1993-05-05 20:51:35 +00:00
Ian Lance Taylor
5d6cfa60ae * config/obj-ecoff.c (init_file): Set fMerge to 0 since dbx seems
to want it that way.
	(ecoff_build_symbols): Turn local st_Proc symbols into
	st_StaticProc symbols.  Set index field of external st_Proc and
	st_staticProc symbols correctly.
	* config/tc-mips.h (NO_LISTING): Don't define.  People might want
	listings.
1993-05-05 20:18:38 +00:00
Ian Lance Taylor
a13872602a * config/obj-ecoff.c (obj_symbol_new_hook): Make up a .file if one
hasn't been seen yet.
	(add_ecoff_symbol): Don't refer to cur_file_ptr if it is NULL.
1993-04-28 20:44:05 +00:00
Steve Chamberlain
4a1bbbe75b Support for Hitachi SH 1993-04-27 01:32:09 +00:00
Ian Lance Taylor
be2f6bd65b * expr.c (operand): Fix unary plus operator (previously was the
same as '~' operator!).
1993-04-26 19:29:58 +00:00
Roland Pesch
97a6070c83 as.texinfo, Makefile.in 1993-04-15 23:27:39 +00:00
Ian Lance Taylor
55ff56bdb2 Fix typo. 1993-04-09 16:10:30 +00:00
Ian Lance Taylor
349f20de4e * config/obj-ecoff.h (ecoff_build_lineno): Make ilineMax in
symbolic header match cline in FDR; the native liinker seems to
	want that.
1993-04-09 16:08:29 +00:00
David D. Zuhn
5316696f0d as.texinfo lives in $(srcdir) 1993-04-08 22:53:01 +00:00
Roland Pesch
8ac18b21c3 doc/Makefile.in 1993-04-08 22:17:13 +00:00
Ian Lance Taylor
d565311f22 * config/ho-decstatn.h: Define BROKEN_ASSERT if not __GNUC__,
rather than undefining know.
1993-04-08 19:55:44 +00:00
Roland Pesch
0742a6fded Record abolition of last m4 conditional markup holdout manual. 1993-04-08 03:20:44 +00:00
Ian Lance Taylor
84e4920fc1 * config/tc-mips.c (gp_reference): Certain magic symbols can never
be referenced off the GP register.
1993-04-06 00:56:53 +00:00
Ian Lance Taylor
367fc8358a * app.c (do_scrub_next_char): Handle states 9 and 10 correctly
when dealing with characters of type LEX_IS_TWOCHAR_COMMENT_1ST,
	LEX_IS_STRINGQUOTE, and LEX_IS_ONECHAR_QUOTE.
1993-04-05 19:02:20 +00:00
Steve Chamberlain
dd4227d392 *** empty log message *** 1993-04-04 22:23:12 +00:00
Ian Lance Taylor
0433135db4 * config/tc-mips.h (LOCAL_LABEL): Treat any label starting with
'$' as local, for any object file format.
1993-04-02 21:34:56 +00:00
Ian Lance Taylor
477b4b040e * config/tc-mips.c (macro): Optimizations to branching code and a
couple of bug fixes from ralphc@pyrps5.eng.pyramid.com (Ralph
	Campbell).
1993-04-02 21:25:20 +00:00
Ian Lance Taylor
ed364bb694 * config/ho-irix.h: New file; if not gcc, define BROKEN_ASSERT.
* configure.in (mips-sgi-irix*): Set gas_host to irix.
1993-04-02 16:57:17 +00:00
Ian Lance Taylor
670a50ebf6 * subsegs.c (subseg_new): Set output_section of new section.
* as.c (perform_an_assemly_pass): Don't set output_section here.
	* expr.c (expr_part, expr): Turn off section assertions for ECOFF,
	since it has additional sections.
	* read.c (s_lcomm): For MIPS ECOFF, put small objects in .sbss,
	not bss_section.
	* config/obj-ecoff.h (TARGET_SYMBOL_FIELDS): Added
	ecoff_undefined field.
	* config/obj-ecoff.c (obj_symbol_new_hook): Initialize
	ecoff_undefined field.
	(add_file): If using stabs, just output a stabs symbol rather than
	creating a new fdr.
	(obj_ecoff_begin, obj_ecoff_bend): Ignore line number by reading
	it with get_absolute_expression, rather than skipping it by hand.
	(obj_ecoff_loc): If using stabs, just output a stabs symbol rather
	than ECOFF line number information.
	(obj_ecoff_stab): Accept non-zero values for stabs line number.
	(ecoff_build_symbols): Set ifilesym correctly.  Set storage class
	to small, undefined and/or readonly sections if appropriate.
	Don't output symbol names containing \001 characters.
	(ecoff_frob_file): Make sure at least one fdr is output.
	* config/tc-mips.h: Define TC_MIPS.
	* config/tc-mips.c (g_switch_value): New static variable.
	(md_assemble): Set gp size of output BFD.
	(gp_reference): New function; returns 1 if expression can be
	accesssed via gp.  Always returns 0 if not using ECOFF.
	(macro_build): Convert BFD_RELOC_LO16 to BFD_RELOC_MIPS_GPREL if
	possible.
	(macro): Generate sequences using gp if possible.
	(md_parse_option): Ignore -EL and -EB.  Parse -G.
	(md_apply_fix): Added BFD_RELOC_MIPS_GPREL to ignored case.
	(s_change_sec): Handle .rdata and .sdata for ECOFF.
	(s_extern): Mark symbol as external.  Set ecoff_undefined field.
1993-04-01 02:14:29 +00:00
Ken Raeburn
4b061a2a1a log doc change 1993-03-31 00:51:59 +00:00
Ken Raeburn
4478def83a go back to const instead of CONST 1993-03-30 16:23:32 +00:00
Ken Raeburn
2b1b569795 checkpoint, for lots of recent changes 1993-03-30 16:18:16 +00:00
Steve Chamberlain
e02eaa5943 * config/obj-coffbfd.c (do_relocs_for): Fix bug where nrelocs
wasn't being stored into scnhdr.
	* config/obj-coffbfd.h: Add prototype of s_get_segment.
	* read.c (TC_START_LABEL): Default definition.
	(read_a_source_file): Use TC_START_LABEL macro to work out
	if a label has been seen.
1993-03-29 21:56:49 +00:00
Ian Lance Taylor
c39b3eba78 * configure.in: Set BFDDEF and BFDLIB at the top of Makefile, not
the bottom (make expands variables in dependencies when the
	dependencies are read, not when they are used).
1993-03-29 21:49:44 +00:00
Ian Lance Taylor
543d88e4fd * config/obj-coffbfd.c (fill_section): Don't set NOLOAD bit for
a29k .bss section; the mondfe program doesn't like it.
1993-03-29 20:58:34 +00:00
Ian Lance Taylor
61001d969d * config/obj-coffbfd.c (do_relocs_for): Remove a29k special case.
(fixup_segment): Add a29k special case; the linker is not prepared
	to see a segment offset here.
1993-03-25 22:09:27 +00:00
Ian Lance Taylor
2c19a57c44 * app.c (do_scrub_next_char): Added new state, 10, modifying state
9 to only keep a space in between identifier characters.
1993-03-25 17:18:23 +00:00
David D. Zuhn
2d4bef5ef6 doc last changes 1993-03-25 08:32:55 +00:00
David D. Zuhn
afcc637a43 add dvi target 1993-03-24 21:51:04 +00:00
David D. Zuhn
80c8fd72ed add installcheck 1993-03-23 08:03:44 +00:00
Ian Lance Taylor
1369949e5e * config/tc-mips.c (macro): Use $AT for any floating point load.
Also get the debugging information right in obj-ecoff.c.
1993-03-22 22:18:43 +00:00
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
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
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
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
f3ca2a6421 changes this morning & yesterday 1993-03-02 17:14:43 +00:00
John Gilmore
7687d89bfb Update Gilmore entry 1993-03-02 08:51:08 +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
0bd77bc4fc expr.c (operand): handle logical end-of-line characters line newline 1993-01-05 14:17:21 +00:00
Ken Raeburn
6c5f99985e look for --with_bfd_assembler option 1993-01-05 13:44:58 +00:00
Ken Raeburn
9d76a19580 log for changes checked in this morning; deleted some duplicate entries 1993-01-04 13:28:51 +00:00
Ian Lance Taylor
85825401dc Wed Dec 30 10:18:57 1992 Ian Lance Taylor (ian@cygnus.com)
* app.c, config/tc-*.c: Don't include read.h, since it is already
	included by as.h.

	* These are based on patches from Minh Tran-le
	<mtranle@paris.intellicorp.com>.
	* configure.in (i[34]86-ibm-aix*): Accept i486 for host.  Use
	obj_format coffbfd and gas_target i386coff for target.
	(i[34]86-*-isc*): New host (uses sysv).
	* config/i386aix.mt: Removed (no longer used).
	* config/mh-i386aix (RANLIB): Use true rather than /bin/true.
	(MINUS_G): Removed.
	(LDFLAGS): Added, defined as -shlib.
	* config/te-i386aix.h (REVERSE_SORT_RELOCS): Undefine.
	* config/te-sco386.h (LOCAL_LABEL): Don't define.
	(DOT_LABEL_PREFIX): Define.
	* expr.c (operand): If DOT_LABEL_PREFIX, use .L0\001 as a label
	name rather than L0\001.
	* read.c (s_lcomm): Make a frag in SEG_BSS rather than using
	local_bss_counter.
	* symbols.c, symbols.h (local_bss_counter): Removed.
	* write.c (write_object_file): bss no longer uses
	local_bss_counter.  Pass correct data and bss size to
	VMS_write_object_file.
	* config/obj-vms.c (VMS_write_object_file): Accept bss size as
	argument, rather than using local_bss_counter.
	* config/tc-m88k.c (s_bss): Don't use local_bss_counter.
	* config/tc-sparc.c (s_reserve): Don't use local_bss_counter.
	* config/obj-coffbfd.c (had_lineno, had_reloc): Removed.
	(size_section): Restored sanity check.
	(do_relocs_for): Base section address on s_paddr rather than
	computing it.  Adjust a29k R_IHIHALF special case to account for
	section paddr (used to require paddr to be zero).  If there are no
	reclos, set s_relptr to 0.  Set relocation size in object_headers.
	(fill_section): Always set s_vaddr here, removing
	ZERO_BASED_SEGMENTS case.  Force s_scnptr for bss to 0.  Don't set
	NOLOAD for i386 .bss, because it confuses the SVR3 native linker.
	Set STYP_INFO for .comment.
	(coff_header_append): Use object headers and H_{SET,GET}_* macros.
	Make aouthdr writing depend on OBJ_COFF_OMIT_OPTIONAL_HEADER.
	(crawl_symbols): Handle 8 character section name correctly.  Use
	H_{SET,GET}_* macros.
	(do_linenos_for): Set lineno size in object_headers.
	(write_object_file): Use H_{SET,GET}_* macros.  Don't bother to
	set s_vaddr here.  If string_byte_count remains 4, set it back to
	0, and only write strings out if there are some.  Call
	fill_section before do_relocs_for and do_linenos_for.
	(obj_coff_section): Handle optional quoted second argument giving
	section characteristics.
	(obj_coff_bss): Added to handle .bss.
	(obj_coff_ident): Added to handle .ident (puts string in .comment
	section).
	(obj_coff_lcomm): Put common symbols in .bss, not .data.
	(fixup_mdeps): Change to segment.  Call frag_wane after
	md_convert_frag.
	(fixup_segment): Explicitly check S_IS_COMMON before making 386
	adjustment (already happened only for common symbols, but this is
	clearer).
	* config/obj-coffbfd.h (OBJ_COFF_OMIT_OPTIONAL_HEADER): Define.
	* config/tc-i386.c (s_bss): Don't use if I386COFF.
	(md_pseudo_table): Ignore .optim and .noopt.
	(tc_coff_sizemachdep): New function.
	* config/tc-i386.h (REVERSE_SORT_RELOCS): Undef, for SVR3
	compatibility.
	(LOCAL_LABEL): Removed definition.
	(DOT_LABEL_PREFIX): Defined.
1992-12-30 20:34:14 +00:00
Ken Raeburn
6d331d7151 app.c (app_push): Use memcpy, not bcopy.
(do_scrub_next_char): For \", return " not '.
(symbol_chars): Now const.
1992-12-29 23:53:52 +00:00
Ken Raeburn
4539aa02b2 expr.c (0$), obj-coff.h (#elif), ho-sunos.h (sys/stdtypes) changes 1992-12-28 18:40:10 +00:00
Ian Lance Taylor
3eb802b53a Wed Dec 16 12:12:33 1992 Ian Lance Taylor (ian@cygnus.com)
* write.c, obj-ieee.c: don't define SUB_SEGMENT_ALIGN if it is
	already defined.
1992-12-16 20:13:53 +00:00
Steve Chamberlain
be06bdcdd7 * app.c (do_scrub_begin): allow single quote strings if so
configured.
1992-12-15 22:55:01 +00:00
Ian Lance Taylor
016e0d4207 Sat Dec 12 15:26:34 1992 Ian Lance Taylor (ian@cygnus.com)
* listing.c: Call xmalloc, not malloc; don't declare malloc.

	* Changes to support SCO 3.2v4:
	* read.c (s_align_bytes, s_align_ptwo): If not SEG_DATA or
	SEG_BSS, fill with NOP_OPCODE.
	* config/i386coff.mt: Add opcode/i386.h to TARG_CPU_DEPENDENTS.
	* config/obj-coffbfd.c (do_relocs_for): Increment addr even if not
	using ZERO_BASED_SEGMENTS.
	(fill_section): If ZERO_BASED_SEGMENTS, set segment addresses, but
	never set segment address for SEG_E2 (.bss) and don't write out
	SEG_E2 contents.  Set .init and .fini sections to STYP_TEXT.
	(obj_coff_endef): Don't merge labels or symbols awaiting forward
	definitions, and don't merge tags with non-tags.  Check for .bf
	rather than just checking whether the second character is b and
	the third character is f.
	(obj_coff_val): gcc can generate values which we don't handle
	correctly; discard information for now, since it only affects the
	debugging information.
	(tag_find_or_name): Don't insert tags in the symbol table.
	(yank_symbols): Don't merge labels.
	(write_object_file): Don't define SUB_SEGMENT_ALIGN if it is
	already defined.  Fill subsegments with NOP_OPCODE, not 0.  Don't
	set segment address if ZERO_BASED_SEGMENTS.
	(obj_coff_section): Accept and ignore a trailing quoted string, as
	used in AT&T i386 syntax.
	(fixup_segment): Take segment as argument.  On the i386, adjust PC
	relative addends by the segment vaddr.
	* tc-i386.h: Define SUB_SEGMENT_ALIGN.
	* tc-a29k.h: Define ZERO_BASED_SEGMENTS.
	* tc-i386.c: (i386_operand): If I386COFF, accept any segment type.
1992-12-13 00:56:14 +00:00
Ken Raeburn
db33220fbd tonight's changes 1992-12-08 08:11:15 +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
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
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
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
David D. Zuhn
0f8b9790a1 use sysv config for solaris2 hosting 1992-10-12 02:10:51 +00:00
Mark Eichin
984cf2d71a support 386bsd target, from p3 1992-10-05 08:33:10 +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
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
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
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
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
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
Jim Wilson
b0952e128d Make as.new depend on LOCAL_LOADLIBES. 1992-08-29 19:12:04 +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
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
Ken Raeburn
09952cd955 mainly link-relax changes 1992-08-19 14:42:21 +00:00
Ken Raeburn
a457f4d997 ChangeLog entry for sparc.mt added last week. 1992-08-18 22:20:44 +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
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
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
4f3569faad Fix typo, I ment sun 3 .align is nbytes 1992-08-05 19:06:28 +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
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
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
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
David Henkel-Wallace
0b0b5dbac1 Support -program_suffix (and make -program_prefix actually work). 1992-07-10 18:37:35 +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