Menu

#1793 Dr. MinGW compile, link and runtime fix

OTHER
pending
Task
later
Unknown
True
2013-02-13
2008-04-05
No

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).

Discussion

  • Giel van Schijndel

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-13

    Ticket moved from /p/mingw/patches/359/

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-13
    • labels: MinGW runtime --> mingw-utils, drmingw
    • status: open --> pending
    • assigned_to: Earnie Boyd
    • milestone: --> OTHER
    • type: --> Task
    • resolution: --> later
    • category: --> Unknown
    • patch_attached: --> True
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-13
    • labels: mingw-utils, drmingw --> mingw-utils, drmingw, current?