Problem with bfd_fdopenr and BFD_SEND_FMT combo?
Muthukumar Ratty
muthu@iqmail.net
Thu Jul 3 07:31:00 GMT 2003
Hi,
I was trying to use bfd_fdopenr on an fd opened with RDWR. it goes ok till
it reaches bfd_close:BFD_SEND_FMT where it fails( error message printed
is Invalid operation, if I use bfd_openw things are fine but I want to
use fdopenr). I tried to enable the DEBUG_SEND_BFD (adding it to CFLAGS
in Makefile), compilation fails for archive.c. I verified that fdopenr
does work correctly (finds that the file is opened for RDWR and sets the
direction properly). Any idea what might be the problem?
thanks,
Muthu.
More information about the Binutils
mailing list