diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-09-07 18:24:31 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-09-07 18:24:31 +0000 |
commit | 838b55955edc0b5761e3cec5d1eb842e7c355aa5 (patch) | |
tree | 33814d08f0815befba3cbf4c40ae902e53a2683d /include/coff | |
parent | 8adcfb97ad106747ac5eb14d50c97540b288e693 (diff) | |
download | gdb-838b55955edc0b5761e3cec5d1eb842e7c355aa5.zip gdb-838b55955edc0b5761e3cec5d1eb842e7c355aa5.tar.gz gdb-838b55955edc0b5761e3cec5d1eb842e7c355aa5.tar.bz2 |
* ecoff.h (AUX_GET_ANY, AUX_PUT_ANY): Changed to reflect further
change in bfd swapping routine names.
Diffstat (limited to 'include/coff')
-rw-r--r-- | include/coff/ChangeLog | 5 | ||||
-rw-r--r-- | include/coff/ecoff.h | 19 |
2 files changed, 8 insertions, 16 deletions
diff --git a/include/coff/ChangeLog b/include/coff/ChangeLog index 74aa409..ecd4c41 100644 --- a/include/coff/ChangeLog +++ b/include/coff/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 7 14:20:43 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * ecoff.h (AUX_GET_ANY, AUX_PUT_ANY): Changed to reflect further + change in bfd swapping routine names. + Tue Sep 7 10:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * ecoff.h (AUX_GET_ANY): Change name of _do_getb32 to reflect bfd diff --git a/include/coff/ecoff.h b/include/coff/ecoff.h index 362c577..81bb818 100644 --- a/include/coff/ecoff.h +++ b/include/coff/ecoff.h @@ -181,18 +181,8 @@ union aux_ext { unsigned char a_count[4]; }; -/* FIXME! These are copied from ../bfd/libbfd.h. They are used by - GDB (mipsread.c). */ -extern bfd_vma _bfd__do_getb32 PARAMS ((unsigned char *addr)); -extern bfd_vma _bfd__do_getl32 PARAMS ((unsigned char *addr)); -#if 0 -/* These don't seem to be used. */ -extern void _do_putb32 PARAMS ((bfd_vma data, unsigned char *addr)); -extern void _do_putl32 PARAMS ((bfd_vma data, unsigned char *addr)); -#endif - #define AUX_GET_ANY(bigend, ax, field) \ - ((bigend) ? _bfd__do_getb32 ((ax)->field) : _bfd__do_getl32 ((ax)->field)) + ((bigend) ? bfd_getb32 ((ax)->field) : bfd_getl32 ((ax)->field)) #define AUX_GET_DNLOW(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_dnLow) #define AUX_GET_DNHIGH(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_dnHigh) @@ -201,12 +191,10 @@ extern void _do_putl32 PARAMS ((bfd_vma data, unsigned char *addr)); #define AUX_GET_WIDTH(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_width) #define AUX_GET_COUNT(bigend, ax) AUX_GET_ANY ((bigend), (ax), a_count) -#if 0 -/* These don't seem to be used. */ #define AUX_PUT_ANY(bigend, val, ax, field) \ ((bigend) \ - ? (_do_putb32 ((val), (ax)->field), 0) \ - : (_do_putl32 ((val), (ax)->field), 0)) + ? (bfd_putb32 ((val), (ax)->field), 0) \ + : (bfd_putl32 ((val), (ax)->field), 0)) #define AUX_PUT_DNLOW(bigend, val, ax) \ AUX_PUT_ANY ((bigend), (val), (ax), a_dnLow) @@ -220,7 +208,6 @@ extern void _do_putl32 PARAMS ((bfd_vma data, unsigned char *addr)); AUX_PUT_ANY ((bigend), (val), (ax), a_width) #define AUX_PUT_COUNT(bigend, val, ax) \ AUX_PUT_ANY ((bigend), (val), (ax), a_count) -#endif /* Prototypes for the swapping functions. These require that sym.h be included before this file. */ |