Commit graph

3334 commits

Author SHA1 Message Date
Steve Chamberlain
ee4af9e839 don't crash when provided empty symbol table 1992-06-08 17:09:40 +00:00
David D. Zuhn
6ba70f641e new file from bothner, fixes sparc cross-disassembly core dumps 1992-06-08 07:46:10 +00:00
John Gilmore
ab37d4f663 * configure.in: Handle Solaris2 as *-sun-sysv4 or as *-sun-sunos5. 1992-06-07 00:03:50 +00:00
John Gilmore
6f8db23aef * blockframe.c (inside_entry_file, inside_main_func,
inside_entry_func):  Return 0 if no symbols; avoid crashing.
1992-06-05 18:52:27 +00:00
Mark Eichin
6442bb7727 change pathnames from /usr/share/misc to /usr/local/lib. They should *really*
get built by configure, someday.
1992-06-04 19:36:37 +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
Mark Eichin
f4a0f42d8a add real install, and some more normal paths. 1992-06-04 19:10:49 +00:00
Mark Eichin
9752f9fdcd use byacc instead of bison. 1992-06-04 19:10:06 +00:00
Mark Eichin
ba79f5fa08 Thu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com)
* lookup.c: fixed fencepost in nllookup and added dbg_nllookup for
	help in debugging the problem (with -DDEBUG)
	* gprof.c: symbol values are now real values, don't add the vma
	anymore. (done for solaris; should verify this on other platforms)
	* ChangeLog: created.
1992-06-04 18:36:56 +00:00
Per Bothner
f0e9ba1e63 * config.sub: Add support for Linux.
* Makefile.in:  Use $(FLAGS_TO_PASS) more consistently (at least for libg++).
1992-06-04 07:38:43 +00:00
Mark Eichin
1221d638c1 added srcdir=. so that configure puts in a value
added explicit foo.o:foo.c lines since Solaris has the same VPATH bug that
	SunOs 4.1.1 does...
1992-06-04 07:34:23 +00:00
John Gilmore
2795260c9e * xcoffread.c (read_xcoff_symtab): Set c_sclass from n_sclass
without masking, since it is signed and will later be compared
against signed quantities.  The right fix is probably to make
it all unsigned, but this is a small, safe fix for this release.
FIXME -- make the real change sometime soon.

(Imported from progressive.)
1992-06-04 05:23:08 +00:00
David D. Zuhn
72754842fc fix -nfp documentation 1992-06-03 03:06:02 +00:00
Michael Tiemann
2198e4ba24 Makefile.in (all-binutils): ar needs flex, so depend on all-flex. 1992-06-03 00:21:33 +00:00
Michael Tiemann
ebfb416750 Fix -R problem from Adobe 1992-06-02 23:49:59 +00:00
Mark Eichin
9138a2e2f6 Makefile.in: .c.o rule needed, default one (under solaris) ignores CFLAGS
Makefile: it shouldn't be under cvs; given that it is, fix it too
arcs.c: fprintf used where printf should have been.
lookup.c: misdeclared calloc; use a cast instead.
1992-06-02 17:22:47 +00:00
Roland Pesch
50a39795e2 Fix from net: when predigesting doc for texi2roff, search for "@c " at
the beginning of a line, rather than just "@C" at the beginning of a
line, to identify (and remove) comments.
1992-06-02 00:50:41 +00:00
Roland Pesch
45c53080cc Tracking changes from Lucid: option formerly known as either
"-cadillac" or "-energize" is called "-context" now.
1992-06-02 00:48:46 +00:00
Michael Tiemann
fb44a8f557 Pass the correct number of parameters to `symbol_file_add'. 1992-06-01 23:19:09 +00:00
Michael Tiemann
a748555bbb Define MALLOC_INCOMPATIBLE so we can compile files which include <malloc.h> 1992-06-01 23:17:21 +00:00
Mark Eichin
bbc7590aad change mh-solaris2 to mh-solaris. 1992-06-01 00:29:44 +00:00
Mark Eichin
ef8aa56d10 Added solaris configuration support. 1992-05-31 22:13:34 +00:00
Michael Tiemann
4feb00bef1 Handle -m680[01234]0-wrs as specific vxworks68 targets. With -nfp,
this offers full control over the CPU parameters of vxworks systems we
are likely to encounter (not to mention other 68k embedded targets
that run a.out as their debugging format).
1992-05-31 13:45:08 +00:00
David D. Zuhn
9dec541731 16 May version from prep 1992-05-31 08:16:00 +00:00
David D. Zuhn
a5992d117e recognize m680[1234] as separate processors now 1992-05-31 08:12:16 +00:00
David D. Zuhn
07f1d175cf better error testing on perverse cases (eg, ./config.sub -sun3) 1992-05-31 04:04:03 +00:00
Michael Tiemann
48079d66da Fix lint found by GCC. 1992-05-30 05:19:54 +00:00
Michael Tiemann
49df230880 Add flex to the list of keepers. flex is needed to build GNU ld. 1992-05-29 02:49:34 +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
Michael Tiemann
ad1f7512f8 Pass $tooldir in FLAGS_TO_PASS. Define -aout in $os. Both of these
are needed to do a `make all install' for a vxworks68 target install.
1992-05-28 06:21:54 +00:00
Steve Chamberlain
5e81edb2ec * ldgram.y, ldlex.l: parse ABSOLUTE
* ldexp.c: add support for ABSOLUTE
1992-05-27 22:18:50 +00:00
Per Bothner
52d6340e55 * config/*.mh: Miscellaneous clean-up: Removed definitions
of YACC (since it is not longer used in the Makefile).
	Remove HOSTING_* definitions that are subsumed by the
	ones added to Makefile.in.  Removed most definitions of CC.
	* config/{sparc,news,hp300bsd,decstation}.mh:  Removed;
	These are no longer needed.
1992-05-27 20:21:42 +00:00
Per Bothner
7aacc9cc02 * Makefile.in: Added default definitions for HOSTING_CRT0,
HOSTING_LIBS, and HOSTING_EMU, based on those in config/*.mh.
1992-05-27 20:20:47 +00:00
Per Bothner
7aea847a9e * arlex.l: Don't include <sysdep.h> (unneeded conflicts).
Add declaration of strdup().
1992-05-27 20:06:01 +00:00
John Gilmore
cb61478811 Lint 1992-05-27 16:29:03 +00:00
Per Bothner
2a4e0ef292 Add apollo68.h. 1992-05-26 23:59:37 +00:00
Per Bothner
70faae667c Add mh-a68bsd. 1992-05-26 23:57:55 +00:00
Steve Chamberlain
b2f27f8e9c lint 1992-05-26 23:57:04 +00:00
Steve Chamberlain
ab98fd5dbc * coff-a29k.c: do byte relocs correctly
* coffcode.h (styp_to_sec_flags): never load INFO sections
	* seclet.c (rel): don't relocate INFO sections
1992-05-26 23:53:00 +00:00
Steve Chamberlain
d312e231b5 Fixes from Andrew Smith 1992-05-26 23:49:49 +00:00
Steve Chamberlain
cf2623b060 Don't be too sanitary
(thanks Per)
1992-05-26 22:28:07 +00:00
Steve Chamberlain
780c477aff 29k const fix 1992-05-26 22:20:09 +00:00
Steve Chamberlain
954d412a06 Fix some typos 1992-05-26 19:08:48 +00:00
Steve Chamberlain
20ccefe6d4 Checkpoint 1992-05-26 18:26:13 +00:00
Steve Chamberlain
8b046402f5 This is a test to see if the file is still locked. 1992-05-26 14:51:23 +00:00
Ken Raeburn
d5ceae783f Header file changes corresponding to BFD library changes just checked in. 1992-05-26 07:06:00 +00:00
Ken Raeburn
8070f29df5 Lots of changes from gas-bfd work. Includes:
* working reloc lookup support
 * better support for creation of COFF files from scratch
 * misc doc changes, macro tweaks, "const" additions, typo fixes, etc.
 * one or two ugly kludges that should get cleaned up (but what's one
   or two more, in BFD?)
See ChangeLog for details.
1992-05-26 03:45:31 +00:00
Ken Raeburn
20edaa8e77 Lots of changes from gas-bfd work. Includes:
* working reloc lookup support
 * better support for creation of COFF files from scratch
 * misc doc changes, macro tweaks, "const" additions, typo fixes, etc.
 * one or two ugly kludges that should get cleaned up (but what's one
   or two more, in BFD?)
See ChangeLog for details.
1992-05-26 03:23:53 +00:00
Roland Pesch
c44b295315 Draft Solaris install notes.
Checked into "devo" temporarily; will probably need to move to another
repository.  Feel free to move it, but *please* move the entire
underlying RCS file, not just the HEAD version (unless, of course, you
move it while there's just this version checked in).
1992-05-25 20:42:53 +00:00