[PATCH][gold] Implement --build-id=uuid on MinGW/MSYS2.

Cary Coutant ccoutant@gmail.com
Thu Oct 20 20:20:00 GMT 2016


> gold/ChangeLog
>
>         * layout.cc: Changes for MinGW32:
>         Include windows.h and rpcdce.h.
>         (Layout::create_build_id): Use UuidCreate() to generate uuid.

+  UuidCreateFn uuid_create =
+      (UuidCreateFn)GetProcAddress(rpc_library, "UuidCreate");

Please use a C++ style case here. With that change, the patch looks good.

-cary



More information about the Binutils mailing list