aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1992-12-30 02:48:29 +0000
committerKen Raeburn <raeburn@cygnus>1992-12-30 02:48:29 +0000
commitc3efeb9248ef37872670060c95454eb44610298b (patch)
tree0e7833e0c2e5fe4438a6165dd108787f52b9b5bc
parent1a917f544aa46fdf5259362fe0d23d8301db8fb8 (diff)
downloadgdb-c3efeb9248ef37872670060c95454eb44610298b.zip
gdb-c3efeb9248ef37872670060c95454eb44610298b.tar.gz
gdb-c3efeb9248ef37872670060c95454eb44610298b.tar.bz2
fix libbfd.h declaration, by tweaking elf.c comment, so bfd can compile
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1907346..6a17ba4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Tue Dec 29 21:41:05 1992 Ken Raeburn (raeburn@cambridge.cygnus.com)
+
+ * elf.c (bfd_elf_find_section): Switch back to "struct ..." for
+ return type, so libbfd.h doesn't reference undefined typedefnames.
+
Tue Dec 29 13:54:35 1992 Ian Lance Taylor (ian@cygnus.com)
* coffcode.h (coff_real_object_p): use name I386AIXMAGIC rather
diff --git a/bfd/elf.c b/bfd/elf.c
index d6b28d3..c3836f9 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -345,7 +345,7 @@ INTERNAL_FUNCTION
bfd_elf_find_section
SYNOPSIS
- Elf_Internal_Shdr *bfd_elf_find_section (bfd *abfd, char *name);
+ struct elf_internal_shdr *bfd_elf_find_section (bfd *abfd, char *name);
DESCRIPTION
Helper functions for GDB to locate the string tables.
@@ -355,7 +355,7 @@ DESCRIPTION
mechanisms wouldn't work to find it, even if we had some.
*/
-Elf_Internal_Shdr *
+struct elf_internal_shdr *
DEFUN(bfd_elf_find_section, (abfd, name),
bfd *abfd AND
char *name)