)]}'
{
  "commit": "5751d69c85816cfd42418ac3c668b4c96566f047",
  "tree": "62ab83b972ef16450ef60bf2e3e7904690da66fe",
  "parents": [
    "c69bafb476c4ecfbe8a4ed27fed02a4e8493bfec"
  ],
  "author": {
    "name": "Pali Rohár",
    "email": "pali.rohar@gmail.com",
    "time": "Fri Aug 01 21:24:07 2025 +0200"
  },
  "committer": {
    "name": "LIU Hao",
    "email": "lh_mouse@126.com",
    "time": "Sat Aug 02 19:09:45 2025 +0800"
  },
  "message": "crt: Fix decoration for 32-bit x86 kernel32.def InterlockedPushListSList symbol\n\nFunction InterlockedPushListSList() is declared mingw-w64 header file\nntifs.h with fastcall calling convention and MS documentation says same:\nhttps://learn.microsoft.com/en-us/windows/win32/sync/interlockedpushlistslist\n\nTrying to compile simple code which uses InterlockedPushListSList()\n\n  #include \u003cntifs.h\u003e\n  PSLIST_ENTRY func(PSLIST_HEADER ListHead, PSLIST_ENTRY List, PSLIST_ENTRY ListEnd, ULONG Count) {\n    return InterlockedPushListSList(ListHead, List, ListEnd, Count);\n  }\n\nresult in linking error:\n\n  /usr/bin/i686-w64-mingw32-ld: /tmp/ccSHmgvJ.o: in function `func\u0027:\n  /tmp/test20.c:2: undefined reference to `@InterlockedPushListSList@16\u0027\n  collect2: error: ld returned 1 exit status\n\nChange the stdcall mangling for InterlockedPushListSList symbol in file\nlib32/kernel32.def to fastcall mangling. This fixes linking error.\n\nAlso MS Windows SDK in its Kernel32.lib has declared the\nInterlockedPushListSList import symbol as fastcall:\n@InterlockedPushListSList@16.\n\nSigned-off-by: LIU Hao \u003clh_mouse@126.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "74434173d9392c2a753c09e7f7317dea08c8d09b",
      "old_mode": 33188,
      "old_path": "mingw-w64-crt/lib32/kernel32.def",
      "new_id": "8d5fad704566b1955fd81bec21946a0a55ef01d9",
      "new_mode": 33188,
      "new_path": "mingw-w64-crt/lib32/kernel32.def"
    }
  ]
}
