Commit Graph

95016 Commits

Author SHA1 Message Date
Steve Chamberlain 1a602d6e61 * sunos.c: (choose_reloc_size) added: (sunos4_callback) calls
choose_reloc_size. (sunos4_write_object_contents) now calls
	choose_reloc_size so outputs relocs correctly, also calculates the
	size of the sections correctly.
* aout.c: (look in the rrgs I hate VI)


~
~
~
~

1991-05-13 21:02:56 +00:00
Steve Chamberlain c42538adaf *** empty log message *** 1991-05-13 20:26:24 +00:00
Steve Chamberlain fb030779ae *** empty log message *** 1991-05-13 19:56:07 +00:00
Steve Chamberlain df9d12efd3 Now use a.out-sunos rather than a.out-generic 1991-05-13 18:47:30 +00:00
Steve Chamberlain 99a2aa2cb5 *** empty log message *** 1991-05-13 17:14:49 +00:00
Steve Chamberlain 23565c68dc C
VS: ----------------------------------------------------------------------
1991-05-12 07:34:24 +00:00
Steve Chamberlain 10be52bffd *** empty log message *** 1991-05-12 07:31:23 +00:00
Steve Chamberlain a8f3d65117 Fixed the shapes of external things some more.

1991-05-11 02:23:48 +00:00
Steve Chamberlain 8e3c8f4755 *** empty log message *** 1991-05-11 02:22:21 +00:00
Steve Chamberlain 22ddf9bcc5 Initial revision 1991-05-11 02:22:13 +00:00
John Gilmore e10d93eda2 Sony NEWS port and modularization of a.out code. Cleanup of
close_and_cleanup, write_contents, and jump vectors.
1991-05-11 00:48:27 +00:00
John Gilmore a42ceb3229 Initial revision 1991-05-11 00:46:31 +00:00
John Gilmore 2b1d8a50a0 Cleanups of interface, including close_and_cleanup and write_contents
transfer vector changes.  See ChangeLog.
1991-05-11 00:38:47 +00:00
John Gilmore 78aa64b14c * sunos.c: Remove all code that goes in aout.c. Split out
machine dependent followup in sunos4_object_p into
        sunos4_callback.  Use JUMP_TABLE(aout) and redefine only
        the names we CHANGE, not all the names.  Drop the little-endian
        vector, and rename the vector as sunos4 rather than generic.
1991-05-11 00:24:09 +00:00
John Gilmore 8b0328dba3 Lint. 1991-05-10 23:56:58 +00:00
John Gilmore e2aed73b28 REMOVE ALL SUNOS SUPPORT TO SEPARATE MODULE.
This is now a generic module for a.out handling.

Rename all routines from sunos4_xxx to aout_xxx.  Remove Sun-specific
code.  Remove transfer vectors.  Pull core file handling.  Lint.
Remove close_and_cleanup.
1991-05-10 23:56:32 +00:00
John Gilmore 69ebee8678 Split up a.out handlers into generic and target-specific.
Remove close_and_cleanup.  Lint.
1991-05-10 23:51:35 +00:00
John Gilmore ed9c0d48e0 Eliminate close_and_cleanup routines. 1991-05-10 23:48:14 +00:00
John Gilmore 66d4e1bb88 Update for Sony News port and split of a.out into several variants.
Add write_contents to format-dependent vector.
1991-05-10 23:41:14 +00:00
John Gilmore df77307a2a Initial revision 1991-05-10 23:41:10 +00:00
Roland Pesch 616da99975 *** empty log message *** 1991-05-10 22:46:08 +00:00
Steve Chamberlain a0a87dd55e *** empty log message *** 1991-05-10 19:44:53 +00:00
Steve Chamberlain 4322f04db6 changed forward declaration struct stat; to reduce warnings. Changed
common on bfd_h_<x>_x.
1991-05-10 19:44:17 +00:00
Steve Chamberlain 81623791e4 Now there are two incarnations of relocs, linenos and syments. One for
internal digestion, and one full of char arrays for I/O. The original
names have gone to detect errors.
1991-05-10 19:41:19 +00:00
Steve Chamberlain 9dce1776b6 Initial revision 1991-05-10 19:40:56 +00:00
Steve Chamberlain cdd896f940 *** empty log message *** 1991-05-10 19:38:27 +00:00
Steve Chamberlain c407897e2f Added 68kcoff 1991-05-10 19:38:10 +00:00
Steve Chamberlain 77a7985cb0 Test new structure exporting code with 68k coff implementaion. 1991-05-10 19:37:58 +00:00
Steve Chamberlain e5b919b168 Fixed all the places where there were problems with the size and
alignments of structures on disk and structures in memory. #ifed out
all the code in coffswap.c, since it should be done using the target
swap routines now.
1991-05-10 19:33:37 +00:00
Steve Chamberlain af773d1b0f It's new and improved 1991-05-10 01:47:44 +00:00
John Gilmore 66b510f652 * coff-code.h: Remove coff_get_section_contents, and use the
generic one instead.
1991-05-09 23:56:01 +00:00
John Gilmore ce3f6d51b0 * ieee.c: Cast enums to int before comparing them, for brain-
dead compilers.
1991-05-09 23:54:19 +00:00
John Gilmore 2203f786c8 Add bfd_generic_get_section_contents. 1991-05-09 23:48:26 +00:00
Steve Chamberlain 7564d3d74a Thu May 9 11:00:45 1991 Steve Chamberlain (steve at cygint.cygnus.com)
* ieee.c (do_one, ieee_slurp_section_data): now supports the load
	multiple reloc command.
1991-05-09 18:05:05 +00:00
Steve Chamberlain 41489b9ad7 Thu May 9 11:00:45 1991 Steve Chamberlain (steve at cygint.cygnus.com)
* sunos.c (sunos4_set_section_contents): Made it so that sections
	are always padded to their alignment size.
1991-05-09 18:03:16 +00:00
Steve Chamberlain ffb740a982 Fixed error message text 1991-05-08 19:23:55 +00:00
Steve Chamberlain a0ad303552 Lint 1991-05-08 19:23:35 +00:00
Steve Chamberlain d0ec7a8ee4 Various portability lints.
Fixed reloc bug in ieee and oasys.
1991-05-08 19:21:48 +00:00
Steve Chamberlain a5c6b4b3b5 Added make dep rule.
When configure is used, the created makefile will have all the
dependencies filled in.
1991-05-08 19:07:10 +00:00
Roland Pesch 98088880f3 (1) Updated to reflect renamed commands;
(2) Reorganized, bringing more common commands forward, merging
    "print" and "x" into one section;
(3) New sections: "Essential Commands", "GDB Scripts";
(4) Material on convenience vars and value history added to "Expressions";
(5) Uses PostScript fonts by default, also includes (commented out) alternative
    Computer Modern font definitions that format similarly.
1991-05-07 19:38:33 +00:00
Steve Chamberlain d6079be71e Took out the c++ support 1991-05-07 19:16:52 +00:00
Steve Chamberlain 6812f0e89f Fixed the shift reduce errors in the grammer using the yacc debugger.
Removed some lint highlighted by the same.
1991-05-07 19:16:33 +00:00
Steve Chamberlain dcf22de996 Fixed problem where pc relative stuff was not being translated
properly. Oasys keeps no -ve pc in the disp of a branch, so we fake
it.
1991-05-07 19:13:58 +00:00
Steve Chamberlain bc488d8923 *** empty log message *** 1991-05-05 22:13:56 +00:00
John Gilmore 5594d534a2 Saber C (lint) cleanups, and a few bug fixes. See ChangeLog. 1991-05-04 23:15:02 +00:00
John Gilmore b1847ba9e7 Saber C cleanup. Fix horrid bug in opncls.c in which an obstack is
initialized on the stack and then copied into its own allocated space.
(Wow, Steve, you're twisted...)
1991-05-04 22:52:03 +00:00
John Gilmore f929c7d43b Saber C fixups. 1991-05-04 22:45:02 +00:00
John Gilmore 6281dfd59d Roll version to 3.95. 1991-05-04 18:10:57 +00:00
John Gilmore 1417a2cd1c Fix =&'s in copy.c 1991-05-04 05:22:47 +00:00
John Gilmore 77ac93922c See ChangeLog. 1991-05-04 05:07:07 +00:00