Commit Graph

409 Commits

Author SHA1 Message Date
John Gilmore
ea3768dc45 Add elf.c 1991-10-03 22:23:56 +00:00
Steve Chamberlain
2cf44d7be5 * fixed prototype for reloc_type_lookup 1991-10-03 15:41:11 +00:00
Steve Chamberlain
a55612c73e * elf.c: took the abort out of set_arch_mach so that objdump -i will
still work. Now allows any architecture/machine to be set.
1991-10-03 14:51:20 +00:00
Steve Chamberlain
9ce0058ca6 *** empty log message *** 1991-10-03 14:49:10 +00:00
K. Richard Pixley
5a168a17ee resync 1991-10-02 04:15:56 +00:00
K. Richard Pixley
b9fe720d06 steves h8 patches 1991-10-02 04:01:08 +00:00
John Gilmore
3f85ebce78 * Makefile.in, configure.in, targets.c, elf.c: Add preliminary
ELF support good enough for GDB.
* configure.in, config/h-amix, config/t-m68k-elf:  Handle
m68k-cbm-svr4 host and target.
1991-10-01 19:46:47 +00:00
John Gilmore
2d996e5dc9 Initial revision 1991-10-01 19:26:34 +00:00
Steve Chamberlain
30d2c06f1d *** empty log message *** 1991-10-01 18:29:28 +00:00
John Gilmore
995ee059a1 Avoid depending on number of initializers. 1991-10-01 13:37:14 +00:00
John Gilmore
2ccc238359 Vax Ultrix changes from David Taylor <taylor@think.com>. 1991-10-01 12:08:20 +00:00
John Gilmore
d2b833bc89 * sys/h-vaxult.h: Make it work. (David Taylor <taylor@think.com>) 1991-10-01 12:00:11 +00:00
Steve Chamberlain
11d9b7f5a6 * bfd-in.h VERSION, change version number to 0.18, this makes a
gap, but now is the same as the linker version number.
1991-10-01 04:20:02 +00:00
Steve Chamberlain
e568362218 Added new macro NEWHOWTO 1991-10-01 03:58:36 +00:00
Steve Chamberlain
11fdd52003 Modified to generate the right includes for the new files 1991-10-01 03:57:46 +00:00
Steve Chamberlain
e738d5d264 added:
* amdcoff.c: (a29k_reloc) fix error message.
1991-10-01 03:56:32 +00:00
Steve Chamberlain
63ffe5ef86 Insert the incidentals and things I forgot to ci last time, same log message:
Mon Sep 30 15:13:46 1991  Steve Chamberlain  (steve at cygnus.com)

	* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
	cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
	files will eventually contain processor specific bits for bfd,
	like strange relocation information and dis/assembly.  So far only
	the H8 has been even partially done.  This work also ties in with
	the change in handling architectures.

	* amdcoff.c: (a29k_reloc) fix error message.

	* aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
	discover the architecture of the bfd. (sunos4_callback) calls the
	function bfd_set_arch_mach rather than stuffing stuff directly
	into the bfd. (sunos4_write_object_contents), changed names of
	accessor functions.

	* aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
	setup the environment.

	* archive.c: (bfd_slurp_coff_armap) coff archives always have the
	headers in big endian format, regardless of the endianess of the
	host or target.

	* archures.c: totally changed. Now an architecture is represented
	with a pointer to an info structure rather than an enumerated type
	and a long. The old info is available as two elements in the
	structure.  Future enhancements to architecure support will
	involve pointers to methods being placed into the info structure.

	* bfd.c: changed the definition of the bfd structure for the new
	architecture stuff.

	* bout.c: (b_out_set_arch_mach) changed to use the new
	architecture mechanism.

	* coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
	the new architecture mechanism.

	* configure.in: added h8 stuff.

	* ieee.c: too many changes to note.  Now ieee files written with
	bfd gas and ld can be read by gld and ieee only linkers and
	simulators.

	* libbfd.c, libbfd.h: changed prototype of bfd_write.

	* newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
	than fixing the structure directly.

	* oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
	than fixing the structure directly.

	* opncls.c: (new_bfd) makes sure that bfd_init has been called
	before opening a bfd.

	* srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
	rather than fixing the structure directly.

	* targets.c: (target_vector) now by defining SELECT_VECS (perhaps
	in the t/hmake file) a user can select which backends they want
	linked with bfd without changing the source.

	* init.c: new, looks after initializing modules.

	* howto.c: for future use, will allow an application to work out
	what cookie to use as a handle on a relcoatio howto.
1991-10-01 03:55:40 +00:00
K. Richard Pixley
a26878d1fa Exploit the new executable config.status 1991-10-01 03:46:00 +00:00
Steve Chamberlain
4e6f9223b1 Mon Sep 30 15:13:46 1991 Steve Chamberlain (steve at cygnus.com)
* cpu-a29k.c, cpu-i386.c, cpu-m68k.c, cpu-mips.c, cpu-vax.c,
	cpu-h8300.c, cpu-i960.c, cpu-m88k.c, cpu-sparc.c: added. These
	files will eventually contain processor specific bits for bfd,
	like strange relocation information and dis/assembly.  So far only
	the H8 has been even partially done.  This work also ties in with
	the change in handling architectures.

	* aout-f1.h: (choose_reloc_size) now calls bfd_get_arch to
	discover the architecture of the bfd. (sunos4_callback) calls the
	function bfd_set_arch_mach rather than stuffing stuff directly
	into the bfd. (sunos4_write_object_contents), changed names of
	accessor functions.

	* aoutx.h: (set_arch_mach) now calls bfd_default_set_arch_mach to
	setup the environment.

	* archive.c: (bfd_slurp_coff_armap) coff archives always have the
	headers in big endian format, regardless of the endianess of the
	host or target.

	* archures.c: totally changed. Now an architecture is represented
	with a pointer to an info structure rather than an enumerated type
	and a long. The old info is available as two elements in the
	structure.  Future enhancements to architecure support will
	involve pointers to methods being placed into the info structure.

	* bfd.c: changed the definition of the bfd structure for the new
	architecture stuff.

	* bout.c: (b_out_set_arch_mach) changed to use the new
	architecture mechanism.

	* coffcode.h: (coff_set_arch_mach, coff_set_flags) changed to use
	the new architecture mechanism.

	* configure.in: added h8 stuff.

	* ieee.c: too many changes to note.  Now ieee files written with
	bfd gas and ld can be read by gld and ieee only linkers and
	simulators.

	* libbfd.c, libbfd.h: changed prototype of bfd_write.

	* newsos3.c: (newos3_callback) now calls bfd_set_arch_mach rather
	than fixing the structure directly.

	* oasys.c: (oasys_object_p) now calls bfd_default_set_arch_mach rather
	than fixing the structure directly.

	* opncls.c: (new_bfd) makes sure that bfd_init has been called
	before opening a bfd.

	* srec.c: (srec_set_arch_mach) now calls bfd_default_set_arch_mach
	rather than fixing the structure directly.

	* targets.c: (target_vector) now by defining SELECT_VECS (perhaps
	in the t/hmake file) a user can select which backends they want
	linked with bfd without changing the source.

	* init.c: new, looks after initializing modules.

	* howto.c: for future use, will allow an application to work out
	what cookie to use as a handle on a relcoatio howto.
1991-10-01 03:43:43 +00:00
Steve Chamberlain
e89f2fbe00 Initial revision 1991-10-01 03:43:11 +00:00
John Gilmore
387cbb2bff * srec.c: Better error checking, partly from Peter Schauer.
(srec_object_p):  Avoid assuming any file that starts with 'S' is
an S-record file!  (Check for 3 uppercase-hex digits after it.)
(ISHEX):  Define new macro for checking supposedly hex characters.
(pass_over):  Treat as EOF any S-record line that:
    *  doesn't have hex in either size character
    *  produces a size larger than 0x7F
    *  has an unrecognized type number
1991-09-30 20:50:18 +00:00
John Gilmore
06d751608c Typos. 1991-09-28 14:10:47 +00:00
John Gilmore
fb3be09b66 Lint (saber actually). 1991-09-26 22:28:46 +00:00
Per Bothner
ac0167e878 * libaout.h (WRITE_HEADERS): Set header's a_text field always.
* newsos3.c: Fixed two types: newos3 -> newsos3.
1991-09-26 18:40:30 +00:00
Per Bothner
d0a27c3b8e Fix bfd_perform_relocation to handle pc-relative relocs better. 1991-09-26 18:26:28 +00:00
John Gilmore
8215bbacd0 Undo precipitous changes. 1991-09-20 03:44:17 +00:00
Sean Eric Fagan
b1c86ef190 *** empty log message *** 1991-09-19 22:28:00 +00:00
Steve Chamberlain
f3d70fe521 Stuff for new machiens 1991-09-19 21:05:02 +00:00
Steve Chamberlain
33638b1c2e Initial revision 1991-09-19 21:04:59 +00:00
Steve Chamberlain
c430e8638d *** empty log message *** 1991-09-19 20:54:31 +00:00
Stu Grossman
549d4382b7 Initial revision 1991-09-17 23:41:34 +00:00
Stu Grossman
acd551ee63 sgi/irix config stuff. 1991-09-17 06:57:44 +00:00
Stu Grossman
5e4953bc10 Put back definition of offsetof. Only define it if it's not defined on this
system.
1991-09-17 01:27:55 +00:00
Stu Grossman
8cc8fd6945 Remove o_offsetof BS. Use local def if available. 1991-09-16 23:48:33 +00:00
John Gilmore
f48e264778 Missing quote fries it. 1991-09-13 06:16:32 +00:00
John Gilmore
e3e3d88a30 Ultracomputer 1991-09-13 03:56:25 +00:00
John Gilmore
12bf20326d Propagate 1991-09-13 02:19:57 +00:00
John Gilmore
126334ae30 * configure.in: Handle a29k-*-* hosts, and targets
a29k-*-coff, a29k-*-aout, and a29k-*-sym1.
1991-09-13 01:49:40 +00:00
John Gilmore
96e0dd9633 Initial revision 1991-09-12 21:13:48 +00:00
Roland Pesch
b5493bc4c8 Thu Sep 12 14:07:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* Makefile.in: $(MAKE) for make, $(docdir) for doc
	* doc/Makefile: redundant dependencies for Sun-make VPATH bug
1991-09-12 21:08:51 +00:00
Roland Pesch
ff2e185071 Per J Gilmore's advice, include redundant dependencies to get around
Sun-make VPATH bug.
1991-09-12 21:04:21 +00:00
John Gilmore
f053b34fe8 * aoutf1.h (sunos4_core_file_p): Release the right storage in error case.
(sunos4_core_file_matches_executable_p):  Fix header comparison.
* aoutx.h:  Avoid shifts of 32 bits, undefined in C.  Lint.
* bout.c, icoff.c, ieee.c, libbfd.c, oasys.c:  gcc -O -W lint.
1991-09-11 04:49:53 +00:00
John Gilmore
12e7087f53 Allow GDB to patch object files.
Makefile.in:  Add crude dependencies.
1991-09-04 07:52:46 +00:00
K. Richard Pixley
01f0a88e4c Added "recover"'ability. 1991-09-04 03:59:15 +00:00
Steve Chamberlain
10effd407e Fixed the line break as a test for cvs ci. 1991-09-03 22:43:19 +00:00
K. Richard Pixley
48543e053a "recover" aoutx.h 1991-09-03 22:21:30 +00:00
Steve Chamberlain
c67056970a *** empty log message *** 1991-09-03 20:48:27 +00:00
Stu Grossman
7307c104b3 Retract last edit. System type should determine whether this file gets loaded
at all.
1991-08-31 02:01:17 +00:00
Stu Grossman
9712c6e200 Merge in irix support. 1991-08-31 00:54:16 +00:00
John Gilmore
20ccfb0996 paperwork handled for AMD Coff. 1991-08-29 00:35:06 +00:00
John Gilmore
dec35cbe8c Add none. 1991-08-23 23:31:39 +00:00
K. Richard Pixley
8b204e6ea4 add email address for bugs and additions. 1991-08-23 22:38:25 +00:00
John Gilmore
68b7021279 * configure.in: Tix typo.
* ecoff.c:  If compiling for DEC3100, use trad_unix core files,
        else dummy out the core file support.
        * trad-core.c (trad_unix_core_file_p):  If HOST_DATA_START_ADDR is
        specified, use it to locate the data section.
        * coffcode.h (coff_write_symbols):  Declare buffer as bfd_bytes
        rather than as chars (lint).
1991-08-23 20:55:23 +00:00
John Gilmore
08059d8470 Initial revision 1991-08-23 09:06:52 +00:00
John Gilmore
4f8b86271e Make SunOS core files work right -- from both sun3 and sun4.
Also, make them work on any other host system.
1991-08-23 07:24:32 +00:00
Stu Grossman
7d003262a7 saber 1991-08-23 05:26:06 +00:00
K. Richard Pixley
69e87de278 Minor config polish. 1991-08-23 04:50:56 +00:00
K. Richard Pixley
a71bfbcc75 Minor polish & config mapping. 1991-08-23 03:31:44 +00:00
Roland Pesch
aa69ff846c Make info file compileable and (barely) navigable. More cleanup needed. 1991-08-22 21:25:20 +00:00
Roland Pesch
0b09cb5b8c Initial revision 1991-08-22 21:25:16 +00:00
Steve Chamberlain
86835b0121 *** empty log message *** 1991-08-22 20:23:12 +00:00
Steve Chamberlain
80d29884b8 Initial revision 1991-08-22 19:56:14 +00:00
Roland Pesch
d51d16c8e6 *** empty log message *** 1991-08-22 18:32:01 +00:00
Roland Pesch
5699626214 bfd.texinfo: some cleanup, reincorporated more intro matter from bfd.doc
bfd.c, targets.c: minor rewording of doc segments
1991-08-22 18:26:59 +00:00
John Gilmore
80d8c0258f Add hp 300 BSD. 1991-08-22 08:01:20 +00:00
John Gilmore
fa5578031d New config.sub 1991-08-22 07:31:21 +00:00
John Gilmore
901c5bfd54 Improve our Sanity. 1991-08-22 07:20:49 +00:00
K. Richard Pixley
4dfe09da09 Three part names, etc. 1991-08-22 07:15:49 +00:00
K. Richard Pixley
4f18392953 Initial revision 1991-08-22 07:15:48 +00:00
Roland Pesch
a7f538ebd1 Wed Aug 21 14:33:06 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* Makefile.in: use targets "bfd.dvi" and "bfd.ps" instead of
	texdoc and psdoc; make these depend on generated .texi's

	* scanit, (new) unPROTO: turn PROTO macros into ANSI declarations in
	doc

	* bfd.c, reloc.c, syms.c: minor spelling/wording fixes in doc
	portions
1991-08-22 00:13:22 +00:00
Roland Pesch
ab6db9b498 Initial revision 1991-08-22 00:13:19 +00:00
Roland Pesch
dd260c230b Wed Aug 21 14:33:06 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* Makefile.in, awkscan-ip, awkscan-p, intobfd,
	libbfd.h, libcoff.h, tolibcoff; new bfd-in.h, libbfd-in.h,
	libcoff-in.h: (a) use separate files for invariant parts of bfd.h,
	libbfd.h, and libcoff.h; (b) in generated parts of same, use less
	obtrusive marks indicating .c origins.

	* bfd.texinfo: generalize most references to linker
1991-08-21 21:37:39 +00:00
John Gilmore
c6e7b0ede0 Declare dependency even for optional modules. 1991-08-21 04:07:18 +00:00
Roland Pesch
a92b9db33c Tue Aug 20 15:18:02 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* Makefile.in: include core.p in PROTOS (building better bfd.h)
	* archures.c: remove empty foo() definition (crept in at vn1.9)
1991-08-20 22:23:49 +00:00
K. Richard Pixley
f0b9c97662 revisiting error messages 1991-08-20 04:56:47 +00:00
Roland Pesch
188d6d224e Fixed minor typos. 1991-08-19 23:03:12 +00:00
Roland Pesch
6724ff46c8 Mon Aug 19 13:48:22 1991 Roland H. Pesch (pesch at cygint.cygnus.com)
* aoutx.h, archive.c, archures.c, bfd.c, bfd.texinfo, cache.c,
	coffcode.h, core.c, format.c, libbfd.c, libbfd.h, libcoff.h,
	opncls.c, reloc.c, section.c, syms.c, targets.c (documentation
	segments): used BFD (caps) more consistently as a name in
	discourse, fixed a few other minor typos and uses of fonts
1991-08-19 20:52:38 +00:00
Steve Chamberlain
d33cfbd8c1 *** empty log message *** 1991-08-17 00:23:43 +00:00
Steve Chamberlain
fd1860075e *** empty log message *** 1991-08-17 00:22:24 +00:00
Steve Chamberlain
d3f2a82c81 *** empty log message *** 1991-08-17 00:20:52 +00:00
Steve Chamberlain
39db05ea11 *** empty log message *** 1991-08-17 00:19:43 +00:00
Steve Chamberlain
c618de01c1 Documentation 1991-08-17 00:17:15 +00:00
Steve Chamberlain
90f3f3e2b0 Initial revision 1991-08-17 00:16:57 +00:00
Steve Chamberlain
3a26c0cd00 Doc changes 1991-08-17 00:09:20 +00:00
Steve Chamberlain
0b5311ca6d Initial revision 1991-08-17 00:01:23 +00:00
K. Richard Pixley
21c9f6261a Added fatal checks for missing host and target makefile fragments. 1991-08-14 22:10:12 +00:00
John Gilmore
1fc712b856 *** empty log message *** 1991-08-14 02:25:22 +00:00
Steve Chamberlain
7a8b18b6ab Fixed bug where stringtable size wasn't being swapped. 1991-08-08 23:48:27 +00:00
K. Richard Pixley
7f281dcbe4 Correcting a prototype for gcc. 1991-08-06 20:35:15 +00:00
K. Richard Pixley
4101d86838 Host-level GNUmakefiles. 1991-08-06 19:12:55 +00:00
Steve Chamberlain
88dfcd6832 Added support for constructors, warnings and indirects 1991-08-01 23:35:05 +00:00
Steve Chamberlain
e961483fd7 *** empty log message *** 1991-08-01 14:37:51 +00:00
Steve Chamberlain
283dd2d43f Initial revision 1991-08-01 14:37:46 +00:00
John Gilmore
fab4b2d308 Forgot one more place to remove amdcoff.c reference (sigh). 1991-08-01 05:33:39 +00:00
Steve Chamberlain
d1c6102119 Makefile, libcoff:
The stuff after the comment /* THE FOLLOWING IS EXTRACTED ... */ is
removed from the header files, so the header files broke themselves.
This is now fixed because the description is split over two lines. Not
a great way. I'll fix it better soon.

bfd.doc bfd.texinfo. Merged what was usefull into bfd.texinfo and
deleted bfd.doc.
1991-08-01 02:38:17 +00:00
John Gilmore
3c123e2406 Delete CVS.adm from the release! 1991-08-01 01:27:44 +00:00
John Gilmore
96d3844040 Remove archures.h 1991-07-31 22:28:30 +00:00
Roland Pesch
fd64402540 Fixed copyright notices (FSF, not Cygnus; invoke, rather than refer to
an included copy of, GPL).
1991-07-31 21:54:56 +00:00
Steve Chamberlain
ed0a73950b Updated TODO.
Wrote a small Memory Usage section in bfd.texinfo
1991-07-31 20:19:16 +00:00
John Gilmore
de02577e97 Remove amdcoff.c (and its name from Makefile.in) by default, because
its copyright is not yet assigned to FSF.
1991-07-31 17:37:02 +00:00
John Gilmore
3c8a3c56e4 * all files: update copyright notices for GPL version 2.
Install header comments and attribute most modules to their
	authors.  BFD's name is now officially "Binary File Descriptor",
	so remove any conflicting perjoratives.
1991-07-31 16:58:05 +00:00
John Gilmore
6dadbcb63c Some of these things are already done. More are probably done,
but I am not sure.  Check w/Steve.
1991-07-31 08:30:37 +00:00
John Gilmore
990778eefa It's the Binary, not Big, file descriptor library. 1991-07-31 08:08:36 +00:00
John Gilmore
446545dd85 Better sanitize aoutx.h too! 1991-07-31 07:54:31 +00:00
Steve Chamberlain
67c060c306 Fixed memory trampling problem 1991-07-31 00:37:09 +00:00
Steve Chamberlain
3a278e0450 *** empty log message *** 1991-07-27 01:31:02 +00:00
Steve Chamberlain
f4d2c0bb48 *** empty log message *** 1991-07-27 01:24:40 +00:00
Steve Chamberlain
87059abb6b *** empty log message *** 1991-07-27 01:14:16 +00:00
John Gilmore
fcab31c12a Add h-rtbsd.h. 1991-07-24 00:59:57 +00:00
John Gilmore
21a56d6d5e Roll in configure that handles GDB. 1991-07-20 00:56:41 +00:00
Steve Chamberlain
ac677dad95 Patches from David Wood 1991-07-19 15:29:16 +00:00
Steve Chamberlain
c1c70e6894 Initial revision 1991-07-19 15:29:14 +00:00
Steve Chamberlain
2f8d9c1c08 * newsos3.c, targets.c, coffcode.h: new patches from David
Wood
1991-07-19 15:17:55 +00:00
Steve Chamberlain
81f3996f75 *** empty log message *** 1991-07-19 14:21:19 +00:00
Steve Chamberlain
d25efc25a6 *** empty log message *** 1991-07-16 21:38:39 +00:00
Steve Chamberlain
8fd6eb087b Added #define for special gdb coff entry points 1991-07-16 16:12:29 +00:00
Steve Chamberlain
ee32cba6ce *** empty log message *** 1991-07-16 13:46:17 +00:00
Steve Chamberlain
fb1c44811d *** empty log message *** 1991-07-16 00:39:03 +00:00
Steve Chamberlain
a4c407e5b9 *** empty log message *** 1991-07-16 00:35:56 +00:00
Steve Chamberlain
2013f9b4e1 Initial revision 1991-07-15 23:43:15 +00:00
Steve Chamberlain
a737c70bde *** empty log message *** 1991-07-15 23:41:06 +00:00
Steve Chamberlain
41f50af07b * aoutf1.h archive.c bfd.c coffcode.h core.c ecoff.c ieee.c
bfd.texinfo oasys.c opncls.c reloc.c srec.c: More documentation on
lint fixes.

* amdcoff.c bfd.texinfo Makefile.in : Folded in changes for amd
29k coff by David Wood (wood@lab.ultra.nyu.edu).
1991-07-15 23:30:28 +00:00
John Gilmore
8acc9e0558 Avoid "statement not reached" error. 1991-07-09 02:36:38 +00:00
Steve Chamberlain
27d9b689bf Added core.c prototypes to bfd.h 1991-07-06 23:46:01 +00:00
John Gilmore
295cce3ca6 Use set_tdata to set the ieee tdata field, avoiding casting left of
assignment.
1991-07-06 08:37:45 +00:00
John Gilmore
ca18a446bc Add comment about commented-out bfd_release calls. 1991-07-06 02:33:08 +00:00
Steve Chamberlain
6f7912b9fb Modified fctnl proto 1991-07-04 17:00:42 +00:00
Steve Chamberlain
7a276b09e5 *** empty log message *** 1991-07-04 16:56:17 +00:00
Steve Chamberlain
6f715d66ad Now full of documentation. Yum Yum. 1991-07-04 16:52:56 +00:00
Steve Chamberlain
985fca1293 Initial revision 1991-07-04 16:52:19 +00:00
Steve Chamberlain
e6129e2bc2 Made it better 1991-06-14 20:50:29 +00:00
K. Richard Pixley
a01bf1fbc1 added support for binary comparisons. 1991-06-09 20:27:20 +00:00
Sean Eric Fagan
2099685bad Added code to deal with filenames less than 9 characters in a COFF file. 1991-06-07 19:37:42 +00:00
Steve Chamberlain
357a1f38a5 *** empty log message *** 1991-06-07 01:32:45 +00:00
John Gilmore
141c97eac7 Remove coff-code.h and liba.out.h, add libaout.h. 1991-05-31 11:22:12 +00:00
Steve Chamberlain
3df049722c *** empty log message *** 1991-05-30 23:57:00 +00:00
Steve Chamberlain
2700c3c75a *** empty log message *** 1991-05-30 22:33:01 +00:00
John Gilmore
924bbb3815 Remove coff-code.h in favor of coffcode.h. 1991-05-29 02:52:34 +00:00
John Gilmore
359f1dee91 Rename liba.out.h to libaout.h for brain death file systems. Change callers. 1991-05-29 02:44:10 +00:00
John Gilmore
8c1891af65 Fix up .Sanitize file, remove files that are not referenced. 1991-05-29 02:40:08 +00:00
John Gilmore
a5b00362e8 Undo Bothner changes that depend on pointer representation. 1991-05-29 00:38:52 +00:00
John Gilmore
c0e5039e64 Merge in changes from gdb-3.95 release into mainstream of BFD development.
Support defaulted (search all) targets and specific (only check one)
targets.
1991-05-29 00:20:02 +00:00
K. Richard Pixley
45021feed4 I think this gets symdefs right for at least sunos. Also now swaps
symdefs.
1991-05-27 20:58:20 +00:00
K. Richard Pixley
6c18e39366 fixed a bug in multiple targets 1991-05-27 20:54:50 +00:00
Steve Chamberlain
8c556488d1 Updated
#
1991-05-25 01:58:08 +00:00
Steve Chamberlain
67099990bc Fixed to compile on kithrup 1991-05-25 01:52:23 +00:00
Steve Chamberlain
517496c5bc Initial revision 1991-05-25 01:51:54 +00:00
Steve Chamberlain
20fdc627fa Added 386 support! 1991-05-25 01:51:10 +00:00
K. Richard Pixley
08942d11c0 Initial revision 1991-05-23 21:14:00 +00:00
K. Richard Pixley
0fd8d5d963 Initial revision 1991-05-23 17:10:40 +00:00
Steve Chamberlain
5ad1d83042 Not only compiles, but spells _do_getl64 right too 1991-05-22 15:04:00 +00:00
Steve Chamberlain
0f2687577f * libbfd.c: Now compiles
* coffcode.h: removed all put_x_<sizes>
1991-05-22 14:59:10 +00:00
Steve Chamberlain
b75ea0ea93 *** empty log message *** 1991-05-22 14:27:39 +00:00
Steve Chamberlain
536b27a506 Changed #ifdef __GNUC__ to #ifdef HOST_64_BIT
Added DEFUNS
1991-05-22 14:26:59 +00:00
Steve Chamberlain
55a970944c Removed #define obstack_alloc xmalloc pending correct solution 1991-05-21 20:19:08 +00:00
Steve Chamberlain
3b69c2cc91 Changed obstack_chunk_alloc to xmalloc 1991-05-21 15:59:33 +00:00
Steve Chamberlain
4b3720f441 *** empty log message *** 1991-05-21 15:57:42 +00:00
Steve Chamberlain
7ed4093abc *** empty log message *** 1991-05-21 00:14:16 +00:00
John Gilmore
c4cd3fc62e Initial revision 1991-05-19 22:34:40 +00:00
Steve Chamberlain
a3bb31a043 Initial revision 1991-05-18 02:58:02 +00:00
Steve Chamberlain
19b03b7aa4 *** empty log message *** 1991-05-18 02:57:45 +00:00
K. Richard Pixley
1b494bfa15 ar called through parametarizable macro. 1991-05-14 16:30:22 +00:00
K. Richard Pixley
c422030318 see devo/configure 1.11 1991-05-14 14:14:40 +00:00
Steve Chamberlain
a14b9e8aa1 *** empty log message *** 1991-05-13 21:03:08 +00:00
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
99a2aa2cb5 *** empty log message *** 1991-05-13 17:14:49 +00:00
Steve Chamberlain
10be52bffd *** empty log message *** 1991-05-12 07:31:23 +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
Steve Chamberlain
a0a87dd55e *** empty log message *** 1991-05-10 19:44:53 +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
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
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
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
7c884bf003 Jim Kingdon's gdb port to the m88k. 1991-05-04 04:42:18 +00:00
Steve Chamberlain
b63165349f *** empty log message *** 1991-05-03 23:52:48 +00:00
John Gilmore
9c2f3ceeb4 Avoid making a machine-dependent (probably wrong) declaration of malloc
and free.  Depend on the sysdep.h file to do that for us.
1991-05-03 19:25:38 +00:00