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]

Re: Compile app using the BFD library?


Brian Blietz <bblietz@iastate.edu> writes:

>      abfd = bfd_openr(FILENAME, NULL);
>      printf("abfd: 0x%x\n", abfd);
>     print_symbol_table(abfd);    }

You need to call
    bfd_check_format (abfd, bfd_object);

Ian


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