xref: /openbsd-src/gnu/usr.bin/binutils-2.17/bfd/doc/elf.texi (revision 3d8817e467ea46cf4772788d6804dd293abfb01a)
1*3d8817e4Smiod@section ELF backends
2*3d8817e4SmiodBFD support for ELF formats is being worked on.
3*3d8817e4SmiodCurrently, the best supported back ends are for sparc and i386
4*3d8817e4Smiod(running svr4 or Solaris 2).
5*3d8817e4Smiod
6*3d8817e4SmiodDocumentation of the internals of the support code still needs
7*3d8817e4Smiodto be written.  The code is changing quickly enough that we
8*3d8817e4Smiodhaven't bothered yet.
9*3d8817e4Smiod
10*3d8817e4Smiod@findex bfd_elf_find_section
11*3d8817e4Smiod@subsubsection @code{bfd_elf_find_section}
12*3d8817e4Smiod@strong{Synopsis}
13*3d8817e4Smiod@example
14*3d8817e4Smiodstruct elf_internal_shdr *bfd_elf_find_section (bfd *abfd, char *name);
15*3d8817e4Smiod@end example
16*3d8817e4Smiod@strong{Description}@*
17*3d8817e4SmiodHelper functions for GDB to locate the string tables.
18*3d8817e4SmiodSince BFD hides string tables from callers, GDB needs to use an
19*3d8817e4Smiodinternal hook to find them.  Sun's .stabstr, in particular,
20*3d8817e4Smiodisn't even pointed to by the .stab section, so ordinary
21*3d8817e4Smiodmechanisms wouldn't work to find it, even if we had some.
22*3d8817e4Smiod
23