Description of problem: Static version of libbfd is broken (libbfd.so is good however). Version-Release number of selected component (if applicable): Part of binutils-2.15.90.0.3-5 How reproducible: Write a test program to call bfd_fdopenr() on a FILE (exe, lib, etc). Steps to Reproduce: 1. Link test program w/ libbfd.a 2. Run program 3. Actual results: Examine the bfd pointer returned from this call. Among many other things, the bfd->name value is null, bfd->next is null, flags are null. Expected results: bfd->name should point to the first section of the FILE as reported by objdump -h FILE. bfd->sections should not be null. bfd->flags should not be zero Additional info: -OR- Statically link objdump w/ libbfd.a; it should break.
Created attachment 112688 [details] Test program
Can't reproduce with binutils-2.15.92.0.2-5.