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.
36 years ago
John Gilmore
8b0328dba3
Lint.
36 years ago
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.
36 years ago
John Gilmore
69ebee8678
Split up a.out handlers into generic and target-specific.
Remove close_and_cleanup. Lint.
36 years ago
John Gilmore
ed9c0d48e0
Eliminate close_and_cleanup routines.
36 years ago
Steve Chamberlain
a0a87dd55e
*** empty log message ***
36 years ago
Steve Chamberlain
9dce1776b6
Initial revision
36 years ago
Steve Chamberlain
cdd896f940
*** empty log message ***
36 years ago
Steve Chamberlain
c407897e2f
Added 68kcoff
36 years ago
Steve Chamberlain
77a7985cb0
Test new structure exporting code with 68k coff implementaion.
36 years ago
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.
36 years ago
Steve Chamberlain
af773d1b0f
It's new and improved
36 years ago
John Gilmore
66b510f652
* coff-code.h: Remove coff_get_section_contents, and use the
generic one instead.
36 years ago
John Gilmore
ce3f6d51b0
* ieee.c: Cast enums to int before comparing them, for brain-
dead compilers.
36 years ago
John Gilmore
2203f786c8
Add bfd_generic_get_section_contents.
36 years ago
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.
36 years ago
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.
36 years ago
Steve Chamberlain
a0ad303552
Lint
36 years ago
Steve Chamberlain
d0ec7a8ee4
Various portability lints.
Fixed reloc bug in ieee and oasys.
36 years ago
Steve Chamberlain
a5c6b4b3b5
Added make dep rule.
When configure is used, the created makefile will have all the
dependencies filled in.
36 years ago
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.
36 years ago
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...)
36 years ago
John Gilmore
f929c7d43b
Saber C fixups.
36 years ago
John Gilmore
7c884bf003
Jim Kingdon's gdb port to the m88k.
36 years ago
Steve Chamberlain
b63165349f
*** empty log message ***
36 years ago
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.
36 years ago
John Gilmore
09a98ceece
Be sure malloc and free are declared; bfd/opncls uses them.
36 years ago
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.
36 years ago
Jim Kingdon
ede87e2901
Make arg to zalloc a bfd_size_type not a size_t
36 years ago
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.
36 years ago
John Gilmore
9b4641a629
Make it compile on DEC 3100.
36 years ago
John Gilmore
1e6d5d3023
Minor cleanup to make it compile on DECstation.
36 years ago
John Gilmore
f7895c8750
Merge devo/bfd with GDB's bfd.
36 years ago
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.
36 years ago
John Gilmore
ff37ea550b
Initial revision
36 years ago
John Gilmore
44954de0f6
Replace all 5 BFD_FAILURE's with false's.
36 years ago
John Gilmore
d6a554ae83
Minor changes to accomodate merging of three include file directories.
36 years ago
John Gilmore
a6ac0c5998
Fix minor pointer type problems that "cc" complains about.
36 years ago
Steve Chamberlain
453063fec9
Added some depdenencies and fixed etags
36 years ago
Steve Chamberlain
4cddd1c904
Changed the shape of the howto type yet again.
Now m88kbcs support can self host.
36 years ago
Steve Chamberlain
39a2ce33d7
*** empty log message ***
36 years ago
Steve Chamberlain
9872a49c27
*** empty log message ***
36 years ago
Steve Chamberlain
a37cc0c05c
*** empty log message ***
36 years ago
Steve Chamberlain
1327fb2956
Initial revision
36 years ago
K. Richard Pixley
7d774e0167
Working toward configuring targets.
36 years ago
K. Richard Pixley
5176a6bcd8
Some cleanup and some new targets.
36 years ago
K. Richard Pixley
a6dab0710c
Killed a few warnings.
36 years ago
Steve Chamberlain
301dfc71d4
Stuff
36 years ago
K. Richard Pixley
04dc1a6246
Fixed a problem with host dependent parts.
36 years ago
Steve Chamberlain
2a525d0c6c
Changed bad call of fstat to stat
36 years ago