From 153cb9ade30b4dac43a888788c5069bb2789883e Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 6 Aug 1993 19:29:57 +0000 Subject: [PATCH] * 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. --- bfd/ChangeLog | 15 +++++++++++++++ bfd/libelf.h | 6 +++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 910886655dd..ab2b7f485da 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +Fri Aug 6 15:13:22 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + + * 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. + Fri Aug 6 12:28:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * Makefile.in (coff-mips.o, coff-alpha.o): Don't depend on @@ -15,6 +25,8 @@ Fri Aug 6 09:59:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com) Thu Aug 5 13:22:44 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) + * aoutx.h (log2): Delete i387-specific code. + * Makefile.in (BFD_LIBS): Always include elf.o. (BFD32_BACKENDS): Don't include elf.o here. (ofiles): Delete references to ofiles2 and ofiles3. @@ -45,6 +57,9 @@ Thu Aug 5 13:22:44 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) bfd_elf32_hash, since the hash table is independent of the 32/64 bit system. + * libelf.h (elf_hash): Change declaration to bfd_elf_hash, since + that is what is in elf.c. + Sat Jun 19 10:12:27 1993 Michael Meissner (meissner@osf.org) * elf32-i386.h (reloc_type): Reformat spacing. diff --git a/bfd/libelf.h b/bfd/libelf.h index 610af8a630a..1f0f1a5078f 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 *, -- 2.30.2