Commit Graph

469 Commits

Author SHA1 Message Date
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
Ken Raeburn 51d8eae92d from Ralph Campbell's work 1993-02-08 19:20:27 +00:00
Ken Raeburn debb85610b delete silly fake-as target stuff 1993-02-08 19:18:54 +00:00
Ken Raeburn 1b0e816029 don't specify comopiler here 1993-02-08 19:17:29 +00:00
Ken Raeburn 73e05a6e78 The z8k code doesn't appear too depend on include/opcode/h8300.h.
List it as depending on opcodes/z8k.h instead.
1993-02-08 19:15:26 +00:00
Steve Chamberlain 033400ec8d * config/{h8500.mt, tc-h8500.c, tc-h8500.h, obj-coffbfd.c,
obj-coffbfd.h}: support for the H8/500
1993-02-04 20:47:48 +00:00
Ken Raeburn 5a61aea99c not used 1993-01-27 22:58:05 +00:00
Ken Raeburn 23daa41e49 not used 1993-01-27 22:58:04 +00:00
Ken Raeburn eeeaa7780b whitespace/comment changes 1993-01-20 22:22:21 +00:00
Ken Raeburn 003acb2d96 keep config-gas.com.
if purging v9, discard ChangeLog.v9, keep otherwise.
1993-01-08 14:40:59 +00:00
Ken Raeburn 47eccb7d01 log for v9 work 1993-01-08 14:39:53 +00:00
Ken Raeburn 494a6c056e Lots of changes from Eric Youngdale, mostly for VAX and VMS support. 1993-01-07 10:49:48 +00:00
Ken Raeburn 4b0dd31c9f Lots of changes from Eric Youngdale, mostly for VAX and VMS support.
Also, fix another goof in read.c, which caused ".data" not to work...
1993-01-07 10:48:49 +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 db81c5e7d5 fix goof from last change 1993-01-04 21:48:44 +00:00
Ken Raeburn 9d76a19580 log for changes checked in this morning; deleted some duplicate entries 1993-01-04 13:28:51 +00:00
Ken Raeburn c8863a58ef (s_data): Use "data_section"; it'll map to SEG_DATA or SEG_E1 if appropriate,
as soon as I check in as.h.
(s_lcomm): Likewise with bss_section.
(s_fill): Use memset, not bzero.
whitespace/comment changes.
deleted some "#ifdef DONTDEF" sections relating to GDB symtabs.
1993-01-04 13:24:39 +00:00
Ken Raeburn 0124412e4c delete decls of segment_name, seg_name 1993-01-04 13:14:53 +00:00
Ken Raeburn d841bc4954 comment reformatting 1993-01-04 13:12:27 +00:00
Steve Chamberlain c24e7321a6 Replace T in TC_H8300 1993-01-01 22:21:33 +00:00
Ian Lance Taylor 9a75dc1f76 A bunch of changes to COFF support. See the ChangeLog. 1992-12-30 21:39: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
Ken Raeburn ba75c1ed58 avoid #elif 1992-12-28 18:38:32 +00:00
Ken Raeburn 476a57b9a0 SunOS 4.0.3 has no sys/stdtypes.h 1992-12-28 18:38:10 +00:00
Ken Raeburn 2ed83a5973 handle local label number zero -- 0f, 0b, 0$ -- correctly 1992-12-28 18:37:21 +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
Steve Chamberlain 2cb0bdc75b lints 1992-12-15 22:49:55 +00:00
Steve Chamberlain 7e8892c382 checkpoint 1992-12-15 20:41:16 +00:00
Jim Wilson 8fc0776d4e For SPARC V9, for RELOC_WDISP2_14, upper 2 bits start at bit 20 now, instead
of bit 19.
1992-12-15 03:46:14 +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 af3b5ad238 missed tc-tahoe files 1992-12-08 09:42:06 +00:00
Ken Raeburn 2e29427469 as-m680x0.texinfo does not exist 1992-12-08 09:39:03 +00:00
Ken Raeburn 04bbab3ad4 regenerated from as.texinfo &c 1992-12-08 09:37:22 +00:00
Ken Raeburn 6c2b38e087 replaced with newer code 1992-12-08 09:31:57 +00:00
Ken Raeburn b41390d23d updated for current list of files 1992-12-08 09:30:28 +00:00
Ken Raeburn 30d9fb5730 obj-coffbfd.c: include libcoff.h 1992-12-08 08:48:16 +00:00
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