about libbfd

2010-09-20 Thread hongming li
hello nice guy: can you help me.just a simple question. I have use libbfd to analyse a object file. i initialize a bfd pointer by call bfd_openr(path,NULL) now i want analyse a buffer in memory which contains a object file , that means if there exsit such a method bfd_init_by_buffer(void* , size_

[Bug binutils/12042] segmentation fault in i686-pc-mingw32-windres @ coff_to_bin().

2010-09-20 Thread pluto at agmk dot net
--- Additional Comments From pluto at agmk dot net 2010-09-20 10:08 --- Created an attachment (id=4991) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4991&action=view) testcase. -- http://sourceware.org/bugzilla/show_bug.cgi?id=12042 --- You are receiving this mail beca

[Bug binutils/12042] New: segmentation fault in i686-pc-mingw32-windres @ coff_to_bin().

2010-09-20 Thread pluto at agmk dot net
i686-pc-mingw32-windres -o tclsh.res.o --include "." "tclsh.rc" Program received signal SIGSEGV, Segmentation fault. 0x004084f6 in coff_to_bin () (gdb) bt #0 0x004084f6 in coff_to_bin () #1 0x0040847a in coff_to_bin () #2 0x004090db in write_coff_file () #3 0x00