Commit Graph

580 Commits

Author SHA1 Message Date
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
Steve Chamberlain
f264b1f575 *** empty log message *** 1992-07-07 00:11:55 +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
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
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
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
Steve Chamberlain
a7f90969ec Keep the 29k config file 1992-05-07 00:24:39 +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
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
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
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
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
40f7081323 Don't remove underlines 1992-02-24 18:25:19 +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
Steve Chamberlain
3b548344d0 Made less things defined by default, now builds on sun3 and sun4. 1992-02-22 17:30:50 +00:00
Steve Chamberlain
ed90b99590 Tandem/MRI syntax bit rot 1992-02-22 03:06:02 +00:00
Steve Chamberlain
abca39c14a How to compile gas on a PC 1992-02-22 00:24:13 +00:00
K. Richard Pixley
1a9e2cf89e cvs bug, these files should not have been checked in. 1992-02-21 14:28:34 +00:00
K. Richard Pixley
2d97273c8b be more cautious with tranle's patches 1992-02-21 14:21:54 +00:00
K. Richard Pixley
ed6bfe6d75 moved from gas/a.out.gnu.h to gas/config/a.out.gnu.h 1992-02-21 11:58:52 +00:00
K. Richard Pixley
879982e63f minor reorg of tranlee's stuff 1992-02-21 11:37:01 +00:00
K. Richard Pixley
011ed8a686 new files from tranlee 1992-02-21 11:06:41 +00:00
K. Richard Pixley
6d5460ab89 changes from Minh Tran-Le <TRANLE@INTELLICORP.COM> to support i386
coff as it appears to be used on aix386.
1992-02-21 11:04:51 +00:00
K. Richard Pixley
e39469d91a from hack's unfinished work 1992-02-21 09:10:45 +00:00
K. Richard Pixley
90d85bc42b pulled in from hack's unfinished work 1992-02-18 11:27:34 +00:00
K. Richard Pixley
4b83ef1cfd tc-i860.[hc]: blew off the dust. Something must still be done about
conflicting relocation types.
1992-02-18 10:20:20 +00:00
K. Richard Pixley
fbd5ddff37 keep ChangeLog 1992-02-18 10:18:32 +00:00
K. Richard Pixley
e6a125b1f4 Replaced previous tc_aout_fix_to_chars stub with the real thing. 1992-02-18 10:18:05 +00:00
K. Richard Pixley
e219aa78dc keep the new file 1992-02-18 10:13:57 +00:00
K. Richard Pixley
574e55f10f delete duplicate macro definition 1992-02-18 10:13:09 +00:00
K. Richard Pixley
c82711bd5c copied from hack's last unreleased gas 1992-02-18 10:11:07 +00:00
K. Richard Pixley
9a051b43a6 record that files were removed 1992-02-17 16:02:58 +00:00
K. Richard Pixley
542e1629fd fighting bitrot in a major way 1992-02-17 15:54:49 +00:00
K. Richard Pixley
a87b326934 White space and comment changes, and #ifdef __STDC__ becomes #if
__STDC__ == 1.
1992-02-15 21:09:34 +00:00
K. Richard Pixley
920babce5a clean up Sanitize for gas 1992-02-13 10:13:24 +00:00
K. Richard Pixley
a7f4a774e6 add README fluff 1992-02-13 09:56:39 +00:00
K. Richard Pixley
5c640b08ee fluff 1992-02-13 09:56:04 +00:00
K. Richard Pixley
0117086004 All files over ~5 lines get copylefted. All copylefted files get
copylefted 1992.
1992-02-13 09:49:39 +00:00
K. Richard Pixley
8b228fe958 force all files to end in "/* end of filename" 1992-02-13 09:13:54 +00:00
K. Richard Pixley
1d63ba3ba0 remove all rcs keywords 1992-02-13 08:39:15 +00:00
K. Richard Pixley
a39116f1c9 White space and comments only. The devo tree prior to this delta is
tagged as "vanilla" for your convenience.

There are also some comment changes.
1992-02-13 08:33:54 +00:00
Michael Tiemann
d68f75c44d #include <sys/stdtypes.h> before <stddef.h> so that when we compile
with GCC, the compiler does not stumble over `size_t', `ptrdiff_t',
and `wchar_t'.  Also note that the comment in <stddef.h> says that we
have to #include <sys/stdtypes.h> before including <stddef.h> when on
a sun.
1992-02-11 10:34:03 +00:00
Steve Chamberlain
20ec2f6c98 New files for MRI syntax assembler 1992-02-11 00:51:52 +00:00
Steve Chamberlain
ebf137d5cd * as.c: added new option -ad for hll listings without debug info
* listing.c,listing.h: support for new listings, and more for forgiving
	when lied to about where linenumbers are.
	* config/obj-coffbfd.c (do_linenos_for): relocate line numbers
	correctly.
1992-02-06 20:09:39 +00:00
K. Richard Pixley
584a0f78d9 rcsid's removed 1992-01-28 20:38:08 +00:00
Steve Chamberlain
9ce31b6601 obj-coff* now copes with C mingled listings
tc-h8300.c: better error messages
1992-01-28 03:43:23 +00:00
Steve Chamberlain
86c094f212 Now can list for bout format too 1992-01-25 01:46:19 +00:00
Steve Chamberlain
f5e8a8f9c7 CVS says it was empty, so refresh it. 1992-01-24 18:30:47 +00:00
Steve Chamberlain
5d9f0ecf62 * as.c: change -l to -a[lsn], to avoid conflict with 68000
command line option.

	* listing.h, listing.c: now prints addresses with ??? instead of 0 when
	errors in assemble prevent addresses being known. Prints
	symbol table more tidily. Allows different parts of the
	listing to be selected.
1992-01-21 22:14:16 +00:00
Steve Chamberlain
32e4477444 * config/obj-coffbfd.c: lint
* config/tc-h8300.c, config/tc-h8300.h: Too Many bug fixes
	* config/tc-m68k.h, config/tc-sparc.h: Override default
	listing options to give better effect.
1992-01-08 19:39:50 +00:00
John Gilmore
c03956e829 Add declaration of free(). 1992-01-05 23:41:42 +00:00
K. Richard Pixley
e0982afeae Copied a missing case from the fsf-gas. The case was for relaxing
floating point branches of flexible size.
1991-12-28 07:50:37 +00:00
Steve Chamberlain
29a8640328 renamed obj-coff-bfd to obj-coffbfd 1991-12-12 03:34:31 +00:00
Steve Chamberlain
410e67eb21 * config/obj-coffbfd.c: lint, don't fixup relocs if H8300, use
tc_reloc_mangle to prepare relocation if one available
	* config/tc-h8300.h: added tc_reloc_mangle routine
1991-12-12 02:17:22 +00:00
Steve Chamberlain
db40ba149d Initial revision 1991-12-12 00:53:23 +00:00
Michael Tiemann
0dd0c58e49 Pick up bfd library from the build directory, not the source
directory.
1991-12-08 22:47:51 +00:00
Steve Chamberlain
4fed881829 *** empty log message *** 1991-12-04 18:25:37 +00:00
Steve Chamberlain
8bcad1b5b7 Don't ignore .line directives 1991-12-04 15:32:22 +00:00
Steve Chamberlain
f7c1f9e194 Don't ignore .file pseudos! 1991-12-04 00:18:18 +00:00
Steve Chamberlain
242bfe8791 Removed usage of alloca, lint. 1991-12-03 22:16:29 +00:00
Steve Chamberlain
9b4f91b556 Fix comment. 1991-12-01 07:14:34 +00:00
Steve Chamberlain
a1d144c63e More filename renaming. 1991-12-01 07:11:25 +00:00
Steve Chamberlain
63c92fcd96 Massive changes to generalize coff-bfd support enough to get 29k
working as well as it did before.

This means that 29k now supports multiple sections
1991-11-29 01:05:58 +00:00
Steve Chamberlain
7d4ffa93db *** empty log message *** 1991-11-28 21:23:52 +00:00
Steve Chamberlain
17b8147980 * config/tc-h8300.c: made $ statement sep, and int alloc 2 bytes. 1991-11-28 21:23:39 +00:00
Steve Chamberlain
f714e310f4 Made multiple sections with subsections work. 1991-11-28 21:22:41 +00:00
Steve Chamberlain
869eb845b1 Added obj-coff-bfd* and mt-h8300hds 1991-11-27 22:28:57 +00:00
Steve Chamberlain
814e8bbabc Renamed static function to avoid conflict with header file 1991-11-26 02:30:24 +00:00
Steve Chamberlain
05b4b0e70c obj-coff-bfd:
bfd support gets deeper into gas
*h8*
	fixed numerous bugs in instruction encoding
1991-11-26 02:16:59 +00:00
Steve Chamberlain
23de7ff6f5 Initial revision 1991-11-26 02:16:53 +00:00
Michael Tiemann
865a2edf64 Ensure we null-terminate the string we copy at the start of
m68k_reg_parse.
1991-11-24 17:24:52 +00:00
Steve Chamberlain
6690d8299d Added tc-sparc.c 1991-11-11 23:36:39 +00:00
Steve Chamberlain
fd345c9cbb Wouldn't it be nice if Sanitize ignored spaces ? 1991-11-06 11:53:16 +00:00
K. Richard Pixley
6951f3cc3f Initial revision 1991-11-06 09:48:32 +00:00
Steve Chamberlain
68de1b2302 Uniq contents, since configure gets confused if the same file is in more than once. 1991-11-06 09:14:33 +00:00
K. Richard Pixley
a6c6eaf80b adjust STRIP_UNDERSCORE 1991-11-06 02:27:02 +00:00
K. Richard Pixley
ac7d9f2dd1 adjust STRIP_UNDERSCORE, polish te-files 1991-11-06 02:23:49 +00:00
K. Richard Pixley
2e81fce47e Initial revision 1991-11-06 02:23:45 +00:00
K. Richard Pixley
b97ea9edf0 ugly bug in relocation emission 1991-11-05 22:00:51 +00:00
Steve Chamberlain
9a046f1cdc Added a load of mt/mh files 1991-11-05 21:21:12 +00:00
Steve Chamberlain
7c328fb003 Changed name of #include from amdcoff.h to coff-a29k.h 1991-11-05 01:34:52 +00:00
K. Richard Pixley
9439f48f4c Fixed ".reserve", and added toolversion for sparc + some nitpicks. 1991-10-26 08:48:23 +00:00
Steve Chamberlain
cb9fe247c0 tmake-ebmon 1991-10-22 03:26:06 +00:00
Steve Chamberlain
065114de7b Make sure that 29k relocs are done right. 1991-10-21 22:57:31 +00:00
Steve Chamberlain
6d984a0c18 *** empty log message *** 1991-10-21 19:56:47 +00:00
Steve Chamberlain
5757497917 * configure.in: added ebmon entry.
* output-file.c (output_file_create, output_file_close) added
	stuff to use bfd.
	* write.c: more bfd support
	* config/obj-coff.c  config/obj-coff.h use bfd for swapping
	header info.
	* tc-a29k: added the reloc types we support now.
1991-10-21 16:31:47 +00:00
Steve Chamberlain
6352cb8fbd Initial revision 1991-10-21 16:31:43 +00:00
K. Richard Pixley
d93912533e Shift positions on memory.h. Seems gcc has changed. 1991-10-16 08:56:25 +00:00
K. Richard Pixley
7c15cbe814 typo in a comment. 1991-10-16 04:19:14 +00:00
K. Richard Pixley
15211bed3c Decstation now croaks on multi-line assertions. eliminate them. 1991-10-10 10:43:30 +00:00
K. Richard Pixley
ce9dc65af7 Initial revision 1991-10-10 04:55:23 +00:00
Steve Chamberlain
6ce6f0935f Fix bug with expressions like @foo+20 1991-10-08 00:40:43 +00:00
Steve Chamberlain
cd8761e140 Initial revision 1991-10-06 19:02:50 +00:00
K. Richard Pixley
3116e6cf2f test & recover a better way. 1991-09-04 01:55:53 +00:00
K. Richard Pixley
8e25c1fa96 "recover" tc-sparc.c 1991-09-02 21:26:15 +00:00
K. Richard Pixley
a71150bd17 Correct a few things. 1991-09-02 01:03:38 +00:00
K. Richard Pixley
2dd8428e6d Initial revision 1991-09-02 01:03:06 +00:00
K. Richard Pixley
5cf89596e7 Patch around gcc builtin memory functions. 1991-09-01 23:36:56 +00:00
K. Richard Pixley
feb4df71a5 Error out on unrecognized options. 1991-08-27 23:10:19 +00:00
K. Richard Pixley
60b6e7da1f Corrected relocation overflow checks. 1991-08-15 20:34:42 +00:00
K. Richard Pixley
ac1ac0cd4f Abort()'s become as_fatal()'s. 1991-08-15 19:38:52 +00:00
K. Richard Pixley
a79c6033ed * no more relocation_info structures. We now squirt directly from
fixS's.

* i960-bout and i960-coff "tested" against their predecessors.
1991-08-14 00:26:06 +00:00
K. Richard Pixley
070cece144 Added AOUT_MACHTYPE definitions. 1991-08-07 07:00:01 +00:00
K. Richard Pixley
dd61f09ec8 Added -S option for 3com. Asks that jbsr always resolve to jsr. 1991-08-06 07:21:38 +00:00
K. Richard Pixley
f6e504fe91 Polishing m68k support. 1991-07-27 02:34:20 +00:00
Jim Wilson
116a34785a Ifdef out bogus `relocation overflow' tests. 1991-07-10 13:18:07 +00:00
K. Richard Pixley
9b856b4f9c more v9 fixes. This time %hhi() and %hlo(). 1991-07-10 02:45:05 +00:00
K. Richard Pixley
6321e9eaf5 Changes for v9 gas. 1991-06-20 21:47:57 +00:00
K. Richard Pixley
6026cd06e0 Version 2 GPL. 1991-06-14 14:04:55 +00:00
K. Richard Pixley
cd1b1f8eef version 2 GPL. 1991-06-14 13:59:44 +00:00
K. Richard Pixley
afe3b66847 Add sanitize trigger lines. 1991-05-23 17:14:50 +00:00
K. Richard Pixley
b5a33fb731 No tc-sparc.c here. 1991-05-23 17:11:51 +00:00
K. Richard Pixley
0fd8d5d963 Initial revision 1991-05-23 17:10:40 +00:00
K. Richard Pixley
839df5c343 v9 stuff. 1991-05-22 01:18:42 +00:00
K. Richard Pixley
d1a9e59485 Buying into ../include and ../libiberty. 1991-05-18 02:15:32 +00:00
K. Richard Pixley
71da131654 Initial revision 1991-04-13 10:03:24 +00:00
K. Richard Pixley
8fb360783f Fixed LOCAL_LABELS_FB bug. 1991-04-11 00:13:41 +00:00
K. Richard Pixley
68a96e5326 Initial revision 1991-04-08 15:59:18 +00:00
K. Richard Pixley
3cc6716da4 CROSS_ASSEMBLE becomes CROSS_COMPILE to make config simpler. i386
support for aout now tested against an installed customers sun4 cross.
Added REVERSE_SORT_RELOCS.
1991-04-08 15:49:47 +00:00
K. Richard Pixley
0e39a8bbfe new gas main line 1991-04-04 18:19:56 +00:00
K. Richard Pixley
3c0c9328b9 This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
1991-04-04 18:19:55 +00:00
K. Richard Pixley
eb4edf5df2 new gas main line 1991-04-04 18:19:55 +00:00
nobody
3a69b3aca6 This commit was manufactured by cvs2svn to create branch 'binutils'.
Cherrypick from master 1991-04-04 18:19:53 UTC K. Richard Pixley <rich@cygnus> 'Initial revision':
    gas/COPYING
    gas/ChangeLog
    gas/Makefile.in
    gas/README
    gas/app.c
    gas/as.c
    gas/as.h
    gas/atof-generic.c
    gas/bignum-copy.c
    gas/bignum.h
    gas/cond.c
    gas/config/atof-ieee.c
    gas/config/atof-vax.c
    gas/config/obj-aout.c
    gas/config/obj-aout.h
    gas/config/obj-bout.c
    gas/config/obj-bout.h
    gas/config/obj-coff.c
    gas/config/obj-coff.h
    gas/config/tc-a29k.c
    gas/config/tc-a29k.h
    gas/config/tc-generic.c
    gas/config/tc-generic.h
    gas/config/tc-i386.c
    gas/config/tc-i386.h
    gas/config/tc-i860.c
    gas/config/tc-i860.h
    gas/config/tc-i960.c
    gas/config/tc-i960.h
    gas/config/tc-m68851.h
    gas/config/tc-m68k.c
    gas/config/tc-m68k.h
    gas/config/tc-ns32k.c
    gas/config/tc-ns32k.h
    gas/config/tc-sparc.c
    gas/config/tc-sparc.h
    gas/config/tc-vax.c
    gas/config/tc-vax.h
    gas/config/te-generic.h
    gas/config/te-ic960.h
    gas/config/te-sun3.h
    gas/config/vax-inst.h
    gas/configure
    gas/configure.in
    gas/debug.c
    gas/expr.c
    gas/expr.h
    gas/flonum-copy.c
    gas/flonum-mult.c
    gas/flonum.h
    gas/frags.c
    gas/frags.h
    gas/hash.c
    gas/hash.h
    gas/input-file.c
    gas/input-file.h
    gas/input-scrub.c
    gas/messages.c
    gas/obj.h
    gas/output-file.c
    gas/output-file.h
    gas/read.c
    gas/read.h
    gas/struc-symbol.h
    gas/subsegs.c
    gas/subsegs.h
    gas/symbols.c
    gas/symbols.h
    gas/tc.h
    gas/write.c
    gas/write.h
    ld/ld.h
    ld/ldexp.c
    ld/ldfile.c
    ld/ldfile.h
    ld/ldlang.h
    ld/ldlex.h
    ld/ldmain.h
    ld/ldmisc.h
    ld/ldwrite.h
Cherrypick from master 1991-03-21 21:29:06 UTC David Henkel-Wallace <gumby@cygnus> 'Initial revision':
    ld/ldexp.h
    ld/ldgram.y
    ld/ldlang.c
    ld/ldlex.l
    ld/ldmain.c
    ld/ldmisc.c
    ld/ldwrite.c
Cherrypick from master 1991-01-17 15:34:55 UTC Roland Pesch <pesch@cygnus> 'Initial revision':
    gas/doc/as.texinfo
1991-04-04 18:19:54 +00:00
K. Richard Pixley
fecd2382e7 Initial revision 1991-04-04 18:19:53 +00:00