Commit Graph

319 Commits

Author SHA1 Message Date
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
1eaf4dd64d * config/tc-h8300.c: if a :8 is seen after an operand, fill top
two bytes of any constant with 0xff:
1992-08-06 19:09:57 +00:00
Steve Chamberlain
4f3569faad Fix typo, I ment sun 3 .align is nbytes 1992-08-05 19:06:28 +00:00
Steve Chamberlain
9e43698e16 * config/tc-m68k.c (md_pseudo_table): fix the .align thing
the right way; for just the 68k. Sun 3 .align is nbytes, not ptwo.
1992-08-05 19:05:43 +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
John Gilmore
934afcd434 * tc-m68k.c (try_index): Error if index scaling specified and
assembling for an older CPU than a 68020.

This bug was found at Adobe because GAS did not diagnose incorrect
68020 code generated by GCC when compiling for 68010.  We had to debug it
in the target system as failing instructions.
1992-08-05 08:59:10 +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
6d27d3a205 * 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:26:13 +00:00
Ken Raeburn
03bb29bf79 (&!@# CVS breakage...)
* configure.in (mips host): Accept "ultrix" with version number.

        * expr.c (floating_constant): Separate "=-" to avoid confusing
        ancient or broken compilers.
1992-08-01 02:15:14 +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
David Henkel-Wallace
d81eea83fb Don't save obsolete/ 1992-07-28 18:58:12 +00:00
David Henkel-Wallace
cd625bf3f9 Keep OSE support 1992-07-23 18:23:44 +00:00
K. Richard Pixley
ebe30eae41 removed rcsids 1992-07-18 04:12:48 +00:00
Roland Pesch
41ee6e917d (1) disable documentation for .lsym at sac's request
(2) structural changes triggered thereby
(3) verify m4 and makeinfo run correctly on all versions of the doc
    represented in the Makefile and m4 config definition files

as.texinfo: disabled .lsym
            exploit makeinfo node defaulting
            removed some conditional hair around nodes
            fixed some bad conditionals in a29k config
a29k.m4, i960.m4, sparc.m4, vax.m4: supply missing switch definitions
            (looks like these hadn't been tested for a while)
as-all.texinfo: mechanically derived from above
1992-07-16 23:52: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
Steve Chamberlain
a933d598b6 * expr.c (expr): allow SEG_BSS in expressions
* read.c (potable): align should be nbytes, not ptwo!
	* write.c (write_object_file): extra glue for new bss attributes
	(relax_segment): SEG_BSS is ok now
	* config/tc-m68k.c (m68k_ip_op): can now parse more @( modes
1992-07-13 21:32:05 +00:00
David Henkel-Wallace
0b0b5dbac1 Support -program_suffix (and make -program_prefix actually work). 1992-07-10 18:37:35 +00:00
K. Richard Pixley
c0bbfd27c6 get the CROSS macro into gcc's flags 1992-07-07 21:48:41 +00:00
Steve Chamberlain
f264b1f575 *** empty log message *** 1992-07-07 00:11:55 +00:00
Roland Pesch
574fcd7b67 Small clarification in description of Jxx FOO expansion for 680x0. 1992-06-30 18:17:31 +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
Steve Chamberlain
a1765cf0fe * subsegs.c (subseg_change): allow and handle a change into SEG_BSS.
* tc-m68k.c (m68kip): Fix typo so that only arch's >=68020 do
	pcrel data stuff. (md_estimate_size_before_relax): when relaxing a
	68010 bxx into a bra+6 jmpxx, put the bytes of the jmp opcode into
	the right place. (s_bss): Don't put .bss stuff into SEG_DATA, put
	it into SEG_BSS
1992-06-09 14:57:42 +00:00
Steve Chamberlain
90d4945716 * subsegs.c (subseg_change): allow and handle a change into SEG_BSS. 1992-06-09 14:57:23 +00:00
Steve Chamberlain
f8701a3ff8 Thu Jun 4 11:59:13 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* expr.c(expr): allow SEG_REGISTER in expressions.
	* read.c(pseudo_set): register expressions can be the source of a
	set.
	* subsegs.c (subseg_new): Now -R forces all changes to SEG_DATA to
	goto SEG_TEXT (if a.out)
	* write.c (write_object_file): If a.out don't use the old way for
	-R.
	* config/obj-a.out (s_sect): complain if the user tries to use a
	subsegment with a value which might interfere with out -R hackery.
	* config/tc-m68k.c (m68k_reg_parse): lookup names in symbol table
	rather than use ugly if tree. (init_regtable): insert register
	names into symbol table.
1992-06-04 19:21:58 +00:00
Michael Tiemann
ebfb416750 Fix -R problem from Adobe 1992-06-02 23:49:59 +00:00
Jim Wilson
dfd53fe988 Recognize sparclite as a sparc variant. 1992-05-28 18:22:42 +00:00
Jim Wilson
a0fffd0d45 Add sparclite support. 1992-05-28 18:21:39 +00:00
Steve Chamberlain
d312e231b5 Fixes from Andrew Smith 1992-05-26 23:49:49 +00:00
K. Richard Pixley
36e492a640 use m4 rather than gm4 1992-05-15 00:23:15 +00:00
Steve Chamberlain
a7f90969ec Keep the 29k config file 1992-05-07 00:24:39 +00:00
Roland Pesch
bf85ce3ec6 as.texinfo, as-all.texinfo: fix typo found by zoo
(don't call H8/300 an AMD 29K in info menus)

as.1: catch up to "-k" spelling change (now "-K")
1992-05-05 22:00:25 +00:00
Steve Chamberlain
939a343342 Yet more 29k configury 1992-05-05 14:23:33 +00:00
Steve Chamberlain
c58dbabf26 * obj-coffbfd.c: use is a synonym for section, (do_relocs_for):
calc the base of relocs correctly.
	* tc-a29k.c (parse_operand): allow expressions to be in any section.
1992-05-05 01:59:04 +00:00
Steve Chamberlain
20a8821836 lint 1992-05-05 00:52:18 +00:00
Steve Chamberlain
b38479171a Added "sect" as synonym for "section" 1992-05-05 00:51:50 +00:00
Steve Chamberlain
d752f749c8 Align lcomm addresses 1992-05-02 02:34:21 +00:00
Steve Chamberlain
a63dc14da1 tc-i386: lint
h8300.mt: configurey
1992-05-01 22:03:35 +00:00
Steve Chamberlain
4ca727c45f Added h8300xray target 1992-05-01 22:02:21 +00:00
Steve Chamberlain
7143f43cfa f
Added some more pseudo ops
listing.c: lint
as.c: ignore -w option
1992-05-01 21:27:34 +00:00
Roland Pesch
85fc7642a1 Track as.texinfo 1992-04-28 02:37:24 +00:00
Roland Pesch
eaeebcc9d7 Remove local formatting kluges, not meant for distribution. 1992-04-28 02:35:40 +00:00
Roland Pesch
8038106352 Former -k option now -K to avoid conflict with Sun assembler.
(-K [nee -k] gives warning when difference tables altered by assembler)
1992-04-27 20:51:53 +00:00
K. Richard Pixley
e6498b10d7 use -K for broken word option rather than -k which means pic to sun as 1992-04-27 20:17:02 +00:00
K. Richard Pixley
fa493b931a do not print recursion lines 1992-04-21 20:37:29 +00:00
K. Richard Pixley
d96c09ed3f tooldir copy of gas belongs directly in tooldir 1992-04-21 05:32:59 +00:00
Ken Raeburn
81484684f3 Install second copy in $(tooldir)/bin, since that's where gcc looks. 1992-04-09 09:48:46 +00:00
Sean Eric Fagan
86582e8d6c The Apollo compiler doesn't like assigning variables to enum's. So,
add a new enum to the class, with a value of 0.
1992-04-07 22:20:00 +00:00