Commit graph

296 commits

Author SHA1 Message Date
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
Sean Eric Fagan
3876b4c55d ChangeLog entries describing my changes. 1992-04-07 22:18:44 +00:00
Sean Eric Fagan
343fb08da8 Change a series of #if/#elif to #if/#else/#if.../#endif. The apollo
compiler lies about being ANSI conformant.
1992-04-07 22:18:18 +00:00
Sean Eric Fagan
da7aaffbae The apollo make does not like lines which end in a backslash, but do not have
anything following (it tries to interpret the next line as a command; for
this file, the next line was merely more rules).
1992-04-07 22:16:41 +00:00
K. Richard Pixley
37dfec76fd fix cvs merge detritus 1992-03-14 03:09:49 +00:00
K. Richard Pixley
95a925b8f1 pass MAKEINFO macro on info 1992-03-14 03:08:29 +00:00
K. Richard Pixley
5b4c9f7763 use MAKEINFO macro 1992-03-14 03:07:12 +00:00
Steve Chamberlain
5d53038bb9 Fri Mar 13 08:03:03 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* flonum-const.c: renamed flonum-konst.c to stop dos name
	conflict.
1992-03-13 16:04:21 +00:00
K. Richard Pixley
8c1b25e4b1 * configure.in: vxworks68 gets te-sun3.h.
* expr.c: remove limitation that local_labels_dollar or
	  local_labels_fb must be < 10.

	* symbols.c: remove local_labels_dollar, replace with a function
	  interface for a sparse array.  All users adjusted.
1992-03-12 12:47:36 +00:00
K. Richard Pixley
df7204ad89 * tc-m68k.h, te-sun3.h: moved LOCAL_LABELS_FB definition from
tc-m68k.h to te-sun3.h.

	* te-sun3.h: add LOCAL_LABELS_DOLLAR.
1992-03-12 12:44:22 +00:00
K. Richard Pixley
ced0d93e96 keep ChangeLog and as-all.texinfo 1992-03-10 00:50:59 +00:00
K. Richard Pixley
787c6bfe70 This is the second batch of makefile changes. Libg++ makefiles were
checked in earlier.  These are Makefiles relevant to the progressive
release currently in progress.

* added exec_prefix
* default bindir now exec_prefix/bin
* default libdir now exec_prefix/lib
* default mandir now prefix/man
* default infodir now prefix/info
* added oldincludedir, default NULL
* remove all traces of the old -subdirs and -namesubdir support,
  including code, for loops, and all subdir/unsubdir stuff.
* remove old style staging targets {de-}stage[1234], comparison,
  bootstrapN, from all but the bootstrappable tools.
* added check targets.
* removed any "Last Mod" lines.
* forced copyrights to '92 and shifted some from Cygnus to FSF.
* added tooldir and program_prefix where needed.
* updated texinfo and man pages, removed all references to multiple
  hosts or targets.
1992-03-08 07:47:55 +00:00
K. Richard Pixley
5ff20e8f4d added menu triggers 1992-03-08 07:08:58 +00:00
K. Richard Pixley
169fff4907 this file will be needed as long as we use a tool that we do not distribute (m4) 1992-03-06 11:32:42 +00:00
Michael Tiemann
961815e432 Make the declarations of fix_new consistent under __STDC__. It might
be better to #define NEED_FX_R_TYPE in TC_A29K and TC_SPARC instead of
having this complicated conditional, but that's not my call.
1992-03-01 12:45:17 +00:00
Michael Tiemann
1651b22d76 * Makefile.in (strerror.o): Add rule so that broken Sun make can
work in subdirs.
1992-02-29 21:59:47 +00:00
Steve Chamberlain
3e6e09c068 Dos File renaming 1992-02-27 18:52:18 +00:00
Steve Chamberlain
5373c4396a H8 bitrot fixes 1992-02-27 03:37:37 +00:00
Michael Tiemann
806147fd5c Keep a.out.gnu.h, not a.out.h (which no longer exists). 1992-02-26 08:54:09 +00:00
Steve Chamberlain
14d3e47bfa * expr.c: If an expression is single comma, then return with
SEG_ABSENT rather than an error - since the sparc front end does
	really strange things with things like fbge,a
1992-02-26 06:11:47 +00:00
Steve Chamberlain
f24f757780 * as.h: include bfd.h if using many sections
* expr.c: LOCAL_LABELS_FB had been changed to lower case - so
	local labels didn't work.
	* listing.c (list_symbol_table): don't core dump when there's no
	symbol there.
	* write.c, write.h: call fix_new with the right number of args on
	the H8.
	* config/tc-h8300.[ch] : fix bugs reported by HMSI, and make
	errors nicer
1992-02-25 22:27:44 +00:00
Steve Chamberlain
40f7081323 Don't remove underlines 1992-02-24 18:25:19 +00:00
Michael Tiemann
b0c0241840 Keep Makefile.in and configure.in. Don't keep Makefile. 1992-02-24 13:54:45 +00:00
Steve Chamberlain
c593cf412b * app.c: MRI compatibility - allow single quote to start a string.
* as.c: fix typo recently introduced.
	* as.h : Don't include aout/reloc.h - it's not right for COFF!
	* expr.c: Much rewriting, to accomodate MRI syntax for
	expressions. Also easier to read now.
	* listing.c: Put back defuns
	* read.c: modified to accept MRI syntax, put back listing pseudo
	ops so that an assembler built with NO_LISTING ignores list ops
	rather than pukes.
	* write.c, write.h: fixs - only keep a reloc type in a fix if the target
	machine is a SPARC or a 29K.
	* config/obj-aout.c: added s_sect pseudo op
	* config/obj-coffbfd.c: lints, set the filehdr flags right and
	fill in the timestamp.
	* config/obj-coffbfd.h: Since we don't include aout/reloc.h
	anymore, define all the relocs which the tc-<x> bit will use so we
	can translate from them to the coff types.
	* config/tc-a29k.c: reloc_type isn't ane enum any more
	* config/tc-m68k.c: Added NO_RELOC definition.

Now compiles for sparc aout, 68k aout (MRI and MIT syntax),
29k coff.

So far works as replacement for sparc and 68k /bin/as.
1992-02-22 20:45:24 +00:00