This is the mail archive of the
mailing list for the binutils project.
Change an object file without explicit copying
- From: André Hauser <aphauser at gmx dot de>
- To: binutils at sources dot redhat dot com
- Date: Sun, 7 Jul 2002 08:00:55 +0200 (MEST)
- Subject: Change an object file without explicit copying
I want to use bfd to update an existing ELF file, i.e. open a bfd,
perform some changes and save the file afterwards.
Is there a way of doing this without copying the source file? I found
only the two functions bfd_openw() and bfd_openr() for creating a new
resp. opening a bfd; calling bfd_make_writable() in conjunction with
bfd_openr() did not work, my object file wasn't updated after closing
Thank you for your response
GMX - Die Kommunikationsplattform im Internet.