diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-08-06 19:29:57 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-08-06 19:29:57 +0000 |
commit | 153cb9ade30b4dac43a888788c5069bb2789883e (patch) | |
tree | a00fa4252bcc215c33233e626c616b9dc8668341 /bfd/libelf.h | |
parent | b114e49215793566e297db6362836e12b701f476 (diff) | |
download | gdb-153cb9ade30b4dac43a888788c5069bb2789883e.zip gdb-153cb9ade30b4dac43a888788c5069bb2789883e.tar.gz gdb-153cb9ade30b4dac43a888788c5069bb2789883e.tar.bz2 |
* libelf.h (NAME): Provide a default definition, that's neither
for 32 bits nor for 64.
Tue Jun 15 14:38:32 1993 Michael Meissner (meissner@osf.org)
* libelf.h (elf_hash): Change declaration to bfd_elf_hash, since
that is what is in elf.c.
Diffstat (limited to 'bfd/libelf.h')
-rw-r--r-- | bfd/libelf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h index 610af8a..1f0f1a5 100644 --- a/bfd/libelf.h +++ b/bfd/libelf.h @@ -35,6 +35,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #endif #endif +#ifndef NAME +#define NAME(x,y) CAT4(x,NOSIZE,_,y) +#endif + #define ElfNAME(X) NAME(Elf,X) #define elfNAME(X) NAME(elf,X) @@ -170,7 +174,7 @@ extern char * elf_get_str_section PARAMS ((bfd *, unsigned)); #define bfd_elf64_mkobject bfd_elf_mkobject #define elf_mkobject bfd_elf_mkobject -extern unsigned long elf_hash PARAMS ((CONST unsigned char *)); +extern unsigned long bfd_elf_hash PARAMS ((CONST unsigned char *)); extern bfd_reloc_status_type bfd_elf_generic_reloc PARAMS ((bfd *, arelent *, |