summaryrefslogtreecommitdiff
path: root/bfd/doc/elf.texi
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/doc/elf.texi')
-rw-r--r--bfd/doc/elf.texi22
1 files changed, 22 insertions, 0 deletions
diff --git a/bfd/doc/elf.texi b/bfd/doc/elf.texi
new file mode 100644
index 00000000000..4f9434cf69d
--- /dev/null
+++ b/bfd/doc/elf.texi
@@ -0,0 +1,22 @@
+@section ELF backends
+BFD support for ELF formats is being worked on.
+Currently, the best supported back ends are for sparc and i386
+(running svr4 or Solaris 2).
+
+Documentation of the internals of the support code still needs
+to be written. The code is changing quickly enough that we
+haven't bothered yet.
+
+@findex bfd_elf_find_section
+@subsubsection @code{bfd_elf_find_section}
+@strong{Synopsis}
+@example
+struct elf_internal_shdr *bfd_elf_find_section (bfd *abfd, char *name);
+@end example
+@strong{Description}@*
+Helper functions for GDB to locate the string tables.
+Since BFD hides string tables from callers, GDB needs to use an
+internal hook to find them. Sun's .stabstr, in particular,
+isn't even pointed to by the .stab section, so ordinary
+mechanisms wouldn't work to find it, even if we had some.
+