diff options
author | DJ Delorie <dj@redhat.com> | 1998-11-17 03:25:29 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 1998-11-17 03:25:29 +0000 |
commit | 020917f9d0c8a8c3e9a19fb617d6b077ff26a940 (patch) | |
tree | 162c04de51b0fde0598f27f80a97f36a0cbc7126 /bfd/syms.c | |
parent | d3ca9a538c9305de81734d296c5ddcca8e5fa3ed (diff) | |
download | gdb-020917f9d0c8a8c3e9a19fb617d6b077ff26a940.zip gdb-020917f9d0c8a8c3e9a19fb617d6b077ff26a940.tar.gz gdb-020917f9d0c8a8c3e9a19fb617d6b077ff26a940.tar.bz2 |
* archive.c (bfd_ar_hdr_from_filesystem): support BFD_IN_MEMORY
bfds; they have no "file" so we fake it.
* bfd-in2.h: add bfd_make_writable and bfd_make_readable (regen)
* libbfd.c (bfd_write): Allow writing to BFD_IN_MEMORY bfds by
resizing the memory buffer.
* opncls.c (bfd_make_writable): New function; lets you write a
bfd_create'd bfd to an in-memory buffer.
(bfd_make_readable): New function; lets you read back that buffer
as if it were from bfd_openr. Used to build generated archive
members (winsup's ld's dlltool)
Diffstat (limited to 'bfd/syms.c')
0 files changed, 0 insertions, 0 deletions