aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-06-20 02:04:20 +0000
committerJohn Gilmore <gnu@cygnus>1992-06-20 02:04:20 +0000
commit796aae470c86ac66dd43c452485dbb090d7b5370 (patch)
tree11028b2941fab39fb621838324ef542acc6262cb /bfd/libbfd.h
parent76b731f9ae672395bd6f5ef504c15d4813bce47c (diff)
downloadbinutils-796aae470c86ac66dd43c452485dbb090d7b5370.zip
binutils-796aae470c86ac66dd43c452485dbb090d7b5370.tar.gz
binutils-796aae470c86ac66dd43c452485dbb090d7b5370.tar.bz2
* elf.c (bfd_elf_find_section): Mark as INTERNAL_FUNCTION so
its prototype will be included in libbfd.h. Change result type to struct * (rather than equivalent typedef) so it can be used in the prototype, where they typedef won't be known. * libbfd.h: Updated version.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index 3b4f2c3..1f3de87 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -219,7 +219,8 @@ boolean EXFUN(bfd_generic_relax_section
asymbol **symbols));
bfd_byte *
EXFUN(bfd_generic_get_relocated_section_contents, (bfd *abfd,
- struct bfd_seclet_struct *seclet)
+ struct bfd_seclet_struct *seclet,
+ bfd_byte *data)
);
extern bfd_arch_info_type bfd_default_arch_struct;
@@ -232,3 +233,4 @@ CONST bfd_arch_info_type *EXFUN(bfd_default_compatible
, (CONST bfd_arch_info_type *a,
CONST bfd_arch_info_type *b));
boolean EXFUN(bfd_default_scan, (CONST struct bfd_arch_info *, CONST char *));
+struct elf_internal_shdr *EXFUN(bfd_elf_find_section , (bfd *abfd, char *name));