The attached patch changes two ReadProcessMemory invocations (in symbols.c and exchndl.c) such that they can be compiled properly. (A parenthesis was misplaced).
It also "finishes" the bfd_hash_table_init calls in ieee.c to have their sizeof() parameter passed.
Then lastly it fixes both the linker errors and my problems with symbol extraction mentioned in this thread:
http://sourceforge.net/mailarchive/forum.php?thread_name=47ED8737.5000706%40mortis.eu&forum_name=mingw-users
This is fixed by the change of bfd_get_section_size_before_reloc() calls to bfd_get_section_size() calls.
You'll probably want to apply this patch with -p1 in the mingw-utils directory from the CVS repo or -p2 in mingw-utils/drmingw (because I made this patch from a private testing git repository).
Ticket moved from /p/mingw/patches/359/