Commit graph

3408 commits

Author SHA1 Message Date
Ian Lance Taylor
66a6a38139 * write.c (subsegs_finish): New function, broken out of
write_object_file.
	(write_object_file): Some code moves into subsegs_finish.
	* write.c (subsegs_finish): Declare.
	* as.c (main): Call subsegs_finish.
Fixes last frag when generating a listing for a file with an error.
1997-10-19 18:14:01 +00:00
Ian Lance Taylor
891a158431 * read.c (s_include): Check for error return from
demand_copy_string.
PR 13566.
1997-10-19 17:51:31 +00:00
Jeff Law
f08be001ae * gas/ieee-fp/x930509a.s: Tweak slightly to work on the PA.
[ pseudo-ops and directives must not start in column zero on the PA. ]
1997-10-15 16:40:48 +00:00
Jeff Law
e35cf6e4e9 * gas/hppa/unsorted/unsorted.exp: Update for recent disassembler
changes.
1997-10-15 16:37:03 +00:00
Richard Henderson
08ce71f5c4 * read.c (get_line_sb): Accept any eol marker while scanning macros. 1997-10-15 03:56:30 +00:00
Richard Henderson
10b8f7f036 * config/tc-alpha.h (DIFF_EXPR_OK): Define.
* config/tc-i386.h (DIFF_EXPR_OK): Define.
        * config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute
        the correct relocation when it exists.
        * config/tc-i386.c (md_apply_fix3): Likewise.
        * config/tc-ppc.h: Correct typo in comment.
        * config/tc-v850.h: Likewise.
1997-10-15 02:17:00 +00:00
Andrew Cagney
a0a5f4e2bd Allow assembler to make parallel instructions where there the seconds
(latter) outputs intersect with the first (earlier) inputs.
1997-10-13 23:17:22 +00:00
Richard Henderson
856f843eef * ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
templated programs to build with -g.
1997-10-13 22:28:35 +00:00
Nick Clifton
de0e22c1bf Added .tcomon section initialisation. 1997-10-11 01:02:07 +00:00
Nick Clifton
c280609300 Jim fixed the fixups for conditional and unconditional branches.
Added code to support the bss and common sections in thr ZDA and SDA areas.
1997-10-11 00:55:57 +00:00
David Edelsohn
e01e18a8b3 * configure.in (sparc): Set DEFAULT_ARCH from correct target.
* configure: Regenerated.
1997-10-10 22:02:59 +00:00
Martin Hunt
b83565def8 Fri Oct 10 11:22:45 1997 Martin M. Hunt <hunt@cygnus.com>
* config/tc-d10v.c: Fixes to make sure the AT_WORD
	expression is not confused with -1.
1997-10-10 18:22:59 +00:00
Andrew Cagney
528859ea3f Flag SP as modified for @-sp operand - OPERAND_ATMINUS. 1997-10-10 05:59:16 +00:00
Michael Meissner
719ddab4cc Do not allow auto inc/dec to parallelize with an instruction that uses the index register 1997-10-10 04:50:36 +00:00
David Edelsohn
2feb07dc3f * gas/sparc/set64.[sd]: `set' doesn't take negative arguments. 1997-10-10 01:19:45 +00:00
Ian Lance Taylor
15ab76e50d From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
* config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334,
	68336, 68341, 68349.
	* doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001
	-m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030,
	-m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341,
	-m68349.
1997-10-09 19:30:16 +00:00
Ian Lance Taylor
57f269b1c0 * doc/Makefile.am (CPU_DOCS): Define.
(as.info): Depend upon $(CPU_DOCS).
	* doc/Makefile.in: Rebuild.
1997-10-09 19:22:15 +00:00
Ian Lance Taylor
ed1ed9f9dc * configure.in: Remove AM_PROG_INSTALL; it's called by
AM_INIT_AUTOMAKE.
	* configure: Rebuild.
1997-10-09 19:20:14 +00:00
Joern Rennecke
c7b2ac2856 * config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
to pair a branch and link with anything but an exe instruction.
Fix for gas/13494.
1997-10-09 18:37:16 +00:00
Joern Rennecke
d78d367107 * tc-d10v.h (TC_START_LABEL): Don't define.
(tc_frob_label): Define.
Fix for gas/13307.
1997-10-09 18:28:59 +00:00
Frank Ch. Eigler
bda3fc0083 * gas/sparc/set64.d: Update for recent disassembler changes.
* gas/sparc/splet.d: Likewise.
1997-10-09 18:04:54 +00:00
Ian Lance Taylor
c7020f0843 * gas/arm/arm7t.d: Update for recent disassembler changes.
* gas/h8300/ffxx1.d: Likewise.
1997-10-09 17:01:48 +00:00
Richard Henderson
8a8a91a5b7 * config/tc-alpha.c (load_expression): Disable the sym+const .got
optimization to reduce the alignment surprises for gcc.
1997-10-08 23:40:54 +00:00
David Edelsohn
8ac26d165e * gas/sparc/reloc64.[sd]: Add testcases for %hix,%lox. 1997-10-08 23:24:06 +00:00
David Edelsohn
54b9ebdd55 * config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
* config/tc-sparc.c (sparc_target_format): Handle coff here.
	(sparc_ip): Add %hix,%lox.
	(md_apply_fix3): Call as_bad_where, not as_bad.
	Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
	(tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
1997-10-08 23:13:52 +00:00
Ian Lance Taylor
2f0e18834b * gas/sparc/synth.d: Update for recent disassembler changes.
* gas/sparc/synth64.d: Likewise.
1997-10-08 19:57:20 +00:00
Richard Henderson
0170f1c38a Change alpha-*-* to alpha*-*-*; config.guess now
recognizes alphaev5 etc.
1997-10-08 19:36:17 +00:00
Ian Lance Taylor
32ec65d51d * gas/mips/beq.s: Add .text to .globl to mark the symbol to as a
function symbol.
	* gas/mips/jal.s: Likewise.
1997-10-08 19:13:38 +00:00
Frank Ch. Eigler
840496f196 Fixed small typo in tcl expr syntax. 1997-10-08 16:28:50 +00:00
Gavin Romig-Koch
6fd819cfff config/tc-mips.c (md_begin): Replace the TARGET_CPU value
of mipsr3900 with mipstx39.

config/tc-mips.c (mips_ip): Don't print the 'opcode requires
-mipsXX message' if the insn isn't an ISA insn.
1997-10-08 04:17:08 +00:00
Gavin Romig-Koch
fdc16ba046 tx19 sanitize fixes. 1997-10-08 01:40:35 +00:00
Frank Ch. Eigler
d8c0268e57 Updated first round of test suite drivers to accept symbol-offset
listings from "objdump" disassembly with or without the new "0x"
	prefix before hexadecimal numbers.
1997-10-08 01:37:52 +00:00
David Edelsohn
8fab865a94 reloc64.[sd]: New testcase. 1997-10-07 20:29:49 +00:00
David Edelsohn
4913666781 * config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
Redefine TARGET_FORMAT to call sparc_target_format.
	* config/tc-sparc.c (in_unsigned_range): New function.
	(sparc_arch_size): Make static.
	(sparc_target_format): New function.
	(sparc_ip): Delete variable immediate_max.  Rewrite %hi/etc reloc
	handling.  Add support for %hh,%hm,%lm,%h44,%m44,%l44.
	(output_insn): Set `fx_no_overflow'.
	(md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}.
	(tc_gen_reloc): Likewise.
1997-10-07 19:53:17 +00:00
Stan Shebs
eb9c5f1c7c Remove sanitized-out Magic Cap support, will never be released 1997-10-06 23:39:29 +00:00
Nick Clifton
a9da34ae13 Remove v850 specific section directive. 1997-10-06 21:02:27 +00:00
Ian Lance Taylor
b15d0449a8 * gas/ieee-fp/x930509a.exp: Accept m68k listing format. 1997-10-04 23:15:26 +00:00
Ian Lance Taylor
a3e8c5b712 * config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
including obj-elf.h in OBJ_MAYBE_ELF case.
	(mips_target_format): Return NULL after abort to avoid warning.
1997-10-03 21:46:04 +00:00
Ian Lance Taylor
0e7c7b89b0 * ecoff.c (generate_ecoff_stab): Remove unused static function. 1997-10-03 21:44:41 +00:00
Ian Lance Taylor
1175a6c6da * expr.c (operator): Accept ==. From Anders Blomdell
<anders.blomdell@control.lth.se>.
1997-10-03 21:36:42 +00:00
Ian Lance Taylor
a657bc190c * gas/ieee-fp/x930509a.exp: Remove setup_xfail; it should now
work.  Correct for big endian and for tabs in input file.

	* gas/alpha/fp.exp: Check for alpha-*-osf*, not alpha-*-osf1*.
	* gas/alpha/fp.s: Change comment characters from ! to #.
1997-10-03 19:47:46 +00:00
Ian Lance Taylor
7e5c196e86 * config/atof-ieee.c (gen_to_words): When generating a denormal
number, handle an overflow into the smallest normalized number.
1997-10-03 19:43:34 +00:00
Joern Rennecke
002e8e4db2 * as.h, input-scrub.c (new_logical_line): New return value.
* read.c (s_app_file): Don't note the same file several times
        in a row.
Fix for PR 12277
1997-09-29 15:10:56 +00:00
Ian Lance Taylor
89b308f49c * config/tc-m68k.c (m68k_ip): Remove ` operand specifier. 1997-09-25 17:11:57 +00:00
Ian Lance Taylor
469adf23a1 * config/tc-m68k.c (m68k_ip): Handle q and v operand specifiers. 1997-09-24 23:02:53 +00:00
Ian Lance Taylor
5e4e4739a7 Wed Sep 24 16:54:40 1997 Joel Sherrill <joel@oarcorp.com>
* configure.in (sh*-*-rtems*): New target, like sh-*-elf*.
	* configure: Rebuild.
1997-09-24 20:58:30 +00:00
Ian Lance Taylor
c1503b2824 * doc/c-i386.texi (i386-Float): Remove incorrect assertion that
fn* instructions do not insert implicit fwait.  This was changed
	Jan 29, 1996.
1997-09-24 18:14:53 +00:00
Ian Lance Taylor
fdfabd68a2 * config/m68k-parse.y (yylex): Permit an expression to be used for
the scale factor.
PR 13393.
1997-09-24 16:50:04 +00:00
Ian Lance Taylor
3d07d76670 * Makefile.am (EXTRA_as_new_SOURCES): Set to config/m68k-parse.y,
not m68k-parse.y.
	* Makefile.in: Rebuild.
1997-09-24 16:27:14 +00:00
Ian Lance Taylor
b5db0960f3 * aclocal.m4: Rebuild with new libtool.
* configure: Rebuild.
1997-09-24 15:34:43 +00:00