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
John Gilmore
09a98ceece
Be sure malloc and free are declared; bfd/opncls uses them.
1991-05-03 19:24:18 +00:00
Jim Kingdon
6f48f7f198
(osys_read_record): If record->header.lenth <= sizeof (record->header),
...
then return rather than passing a negative (or zero) nelts to bfd_read.
1991-05-03 05:56:58 +00:00
Jim Kingdon
ede87e2901
Make arg to zalloc a bfd_size_type not a size_t
1991-05-03 01:59:25 +00:00
John Gilmore
23b0b55855
Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)
...
and make the result compile and run on the DEC 3100. It still has
trouble running but it can handle opening exec and symbol files in
ecoff format.
1991-05-02 23:10:23 +00:00
John Gilmore
9b4641a629
Make it compile on DEC 3100.
1991-05-02 21:27:31 +00:00
John Gilmore
1e6d5d3023
Minor cleanup to make it compile on DECstation.
1991-05-02 21:22:43 +00:00
John Gilmore
f7895c8750
Merge devo/bfd with GDB's bfd.
1991-05-02 04:37:41 +00:00
John Gilmore
fc7233808a
Merge devo/bfd with GDB's bfd.
...
Remove obstack.h to ../include and obstack.c to ../libiberty.
Move COFF symbol swapping code to coffswap.c where GDB can call it but it
won't be duplicated if we have N different COFF targets.
Add support for traditional Unix core files (with a upage). This support
is from an Ultrix port, but is probably slightly broken now.
Improve bfd_release's of obstack'd items on error returns.
gcc -Wall fixes.
Handle section alignment slightly better in coff, and comment where it
needs more work (on page-aligning virtual vs file addresses for DPAGED).
Use set_tdata everywhere that tdata is set, to avoid "cast to the left
of assignment" problems with some compilers.
Move bfd_alloc, bfd_zalloc, bfd_realloc, and bfd_release into libbfd.h
(from bfd.h) since they are internal routines.
Remove the redundant suffix "_struct" from struct tags.
Set symbol count early in file reading, before slurping in the syms,
for GDB's use.
1991-05-02 04:11:40 +00:00
John Gilmore
ff37ea550b
Initial revision
1991-05-02 04:11:17 +00:00
John Gilmore
44954de0f6
Replace all 5 BFD_FAILURE's with false's.
1991-04-26 16:32:55 +00:00
John Gilmore
d6a554ae83
Minor changes to accomodate merging of three include file directories.
1991-04-25 04:22:55 +00:00
John Gilmore
a6ac0c5998
Fix minor pointer type problems that "cc" complains about.
1991-04-25 04:06:21 +00:00
Steve Chamberlain
453063fec9
Added some depdenencies and fixed etags
1991-04-24 20:52:21 +00:00
Steve Chamberlain
4cddd1c904
Changed the shape of the howto type yet again.
...
Now m88kbcs support can self host.
1991-04-24 20:51:27 +00:00
Steve Chamberlain
39a2ce33d7
*** empty log message ***
1991-04-23 22:44:20 +00:00
Steve Chamberlain
9872a49c27
*** empty log message ***
1991-04-23 16:02:09 +00:00
Steve Chamberlain
a37cc0c05c
*** empty log message ***
1991-04-23 15:59:24 +00:00
Steve Chamberlain
1327fb2956
Initial revision
1991-04-23 15:59:23 +00:00
K. Richard Pixley
7d774e0167
Working toward configuring targets.
1991-04-18 01:55:45 +00:00
K. Richard Pixley
5176a6bcd8
Some cleanup and some new targets.
1991-04-18 01:51:01 +00:00
K. Richard Pixley
a6dab0710c
Killed a few warnings.
1991-04-18 01:50:06 +00:00
Steve Chamberlain
301dfc71d4
Stuff
1991-04-17 23:19:27 +00:00
K. Richard Pixley
04dc1a6246
Fixed a problem with host dependent parts.
1991-04-17 01:41:32 +00:00
Steve Chamberlain
2a525d0c6c
Changed bad call of fstat to stat
1991-04-17 00:56:25 +00:00
Steve Chamberlain
1f4d3c7911
Cosmetic changes to bfd_perform_relocation
1991-04-17 00:56:02 +00:00
Steve Chamberlain
3874a23cde
Some changes from chrisb and some more DEFUNS.
...
Also some work on C_FILE stuff, which still doesn't work correctly.
1991-04-17 00:55:46 +00:00
Steve Chamberlain
3e9aade183
Lots of fixes to make it work
1991-04-17 00:54:03 +00:00
Steve Chamberlain
4432f8ad29
Fixed some casts
1991-04-17 00:53:06 +00:00
K. Richard Pixley
b5132a6b85
Now handles multiple hosts and targets.
1991-04-16 00:04:50 +00:00
Steve Chamberlain
660f21b7de
Initial revision
1991-04-15 15:29:40 +00:00
Steve Chamberlain
9846338e68
Merged in some changes from Intel,
...
Added some more prototypes.
1991-04-15 15:25:16 +00:00
Steve Chamberlain
aa802a3246
Just before a merge with chrisbs stuff
1991-04-14 02:23:48 +00:00
K. Richard Pixley
ec342d7d9a
Config cut 3. We now almost install a29k.
1991-04-13 02:12:45 +00:00
K. Richard Pixley
f2e91404e7
Cut 2. Subdirs.
1991-04-10 22:56:51 +00:00
Steve Chamberlain
03466f17b7
*** empty log message ***
1991-04-09 23:25:49 +00:00
K. Richard Pixley
a9c7e163af
First minimally usable checkin.
1991-04-09 23:20:12 +00:00
Steve Chamberlain
de7c1ff613
*** empty log message ***
1991-04-08 23:26:05 +00:00
K. Richard Pixley
726cc6ef80
Added little endian a.out.
1991-04-08 16:02:27 +00:00
Steve Chamberlain
4e1dc65681
Fixed bug where abs symbols wern't being placed into the right bit of
...
the symbol table.
1991-04-04 22:22:23 +00:00
K. Richard Pixley
99a42820d9
Initial revision
1991-04-04 18:37:36 +00:00
Steve Chamberlain
b6fc45ca4c
*** empty log message ***
1991-04-04 17:55:47 +00:00
Steve Chamberlain
f61d204a35
*** empty log message ***
1991-04-04 15:34:09 +00:00
David Henkel-Wallace
37a1fd96b7
Minor format fixes.
1991-04-04 14:56:42 +00:00
David Henkel-Wallace
14f6fdb6c8
*** empty log message ***
1991-04-04 05:15:05 +00:00
David Henkel-Wallace
aacf30e313
*** empty log message ***
1991-04-04 02:12:29 +00:00
David Henkel-Wallace
87f86b4ec6
Initial revision
1991-04-04 02:12:28 +00:00
Steve Chamberlain
e4a0e98e2b
Initial revision
1991-04-03 22:19:10 +00:00
Steve Chamberlain
0da5b97eb1
Moved the #defines into bfd.h long ago
1991-04-03 22:11:21 +00:00
Steve Chamberlain
36773af51a
Fixed typo
1991-04-03 22:10:51 +00:00
Steve Chamberlain
cec2111e47
Added dgux stuff
1991-04-03 22:10:10 +00:00
Steve Chamberlain
0452b5aacf
Various noise
1991-04-03 22:09:43 +00:00
Steve Chamberlain
a7fe4c5997
Initial revision
1991-04-03 22:08:46 +00:00
Steve Chamberlain
4bf6219f87
Added ansidecl.h
1991-04-03 22:07:29 +00:00
Steve Chamberlain
c93595dd1c
Added sun3 support
1991-04-03 22:06:25 +00:00
Steve Chamberlain
8daa713142
the famous 'disasm' bug fix.
1991-04-03 22:05:58 +00:00
Steve Chamberlain
067605b0fe
removed some obsolete stuff
1991-03-26 20:49:02 +00:00
Steve Chamberlain
d6aa3fb01a
Fixes for ChrisB
1991-03-26 20:31:47 +00:00
David Henkel-Wallace
6fd9467324
Back from Intel with Steve
1991-03-21 21:11:26 +00:00
David Henkel-Wallace
4a81b56152
Initial revision
1991-03-21 21:11:25 +00:00