diff options
author | Steve Chamberlain <steve@cygnus> | 1991-10-11 19:39:29 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-10-11 19:39:29 +0000 |
commit | 0d740984208c34b7a2a2a203f620662346794679 (patch) | |
tree | ca125d883068884c05ab51ba57c46b90a635eec7 /bfd/targets.c | |
parent | c97b47fec28bd63fc42633eff519ff87220089ff (diff) | |
download | gdb-0d740984208c34b7a2a2a203f620662346794679.zip gdb-0d740984208c34b7a2a2a203f620662346794679.tar.gz gdb-0d740984208c34b7a2a2a203f620662346794679.tar.bz2 |
* bfd-in.h: Added more macros to COFF_SWAP_TABLE.
* bfd.c: Added macros to enable gas to swap coff records.
* coffcode.h: Make the coff_swap_*_out routines return the number
of bytes swapped, and cleaned up their prototypes.
* configure.in: Added ebmon/coff support
* ecoff.c: Changed null definitions of coff_swap_*_out to conform
to new prototypes
* targets.c: Added new entry points for coff swapping
Diffstat (limited to 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index 192dda3..df4ffee 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -277,6 +277,46 @@ $ bfd *abfd, $ PTR ext, $ PTR in)); $ + +Special entry points for gas to swap coff parts + +$ SDEF(unsigned int, _bfd_coff_swap_aux_out,( +$ bfd *abfd, +$ PTR in, +$ int type, +$ int class, +$ PTR ext)); +$ +$ SDEF(unsigned int, _bfd_coff_swap_sym_out,( +$ bfd *abfd, +$ PTR in, +$ PTR ext)); +$ +$ SDEF(unsigned int, _bfd_coff_swap_lineno_out,( +$ bfd *abfd, +$ PTR in, +$ PTR ext)); +$ +$ SDEF(unsigned int, _bfd_coff_swap_reloc_out,( +$ bfd *abfd, +$ PTR src, +$ PTR dst)); +$ +$ SDEF(unsigned int, _bfd_coff_swap_filehdr_out,( +$ bfd *abfd, +$ PTR in, +$ PTR out)); +$ +$ SDEF(unsigned int, _bfd_coff_swap_aouthdr_out,( +$ bfd *abfd, +$ PTR in, +$ PTR out)); +$ +$ SDEF(unsigned int, _bfd_coff_swap_scnhdr_out,( +$ bfd *abfd, +$ PTR in, +$ PTR out)); +$ $} bfd_target; *--- |