diff options
author | obrien <obrien@FreeBSD.org> | 2000-06-20 06:20:42 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-06-20 06:20:42 +0000 |
commit | 813b11648e223be167ed3d9c1b234eb99ab9006e (patch) | |
tree | 3f2e79c5a66aac2f8eb0a069744251ab05fcc87d /contrib/binutils/bfd/doc/opncls.texi | |
parent | 4e16f4e9862f75bc9baf95241e1ed357017bfdb9 (diff) | |
download | FreeBSD-src-813b11648e223be167ed3d9c1b234eb99ab9006e.zip FreeBSD-src-813b11648e223be167ed3d9c1b234eb99ab9006e.tar.gz |
Import a virgin (but trimed) Binutils 2.10 release.
Diffstat (limited to 'contrib/binutils/bfd/doc/opncls.texi')
-rw-r--r-- | contrib/binutils/bfd/doc/opncls.texi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/binutils/bfd/doc/opncls.texi b/contrib/binutils/bfd/doc/opncls.texi index 4fbb0a7..fcea49b 100644 --- a/contrib/binutils/bfd/doc/opncls.texi +++ b/contrib/binutils/bfd/doc/opncls.texi @@ -116,6 +116,37 @@ Create a new BFD in the manner of takes the target from the target used by @var{template}. The format is always set to @code{bfd_object}. +@findex bfd_make_writable +@subsubsection @code{bfd_make_writable} +@strong{Synopsis} +@example +boolean bfd_make_writable(bfd *abfd); +@end example +@strong{Description}@* +Takes a BFD as created by @code{bfd_create} and converts it +into one like as returned by @code{bfd_openw}. It does this +by converting the BFD to BFD_IN_MEMORY. It's assumed that +you will call @code{bfd_make_readable} on this bfd later. + +@strong{Returns}@* +@code{true} is returned if all is ok, otherwise @code{false}. + +@findex bfd_make_readable +@subsubsection @code{bfd_make_readable} +@strong{Synopsis} +@example +boolean bfd_make_readable(bfd *abfd); +@end example +@strong{Description}@* +Takes a BFD as created by @code{bfd_create} and +@code{bfd_make_writable} and converts it into one like as +returned by @code{bfd_openr}. It does this by writing the +contents out to the memory buffer, then reversing the +direction. + +@strong{Returns}@* +@code{true} is returned if all is ok, otherwise @code{false}. + @findex bfd_alloc @subsubsection @code{bfd_alloc} @strong{Synopsis} |