This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Change an object file without explicit copying


Dear forum,
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
the bfd. 

Thank you for your response
Andre




-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]