diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-06-15 21:44:03 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-06-15 21:44:03 +0000 |
commit | e6858d1b68b64d6bd74121b4423e8007ad3feed3 (patch) | |
tree | ea49adff6821d1e05400375f64e386e84c35f869 | |
parent | 5aef7c67a3054771b0828760a0e3316963a7b73d (diff) | |
download | gdb-e6858d1b68b64d6bd74121b4423e8007ad3feed3.zip gdb-e6858d1b68b64d6bd74121b4423e8007ad3feed3.tar.gz gdb-e6858d1b68b64d6bd74121b4423e8007ad3feed3.tar.bz2 |
(elfNAME, ElfNAME): Use CAT directly rather than going through NAME.
(bfd_elf32_new_section_hook): Declare.
-rw-r--r-- | bfd/libelf.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h index 220fdaf..39c0c20 100644 --- a/bfd/libelf.h +++ b/bfd/libelf.h @@ -28,14 +28,15 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef NAME #if ARCH_SIZE==64 #define NAME(x,y) CAT3(x,64_,y) +#define ElfNAME(X) CAT(Elf64_,X) +#define elfNAME(X) CAT(elf64_,X) #else /* ARCH_SIZE==32 */ #define NAME(x,y) CAT3(x,32_,y) +#define ElfNAME(X) CAT(Elf32_,X) +#define elfNAME(X) CAT(elf32_,X) #endif #endif -#define ElfNAME(X) NAME(Elf,X) -#define elfNAME(X) NAME(elf,X) - typedef struct { asymbol symbol; @@ -119,6 +120,7 @@ extern boolean bfd_elf32_find_nearest_line PARAMS ((bfd *, asection *, unsigned int *)); extern int bfd_elf32_sizeof_headers PARAMS ((bfd *, boolean)); extern unsigned long elf_hash PARAMS ((CONST unsigned char *)); +extern boolean bfd_elf32_new_section_hook PARAMS ((bfd *, asection *)); /* If the target doesn't have reloc handling written yet: */ extern void bfd_elf32_no_info_to_howto PARAMS ((bfd *, arelent *, |