Commit Graph

577 Commits

Author SHA1 Message Date
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