diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-06-16 01:51:56 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-06-16 01:51:56 +0000 |
commit | c2623b7d30370ede1478e09a5c43dd787b73b72e (patch) | |
tree | 24e9ce403d1addede87a22812304145e08b66d81 /bfd | |
parent | 5edfb67cac9d1d2b1cd8b8990192732e21364c80 (diff) | |
download | gdb-c2623b7d30370ede1478e09a5c43dd787b73b72e.zip gdb-c2623b7d30370ede1478e09a5c43dd787b73b72e.tar.gz gdb-c2623b7d30370ede1478e09a5c43dd787b73b72e.tar.bz2 |
comment branches in ARCH_SIZE test
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/libaout.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/bfd/libaout.h b/bfd/libaout.h index 641b7b1..f063817 100644 --- a/bfd/libaout.h +++ b/bfd/libaout.h @@ -22,29 +22,27 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ variants in a few routines, and otherwise share large masses of code. This means we only have to fix bugs in one place, most of the time. */ -#ifdef __STDC__ -#define CAT3(a,b,c) a##b##c -#else -#define CAT3(a,b,c) a/**/b/**/c -#endif - /* Parameterize the a.out code based on whether it is being built for a 32-bit architecture or a 64-bit architecture. */ #if ARCH_SIZE==64 #define GET_WORD bfd_h_get_64 #define GET_SWORD (int64_type)GET_WORD #define PUT_WORD bfd_h_put_64 +#ifndef NAME #define NAME(x,y) CAT3(x,_64_,y) +#endif #define JNAME(x) CAT(x,_64) #define BYTES_IN_WORD 8 -#else +#else /* ARCH_SIZE == 32 */ #define GET_WORD bfd_h_get_32 #define GET_SWORD (int32_type)GET_WORD #define PUT_WORD bfd_h_put_32 +#ifndef NAME #define NAME(x,y) CAT3(x,_32_,y) +#endif #define JNAME(x) CAT(x,_32) #define BYTES_IN_WORD 4 -#endif +#endif /* ARCH_SIZE==32 */ /* Declare these types at file level, since they are used in parameter lists, which have wierd scope. */ @@ -289,6 +287,10 @@ void NAME(aout,print_symbol) PARAMS ((bfd *ignore_abfd, PTR file, asymbol *symbol, bfd_print_symbol_type how)); +void +NAME(aout,get_symbol_info) PARAMS ((bfd *ignore_abfd, + asymbol *symbol, symbol_info *ret)); + boolean NAME(aout,close_and_cleanup) PARAMS ((bfd *abfd)); |