Commit Graph

902 Commits

Author SHA1 Message Date
Ken Raeburn
4380166dfa (read_begin): Call obstack_begin with values closer to 1K multiples.
(read_a_source_file, big_cons, float_cons): Use memcpy instead of bcopy.
1993-07-19 20:04:25 +00:00
Ken Raeburn
9892550d29 forgot to check this in long ago... 1993-07-19 20:03:06 +00:00
Ken Raeburn
7c05f0ec40 (obj_elf_previous): New function.
(previous_section, previous_subsection): New vars.
(obj_elf_section): Save current place in case DWARF code wants us
to pop back to it.  Handle unquoted section name as well as quoted
section name.  Don't crash on invalid strings.
(obj_pseudo_table): Handle new pseudos "previous", "2byte", and "4byte".
1993-07-19 19:49:34 +00:00
Ian Lance Taylor
ce2ad89aca * config/tc-m68k.c (m68k_ip_op): Don't decrement strend when
calculating opP->isiz; this permits the expression size to be
	determined as well, later on.

Fixes PR 2911.
1993-07-19 19:13:30 +00:00
Ian Lance Taylor
ffffc8fb5c * expr.c (clean_up_expression): Don't cancel the subtraction of
undefined symbols.

Fixes PR 2997.

	* read.c (s_data), config/obj-coffbfd.c (obj_coff_data): If -R,
	switch to text section rather than data section.

Fixes PR 2971.
1993-07-19 18:46:39 +00:00
Ken Raeburn
9d4dfbf379 fix net-equip pr 2975: tm-m68k.c(m68k_ip): adjust for pc-rel offset before using value, not after 1993-07-19 16:49:01 +00:00
Ian Lance Taylor
becfe05e61 * config/tc-hppa.h (tc_frob_label): Define.
* config/tc-mips.c: Many changes to support simple assembler
	optimization.
	(insn_label, prev_insn, prev_prev_insn, dummy_opcode,
	prev_insn_valid, prev_insn_frag, prev_insn_where,
	prev_insn_fixp, prev_insn_is_delay_slot): New static
	variables.
	(insn_uses_reg, mips_no_prev_insn, mips_emit_delays,
	mips_align, s_stringer, s_mips_space): New static functions.
	(mips_define_label): New global function.
	(md_pseudo_table): For "ascii", "asciz", "asciiz", call
	s_stringer.  Changed argument to float_cons from 0 or 1 to 'f'
	or 'd'.  For "space" call s_mips_space.
	(md_begin): Call mips_no_prev_insn.
	(append_insn): Only insert necessary NOP instructions.
	(macro): Call mips_emit_delays before setting mips_noreorder.
	Increment and decrement mips_noreorder rather than using
	save_reorder_condition.  Don't bother to use noreorder in
	M_L_DOB and M_L_DAB, since append_insn will not insert a NOP.
	(md_atof): Handle floating point numbers correctly for both
	big and little endian targets.
	(s_align, s_cons): Call mips_align rather than frag_align.
	(s_change_seg, s_cons): Call mips_emit_delays.
	(s_float_cons): Let float_cons do the work.
	(s_mipsset): Call mips_emit_delays when setting noreorder.
	* config/tc-mips.h (tc_frob_label): Define to be
	mips_define_label.
1993-07-16 16:26:41 +00:00
Ian Lance Taylor
1e9cf56586 * read.c (float_cons): Simplified parsing logic. If
REPEAT_CONS_EXPRESSIONS is defined, accept a repeat count.

	* symbols.c (colon): Rather than a special case for TC_HPPA,
	use new macro tc_frob_label.
1993-07-16 16:26:03 +00:00
Ian Lance Taylor
04acd059ee * config/obj-ecoff.c (ecoff_build_symbols, ecoff_build_procs,
ecoff_frob_files): Consistently use S_GET_VALUE rather than
	bfd_asymbol_value.  Warn if taking difference of symbols in
	different segments.
1993-07-16 15:58:08 +00:00
Ian Lance Taylor
cb441b387e * config/tc-m88k.c (omagic): Removed unused variable. 1993-07-15 22:16:39 +00:00
Ian Lance Taylor
5276e361db * config/obj-ecoff.c (ecoff_frob_file): Discard all open scopes,
with a warning.
1993-07-15 22:01:27 +00:00
Ian Lance Taylor
2368ec638a * config/obj-coffbfd.c (fixup_segment): If TC_M88K, don't adjust
by md_pcrel_from if we are relocating against a symbol (we still
	need md_pcrel_from for a PC relative relocation within the same
	file).
	* config/tc-m88k.c (md_pcrel_from): Corrected return value.
1993-07-15 20:23:43 +00:00
Ian Lance Taylor
77a401e2e0 Add m88k-coff target Makefile fragment. 1993-07-15 16:35:23 +00:00
Ian Lance Taylor
c978e704a9 * Preliminary support for m88k-coff.
* configure.in (m88k-*-coff*): New target.  Use coffbfd and
	m88kcoff.
	* config/m88kcoff.mt: New file.
	* read.c (lex_type): New macro LEX_AT to set lex type of '@'.
	(pseudo_set): Handle difference of symbols in different fragments
	by saving the entire expression as the value of the symbol.
	* symbols.c (resolve_symbol_value): Resolve difference
	expressions.
	* config/obj-coffbfd.c (obj_pseudo_table): If TC_M88K, accept
	"sdef" as a synonym for "def".
	* config/obj-coffbfd.h: If TC_M88K, include coff/m88k.h and set
	TARGET_FORMAT.
	(S_IS_LOCAL): Any symbol which includes \001 in the name is local.
	* config/tc-m88k.c, config/tc-m88k.h: Numerous changes to bring
	m88k port up to date, and to add COFF support.
1993-07-15 16:02:21 +00:00
Ian Lance Taylor
5868b1fe68 * Removed sy_forward and replaced it with an undefined expression
as the value of a symbol.
	* struc-symbol.h (struct symbol): Removed sy_forward field.  Added
	sy_resolved and sy_resolving single bit fields.
	* symbols.c (symbol_new): Don't initialize sy_forward field.
	(resolve_symbol_value): New function to adjust symbol value by
	fragment address, using recursion to resolve forward symbols.
	* symbols.h: Added prototype for new function.
	* read.c (pseudo_set): Set symbolP->sy_value to an undefined
	expression rather than setting symbolP->sy_forward.
	* write.c (write_object_file): Use resolve_symbol_value on
	symbols, keeping the common case (the old behaviour) inline.
	* config/obj-aout.c (obj_aout_frob_symbol): Removed sy_forward
	handling (subsumed by write.c change).
	* config/obj-coff.c, config/obj-coffbfd.c (obj_coff_val): Set
	sy_value rather than sy_forward.
	* config/obj-coffbfd.c (obj_coff_endef, yank_symbols): Check
	expression segment rather than sy_forward.
	(yank_symbols): Use resolve_symbol_value.
	(crawl_symbols): Removed extra pass over symbols.
	* config/obj-aout.c, config/obj-bout.c, config/obj-coff.c,
	config/obj-vms.c (obj_crawl_symbol_chain): Removed extra pass over
	symbols which handled sy_forward; use resolve_symbol_value
	instead.
	* config/obj-coff.h, config/obj-coffbfd.h (obj_frob_forward_symbol):
	Define.
	* config/obj-elf.c (obj_elf_stab_generic): Check expression
	segment rather than sy_forward.
	* config/obj-vms.c (VMS_Check_For_Main): Don't initialize
	sy_forward; do initialize sy_resolved and sy_resolving.
	* config/tc-hppa.h (STAB_FIXUP): Use sy_value, not sy_forward.
1993-07-14 22:21:25 +00:00
Ian Lance Taylor
85051959f4 * Changes to keep a full expression as the value of a symbol, not
just a longword:
	* struc-symbol.h: New field sy_value.
	* as.h: Include expr.h before struc-symbol.h.
	* expr.h: Use struct symbol rather than symbolS.
	* symbols.c (S_GET_VALUE, S_SET_VALUE): Rewrote to retrieve value
	of sy_value field; compile unconditionally, not just if
	BFD_ASSEMBLER.
	* symbols.h: Compile S_{SG}ET_VALUE prototypes unconditionally.
	* write.c (write_object_file): Set BFD symbol value to gas symbol
	value.
	* config/obj-aout.h, config/obj-bout.h, config/obj-coff.h,
	config/obj-coffbfd.h, config/obj-generic.h, config/obj-vms.h
	(S_GET_VALUE, S_SET_VALUE): Removed macro definitions.
	* config/obj-ieee.c (S_GET_VALUE, S_SET_VALUE): Removed.
	* config/obj-coff.h, obj-coffbfd.h: Rewrote several macros to use
	S_GET_VALUE rather than ost_entry.n_value.
	* config/obj-aout.c (obj_symbol_to_chars), config/obj-bout.c
	(obj_symbol_to_chars), config/obj-coff.c (obj_symbol_to_chars),
	config/obj-coffbfd.c (symbol_to_chars): Get value to write out
	using S_GET_VALUE--don't assume it is already set.
	* config/obj-ieee.c (do_symbols): Set BFD symbol value to gas
	symbol value.
	* config/obj-vms.c (various): Don't assign directly to
	S_GET_VALUE; use S_SET_VALUE instead.
1993-07-14 19:35:45 +00:00
David Edelsohn
18464ca231 * configure.in: Make sparc64-*-aout* use bfd gas. 1993-07-14 16:38:53 +00:00
David Edelsohn
b50401c93c * configure.in: Recognize h8300h. 1993-07-14 16:37:27 +00:00
David Edelsohn
07ef2075f5 Recognize h8300h.
Make sparc64-*-aout* use bfd gas.
1993-07-14 16:35:04 +00:00
Steve Chamberlain
1728686e66 cvs core dumps again... 1993-07-13 19:13:18 +00:00
Steve Chamberlain
489a93f3c3 * config/tc-h8500.c (line_comment_chars): Add hash.
(parse_exp, skip_colonthing, build_bytes): Add support for
	R_H8500_HIGH16 relocation type.
1993-07-13 19:12:10 +00:00
Mark Eichin
025b030243 fix definitions of md_create_long_jump, md_create_short_jump,
md_number_to_chars, and md_section_align to correctly use valueT and addressT
1993-07-12 19:42:32 +00:00
Mark Eichin
c463189d53 update use of valueT and addressT 1993-07-12 18:58:50 +00:00
Ken Raeburn
5d4ef2968b config/obj-elf.c (obj_elf_section): Allow `@' to introduce an attribute name.
Handle `execinstr' attribute.
1993-07-12 15:17:10 +00:00
Ian Lance Taylor
99c24539c5 * config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
there is another alternative for the instruction.
1993-07-12 14:24:20 +00:00
Roland Pesch
ec1c752b34 doc/as.texinfo 1993-07-10 00:32:18 +00:00
Roland Pesch
8d8ddccbe0 Updates for Hitachi H8/300H 1993-07-10 00:31:03 +00:00
Ian Lance Taylor
332fc09ff0 Clean up some of the obvious m88k bitrot.
It still doesn't actually compile, though.
1993-07-09 18:31:36 +00:00
David D. Zuhn
00a737d37c put CROSS definition into the Makefile 1993-07-08 19:19:31 +00:00
Ken Raeburn
b25654337a Oops, not all of the tc-sparc.c change was format-independent.
Still handles both syntaxes independent of format.
1993-07-08 19:09:19 +00:00
Mark Eichin
d358969d94 changelog for tc-i960 change 1993-07-08 18:50:43 +00:00
Mark Eichin
c47d388b75 Thu Jul 8 14:41:43 1993 Mark Eichin (eichin@cygnus.com)
* config/tc-i960.c (md_create_short_jump, md_create_long_jump,
	md_number_to_chars, md_section_align): Adjusted to use valueT,
	addressT, to match tc.h.
1993-07-08 18:44:32 +00:00
Ken Raeburn
ff4cac3854 config/tc-sparc.c (s_common): Revamp to handle both syntaxes, and not be
target-specific.
1993-07-08 18:40:50 +00:00
David Edelsohn
422069965b config/tc-h8300.h (TC_CONS_RELOC): Use R_RELLONG if h8/300h. 1993-07-08 14:26:17 +00:00
David D. Zuhn
8f4b91429e define CROSS is cross compilation 1993-07-08 03:15:36 +00:00
David D. Zuhn
e9baeb4606 define CROSS is cross compilation 1993-07-08 02:55:22 +00:00
Ian Lance Taylor
e154ecf4ab * symbols.c (fb_label_instance, fb_label_instance_inc): Don't dump
core just because somebody uses a label before it is defined.
1993-07-07 20:07:12 +00:00
Ian Lance Taylor
4e2e8744c5 This file was not removed last time. Why?? 1993-07-07 17:29:12 +00:00
Ian Lance Taylor
918692a5cc * config/mips-opcode.h: Moved to opcode/mips.h.
* config/tc-mips.c: Include opcode/mips.h rather than
	mips-opcode.h.
	(append_insn): An extra NOP is only needed after instructions
	which set HI or LO, not after instructions which read it.
	(macro_build, mips_ip): Support new 'E', 'G' and 'B' arguments.
	(macro): cfc1 and ctc1 now take "t,G" rather than "t,d".
	* config/tc-mips.h (struct mips_opcode): Don't define.
	* config/mips-big.mt, config/mips-lit.mt (TARG_CPU_DEPENDENTS):
	Set to $(srcdir)/../include/opcode/mips.h.

	Get the MIPS assembler up to speed with other gas changes:

	* config/obj-ecoff.c (ecoff_set_vma, ecoff_frob_symbol):
	Removed; don't change the symbol value.
	(ecoff_build_symbols, ecoff_build_procs, ecoff_frob_file): Use
	bfd_asymbol_value rather than S_GET_VALUE to include section
	vma in symbol value.
	(ecoff_frob_file): Ignore BSF_SECTION_SYM symbols, since ECOFF
	doesn't output them.  Set the vma of sections.
	* config/obj-ecoff.h: Don't define obj_frob_symbol.
	* config/tc-mips.c (tc_gen_reloc): Adjustment by section vma is no
	longer necessary.
	(various): use valueT rather than long.
1993-07-07 17:23:39 +00:00
Ian Lance Taylor
76c64db09f Various entries. 1993-07-07 17:22:56 +00:00
Ken Raeburn
e28e0b95ed Typedef changes. V9 work. 1993-07-07 17:16:02 +00:00
Ken Raeburn
125f0b0d84 (sparc_ip): Initialize `len' variable to make gcc shut up.
(md_create_short_jump, md_create_long_jump, md_number_to_chars,
md_section_align): Adjusted for new interface.

(s_reserve): Permit use for other than a.out format.
(s_common): Handle Solaris-2 version.

(s_xword): For numbers, call big_cons.
(sparc_ip, md_apply_fix, tc_gen_reloc): Handle some sparc64 reloc types.
(md_number_to_chars): Handle 8-byte values.
1993-07-07 16:58:29 +00:00
Ken Raeburn
3c8df4ba76 (md_create_short_jump, md_create_long_jump,
md_number_to_chars, md_section_align): Adjusted for new interface.
1993-07-07 16:56:24 +00:00
Ken Raeburn
6e3785155d Change various calls (e.g., to symbol_new, md_number_to_chars) to cast
valueT or addressT arguments to correct types.
1993-07-07 16:40:30 +00:00
Ken Raeburn
039d8f7350 (struct fix): Fields fx_offset and fx_addnumber are now type valueT.
(fix_new): Argument offset is now type offsetT.
1993-07-07 16:39:13 +00:00
Ken Raeburn
d536474829 (write_object_file): Locals from_addr, to_addr, table_addr are now addressT.
Supply prototype for bfd_alloc for now.
(fixup_segment): Local add_number is now valueT.  Fix some range-checking bugs.
(relax_align): Type `int' should be sufficient for the exponent.
(fix_new): Argument offset is offsetT.  Locals size and newsize are valueT.
1993-07-07 16:33:38 +00:00
Ken Raeburn
2b68b820a9 * symbols.c (symbol_new): Symbol value is type valueT.
(S_SET_VALUE, S_GET_VALUE): Likewise.
(S_IS_*): Specify int return type explicitly.
* symbols.h (symbol_new, S_GET_VALUE, S_SET_VALUE): Fixed prototypes.
1993-07-07 16:25:37 +00:00
Ken Raeburn
bd4d4b8aca (obj_elf_frob_symbol, elf_frob_file, elf_file_symbol): Declare.
(elf_symbol): For sparc v9, use 64-bit symbol type.
1993-07-07 16:22:12 +00:00
Ken Raeburn
dee576a0a7 clean v9 from obj-elf.h 1993-07-07 16:19:59 +00:00
Ken Raeburn
25c09bbf44 Define ENV64 for sparc v9. 1993-07-07 16:17:29 +00:00
Ken Raeburn
7d0ed38fc3 (free): Returns void if __STDC__. 1993-07-07 16:14:44 +00:00
Ken Raeburn
4032436291 (s_comm): Values read are type valueT. 1993-07-07 12:37:58 +00:00
Ken Raeburn
2fe8b7b003 (expressionS): Field X_add_number is an offsetT. 1993-07-07 12:36:51 +00:00
Ken Raeburn
dae92eaba0 (integer_constant, floating_constant): Now return void. 1993-07-07 12:35:48 +00:00
Ken Raeburn
b17c891e58 move valueT typedef to as.h from struc-symbol.h 1993-07-07 12:33:43 +00:00
Ken Raeburn
f520031860 localize a conditionally used variable 1993-07-07 12:33:11 +00:00
David D. Zuhn
bb554e9423 fix decls 1993-07-02 01:33:33 +00:00
Ian Lance Taylor
267389df6d * read.c (cons): Conditionalize parsing of expression. Move
putting value into object file into separate function.  Separate
	out MRI and WANT_BITFIELDS cases into separate functions.
	(emit_expr): New function to write data into object file.
	Conditionalize on TC_CONS_FIX_NEW and TC_CONS_RELOC rather than on
	processor types.
	(parse_bitfield_cons): New function to parse bitfield expressions
	as used by i960 assemblers.  Only compiled if
	BITFIELD_CONS_EXPRESSIONS is defined.
	(parse_mri_cons): New function to parse MRI style strings.  Only
	compiled if MRI is defined.
	(parse_repeat_cons): New function to parse repeat counts.  Only
	compiled if REPEAT_CONS_EXPRESSIONS is defined.
	* read.h (emit_expr): Added declaration of new function.
	* config/tc-a29k.h (TC_CONS_RELOC): Define to be RELOC_32.
	* config/tc-h8300.h (TC_CONS_RELOC): Define to be R_RELWORD.
	* config/tc-hppa.c (parse_cons_expression_hppa): New function to
	parse a HPPA expression, rather than special case in cons
	function.
	(cons_fix_new_hppa): New function to emit an HPPA fixup, rather
	than special case in emit_expr function.
	* config/tc-hppa.h (TC_PARSE_CONS_EXPRESSION, TC_CONS_FIX_NEW):
	Define to use new functions from tc-hppa.c.
	* config/tc-i960.h (BITFIELD_CONS_EXPRESSIONS): Define.
	(WANT_BITFIELDS): Removed; now obsolete.
	* config/tc-mips.h (REPEAT_CONS_EXPRESSIONS): Define.
	* config/tc-ns32k.c (cons_fix_new_ns32k): New function to emit an
	NS32K fixup, rather than special case in emit_expr function.
	* config/tc-ns32k.h (TC_CONS_FIX_NEW): Define to be
	cons_fix_new_ns32k.  Also use PARAMS rather than checking
	__STDC__.
	* config/tc-sparc.h (TC_CONS_RELOC): Define to RELOC_32.

	* write.c (relax_and_size_seg, adjust_reloc_syms, write_contents):
	Don't core dump if gas has no information about a section.
1993-06-30 18:27:41 +00:00
Ken Raeburn
41532f54c6 sparc64 changes 1993-06-30 10:34:32 +00:00
Ken Raeburn
d4ac2d09fd New files for sparc64 cpu. 1993-06-30 10:30:54 +00:00
David D. Zuhn
a828550492 fix HPUX hosting problems 1993-06-29 17:22:03 +00:00
David Edelsohn
83f26cee7b * config/sparc.c (sparc_ip): Remove support for %d/%q fp regs.
All fp regs are now specified as %f.
(priv_reg_table): fpq -> fq.
1993-06-25 17:50:22 +00:00
Ken Raeburn
ed9638af53 (tc_gen_reloc): Handle BFD_RELOC_SPARC_WDISP22 relocation.
(s_local) [OBJ_ELF]: New function.
(md_pseudo_table) [OBJ_ELF]: Call it for "local".
(s_common): Rearrange to handle Solaris .common pseudo, which may sometimes use
bss space instead of common.
(md_parse_option) [OBJ_ELF]: Print version id for -V.  Ignore -Q and -s options
for now.
1993-06-25 09:51:47 +00:00
Ken Raeburn
50fccebe22 (INCLUDES): Look in ../bfd, not ../include, for bfd.h. 1993-06-20 22:25:46 +00:00
Ken Raeburn
17145ba27a Sun Jun 20 02:34:04 1993 Ashley Saulsbury (ans@sics.se)
* m88k-opcode.h : fixed tiny tiny mistake - xcr was incorrectly
	specified, should have both S1 and S2 fields identical
	If only finding the problem was as fast as fixing the bug !!!!
1993-06-20 21:56:23 +00:00
Steve Chamberlain
a3a0a4d0a5 Look in the right place for bfd.h. 1993-06-18 21:08:36 +00:00
David D. Zuhn
5ebaf24b77 single-quote $program_transform_name 1993-06-18 19:25:38 +00:00
David D. Zuhn
9126738c04 canonicalize install.sh location 1993-06-17 23:56:08 +00:00
Steve Chamberlain
115147fbb0 * config/obj-coffbfd.c (fill_section): Don't allow fills backwards.
* config/tc-sh (get_specific, md_convert_frag,
	md_estimate_size_before_relax): Add support for rest of opcodes.
1993-06-17 21:58:28 +00:00
David D. Zuhn
a00ee52267 remove parentdir support 1993-06-16 01:00:29 +00:00
David D. Zuhn
c97b9003b0 remove parentdir support; use INSTALL_XFORM 1993-06-16 00:03:44 +00:00
Ken Raeburn
610648001b I don't think this file is needed any more 1993-06-10 01:35:17 +00:00
Ken Raeburn
9317b3fad8 patches from tege 1993-06-10 01:33:42 +00:00
David Edelsohn
3756b1b9f3 config/tc-sparc.c: (sparc_ip): Fix parsing of asi number. Fix error message. 1993-06-07 16:57:18 +00:00
Ken Raeburn
b15fb2aec6 clean v9 stuff out of configure.in 1993-06-04 23:06:28 +00:00
Steve Chamberlain
ad86fa7047 * config/h8300.c: Support for H8/300-H opcodes.
* config/obj-coffbfd.c (w_strings): String table length is 4
	bytes, no matter what the host int size is.
1993-06-04 23:03:00 +00:00
Steve Chamberlain
cb0b800b0e Added alpha as host. 1993-06-04 23:02:19 +00:00
Ian Lance Taylor
47fcc4f54a * configure.in (mips-*-ecoffl*): New target; use ecoff and
mips-lit.
	(mips-*-ecoff*): Added trailing '*'.
1993-06-04 19:39:20 +00:00
Ian Lance Taylor
68ad4c9269 * config/obj-ecoff.c (ecoff_build_procs): Force the adr of the
first FDR in a file to be zero.
1993-06-04 14:53:02 +00:00
Ken Raeburn
b7067d7f8a bump version number 1993-06-03 21:29:15 +00:00
Ken Raeburn
31fb7d23a0 keep ho-hppabsd.h 1993-06-03 21:23:53 +00:00
Ken Raeburn
7577669525 today's changes 1993-06-03 20:39:20 +00:00
Ken Raeburn
f853f5435d new file, from utah 1993-06-03 19:58:32 +00:00
Ken Raeburn
0c6eb684cc don't bother checking return value from hash_new 1993-06-01 22:46:47 +00:00
Rob Savoye
4cf03eb2e7 Add an install-info target too. 1993-06-01 01:40:59 +00:00
Rob Savoye
ece87dfb94 Add info target. 1993-06-01 01:37:45 +00:00
Rob Savoye
d0fa64ec33 Add a blank install target so the top level make won't die. 1993-05-28 04:29:59 +00:00
Ken Raeburn
49864cfa6c read.c (s_align_bytes): Properly record alignment.
expr.c (__): Undefine before defining.
as.c (got_sig): Don't return anything; return type might be void.
Whitespace/comment cleanup in frags.c.
Some patches for `-pedantic' or `-fno-common' compilation.
(Some of these changes are from Michael Meissner; see change log.)
1993-05-27 19:42:23 +00:00
Ian Lance Taylor
9a7d824a26 * app.c (do_scrub_begin): Let line_comment_chars override
comment_chars.
	(do_scrub_next_char): If a line comment character is not at the
	start of a line, treat it as a comment character if it is one.
	For a CPP line comment use pseudo-op .appline rather than .line.
	* input-scrub.c (logical_input_line): Make int rather than
	unsigned.
	(input_scrub_push, input_scrub_begin): Initialize
	logical_input_line to -1 rather than 0.
	(bump_line_counters): Increment logical_input_line.
	(new_logical_line): If line_number is -2, decrement
	logical_input_line.
	(as_where): Use logical_input_line even if it is 0.
	* read.h (s_app_file prototype): Now takes an int argument.
	* read.c (potable): Make .appfile call s_app_file with 1.  New
	.appline pseudo-op calls s_app_line.
	(s_app_file): If .appfile, call new_logical_line with -2 to
	account for newline inserted by do_scrub_next_char.  If listing,
	call listing_source_file.
	(s_app_line): New function to handle fake pseudo-op .appline.
	* config/obj-coff.c (obj_pseudo_table): Make .appline call
	obj_coff_ln.
	(obj_coff_ln): Added argument to indicate whether .appline.
	* config/obj-coffbfd.c (obj_pseudo_table): Make .appline call
	obj_coff_ln.
	(obj_coff_ln): Added argument to indicate whether .appline.
	* config/tc-mips.c (s_file): Pass argument to s_app_file.
1993-05-27 19:29:38 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Rob Savoye
b64d5e491a configure.in template that supports *only* make check. (for releases) 1993-05-26 01:55:00 +00:00
Rob Savoye
2a775d5158 Makefile fragment that supports *only* make check. (for releases) 1993-05-26 01:44:49 +00:00
Ian Lance Taylor
61f14fb0da * config/obj-bout.h (S_GET_VALUE): Removed unnecessary cast. 1993-05-25 19:16:16 +00:00
Steve Chamberlain
6eef4543ca * config/tc-h5000.c (build_bytes): Understand @rd mode and build
relocations correctly.
1993-05-19 14:44:12 +00:00
Steve Chamberlain
1f55e556cc (build_bytes): Understand @rd mode and build relocations correctly. 1993-05-19 14:44:00 +00:00
Ken Raeburn
d3dd198cf0 Steve sez SH stuff is public now 1993-05-17 20:10:15 +00:00
Ken Raeburn
2989a84ef4 keep the directories that contain tests 1993-05-17 20:07:11 +00:00
Ken Raeburn
cf9b957854 don't keep testscripts subdir 1993-05-17 19:35:50 +00:00
Ken Raeburn
f8f6147851 updated 1993-05-17 19:25:48 +00:00
Ken Raeburn
0630b39c7d new tests 1993-05-17 19:13:38 +00:00
Ken Raeburn
342143440a Updated list of m68k options, described required-register-prefix hack.
Added a tiny bit of documentation on MIPS target.
Minor tweaks to `-a' description.
1993-05-14 11:00:17 +00:00
Ken Raeburn
607c86259f updated 1993-05-14 10:57:21 +00:00
Ken Raeburn
74fa454788 override obj_header_append from obj-aout.c 1993-05-14 10:56:24 +00:00
Ken Raeburn
bbbb0da30e discard empty rs6000 files 1993-05-14 10:54:34 +00:00
Ian Lance Taylor
204ff785f8 Fix stuff broken when sh support was checked in.
* tc.h (TC_COFF_SIZEMACHDEP): Don't define here.
	* config/tc-sh.h (TC_COFF_SIZEMACHDEP): Define here instead.
1993-05-13 14:52:59 +00:00
Ken Raeburn
54f10da0da whitespace changes; rely on default initialization for a var 1993-05-10 19:07:57 +00:00
Ken Raeburn
65824763af configure.in: treat m68*-*-sysv* target like m68k-*-coff 1993-05-10 19:05:04 +00:00
Ken Raeburn
6bf74aa6ca Reorganized test hierarchy to categorize tests.
New test procs support examining listing output from assembler.
New tests added.
1993-05-10 18:58:50 +00:00
Ken Raeburn
daae8c92f1 keep new files 1993-05-06 02:03:00 +00:00
Ian Lance Taylor
21bb48b9b9 * config/tc-mips.c (macro): Correct floating point double word
loads and stores for big endian target.
1993-05-05 21:02:11 +00:00
Ken Raeburn
e7c2f9431c lots o' changes 1993-05-05 20:51:35 +00:00
Ken Raeburn
7cf4d7ff1a hp300 support. Emulation mode fix for 386bsd and linux.
Reworded some messages.
Warn if bfd-assembler explicit selection on command line is overridden by
target requiring it be set.  (No targets override to clear currently.)
1993-05-05 20:50:53 +00:00
Ken Raeburn
27cf8bfb1b BFD_ASSEMBLER md_convert_frag section arg is not a pointer 1993-05-05 20:46:11 +00:00
Ken Raeburn
b27caf27c8 PR fix for debug symbols referring to other symbols, then same name defined
as common.
(crawl_symbols): Don't clear sy_forward field.
(yank_symbols): Merge symbols only if sy_forward is null.
1993-05-05 20:32:12 +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
Ken Raeburn
80fa125df7 hppa configuration 1993-05-05 12:43:06 +00:00
Ken Raeburn
c77809b592 hp300 hpux configuration 1993-05-05 12:41:52 +00:00
Ken Raeburn
d6f72574a2 include ctype.h, and some special-purpose regs for 29050 1993-04-28 23:12:04 +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
Ken Raeburn
10f7b933f5 keep new utility scripts 1993-04-22 06:42:47 +00:00
Ken Raeburn
b1ad8e76bb keep new test cases 1993-04-22 06:42:06 +00:00
Ken Raeburn
469144a2dc keep change log 1993-04-22 06:39:49 +00:00
Ken Raeburn
7e97646ef8 version.c is gone 1993-04-22 06:39:01 +00:00
Ken Raeburn
0d0ae7fac7 Handle new tests, and new testing modes.
Now gas_test accepts an argument listing options to be tried, individually
or in combination, and whether output should be expected.
Proc gas_test_error says output should be expected.
Still not checking exit status properly, though.
1993-04-21 05:36:56 +00:00
Ken Raeburn
44f0847aba The customer's test case is p2430a.s; p2430.s has different whitespace,
comments, who knows what else, but something makes them different.  This
should be checked by the driver, because they shouldn't be different...
1993-04-21 05:30:13 +00:00
Ken Raeburn
2b55fa7fb9 use %-form, so test can be run on m68k-coff too 1993-04-21 05:25:36 +00:00
Ken Raeburn
db4e0f90ba Get version string from config.h now.
Fix several functions to compile under traditional C.  Deleted _doprnt.
Moved some VMS-specific code here from ../symbols.c.
1993-04-21 04:54:05 +00:00
Roland Pesch
0193a5f204 adhere to "start-sanitize-FOO" and "end-sanitize-FOO" convention 1993-04-21 01:01:14 +00:00
Roland Pesch
4f6a1ad158 Add h8.texi to things-to-keep 1993-04-15 23:55:45 +00:00
Roland Pesch
97a6070c83 as.texinfo, Makefile.in 1993-04-15 23:27:39 +00:00
Roland Pesch
f009d0ab7e (1) Hitachi SH material (sanitizable)
(2) remove smallbook/cropmarks comments; switching to smallbook is now
    automatic w/house style
(3) use `|' alternative convention for SPARC dependent options.
    UnGNUish, but the convention is used for other machines in this book.
(4) cease eliding paragraph about purpose of assembler in Hitachi configuration
(5) use SPECIAL-SYMS switch more consistently
(6) formatting improvements from Q1 release
(7) use explicit @page instead of @group in long examples listing
instruction-set summaries (because some new texinfo bug leads to
double-spacing with @group in this context)
(8) rearrange H8/500 instruction-set summary into two cols
(9) include GPL from texinfo directory rather than duplicating here
1993-04-15 23:23:21 +00:00
Roland Pesch
b657d1c254 Include Hitachi SH (sanitizably); remove MACH-DEP setting, no longer used 1993-04-15 23:10:28 +00:00
Roland Pesch
b0c4169465 Arrange to clean out references to Hitachi SH. 1993-04-15 23:06:08 +00:00
Roland Pesch
17b05fe5ab Configuration for Hitachi chips, recast for current conditionals. 1993-04-15 23:04:25 +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
Roland Pesch
8209a8c4c6 (as.dvi target) update for new source file structure supporting
texinfo conditionals
(as.ms, as.mm, as.me targets) update for new structure, and add note that
                these targets probably broken until texi2roff supports
                texinfo conditionals
(clean-dvi target) new; clean dvi files and side effects
(clean-info target) clean out only info files
(clean target)  run clean-dvi, clean-info
1993-04-08 22:14:53 +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
Roland Pesch
730ad1a786 Converted to Texinfo conditionals; no longer need M4.
Checked makeinfo output for "all" config; other old M4 configs now sanitized
out, will be replaced by .texi configs as each config is tested.
1993-04-08 03:13:41 +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
Ken Raeburn
cbcf557273 include string.h 1993-04-05 18:00:40 +00:00
Ken Raeburn
c0991e3eda New script. Simply evaluates and exec's its arguments. Needed until I
can figure out how to handle redirection easily in tcl/expect.
1993-04-05 17:32:38 +00:00
Ken Raeburn
96b4e5bb5e add some new tests, and new testing procs 1993-04-05 17:26:51 +00:00
Ken Raeburn
acf11ed1aa from gas/testscripts -- may be useful someday 1993-04-05 17:25:37 +00:00
Ian Lance Taylor
d5bc321563 * config/te-irix.h: New file; irix needs a different LOCAL_LABEL
definition from other MIPS targets.
	* configure.in (mips-*-irix): Use emulation irix.
1993-04-05 16:44:21 +00:00
Steve Chamberlain
3adb6ca918 * config/tc-h8500.c: Get relax size of branch instructions right,
(get_operand): Parse @sp+ correctly.
1993-04-04 22:23:24 +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
c209295fa5 Include ho-generic.h. 1993-04-02 18:42:37 +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
Ken Raeburn
d1c89c2817 merging this directory into testsuite 1993-04-01 13:18:55 +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
Roland Pesch
8155a95d96 New material on H8/500, and better match between nodes and sections
(allows xrefs to work in printed version of doc).
1993-04-01 02:09:36 +00:00
Roland Pesch
2d8e0f624d Back off last two checkins (this checkin identical with
devo/gas/doc/as.texinfo 1.38).
1993-04-01 01:14:33 +00:00
Ken Raeburn
4b061a2a1a log doc change 1993-03-31 00:51:59 +00:00
Ken Raeburn
39d4b51986 new test cases 1993-03-30 16:57:45 +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
Ken Raeburn
c0f1bbb6d0 build file symbol fwd pointers properly, don't deref symbol #s as pointers 1993-03-30 15:22:27 +00:00
Ken Raeburn
68878ef1aa move local include after system ones; use CONST not const 1993-03-30 15:17:58 +00:00
Ken Raeburn
0193302d9b start using new texinfo stuff -- variables, conditionals. far from complete 1993-03-30 15:16:08 +00:00
Ken Raeburn
d303835063 look for GAS_VERSION macro, not external version_string var 1993-03-30 15:15:53 +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
Steve Chamberlain
10a3e37493 Numerous bug fixes 1993-03-29 21:45:50 +00:00
Ken Raeburn
9c6d3f660c (big_cons): If target_big_endian, reverse bytes being copied. (Temporary
fix -- should be cleaned up later.)
(s_ignore): Delete declaration of is_end_of_line.
(potable): Change .app-file to .appfile.
1993-03-29 21:20:04 +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
Ken Raeburn
f70a4714c9 First crack at a test suite. 1993-03-29 13:27:13 +00:00
Ken Raeburn
de001789f9 updated 1993-03-29 13:23:55 +00:00
Ken Raeburn
786f2f3402 add missing z8000 define 1993-03-26 13:35:15 +00:00
Ken Raeburn
fcd9506c5d If $(srcdir) isn't ., create links to all predefined as-*.texinfo files that
are found in $(srcdir).
1993-03-26 13:16:57 +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
62550228b6 look in srcdir for texinfo source, then in objdir 1993-03-25 08:32:08 +00:00
David D. Zuhn
9da5995603 add dvi target, define & use TEXI2DVI 1993-03-24 21:51:47 +00:00
David D. Zuhn
afcc637a43 add dvi target 1993-03-24 21:51:04 +00:00
Ken Raeburn
30d17c7e22 updated for obj-bfd-sunos, ho-decst* changes 1993-03-23 13:37:15 +00:00
Ken Raeburn
155e7bc479 (do_relocs_for): Don't allocate storage or process relocs if there aren't any
relocs to process.  Avoids malloc/free bug on SCO too.
1993-03-23 13:34:55 +00:00
Ken Raeburn
214d840f9a rename for <=14 chars 1993-03-23 13:27:05 +00:00
Ken Raeburn
59b5f843ff unused; deleted 1993-03-23 13:25:13 +00:00
David D. Zuhn
80c8fd72ed add installcheck 1993-03-23 08:03:44 +00:00
Jim Wilson
e0fd5860a1 Update to Draft D1.2.1: add membar mask names and ASI names. 1993-03-23 00:27:59 +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
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
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