)]}'
{
  "commit": "e76d66a53ee9ef0a70fdb44a3150518fcc8086ea",
  "tree": "f9880673ab9d9587a174b380453671e8a289afa7",
  "parents": [
    "9d375dfebba2c10fa074c5cf0ecd0bdaef7bba7a"
  ],
  "author": {
    "name": "H.J. Lu",
    "email": "hjl.tools@gmail.com",
    "time": "Tue Jan 14 21:21:02 2025 +0800"
  },
  "committer": {
    "name": "H.J. Lu",
    "email": "hjl.tools@gmail.com",
    "time": "Wed Jan 15 05:50:37 2025 +0800"
  },
  "message": "ld: Parse linker script only once\n\nParsing linker script twice caused\n\nFAIL: ld-plugin/lto-3r\nFAIL: ld-plugin/lto-5r\nFAIL: PR ld/19317 (2)\n\nfor x86_64-w64-mingw32 with the linker error:\n\n./ld-new:built in linker script:27 assignment to location counter invalid outside of SECTIONS\n\nldscripts/i386pep.xr has\n\n 24   .rdata  :\n 25   {\n 26     *(.rdata)\n 27     . \u003d ALIGN(4);\n 28     /* .ctors \u0026 .dtors */\n 29     /* .CRT */\n 30     /* ___crt_xl_end__ is defined in the TLS Directory support code */\n 31   }\n\nRemove ld_parse_linker_script to parse linker script only once.\n\n\t* ldlang.c (cmdline_emit_object_only_section): Don\u0027t call\n\tld_parse_linker_script.\n\t* ldmain.c (main): Fold ld_parse_linker_script.\n\t(ld_parse_linker_script): Removed.\n\nSigned-off-by: H.J. Lu \u003chjl.tools@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e1e491732a910fbd57dc15fa157d3a3e49d6949e",
      "old_mode": 33188,
      "old_path": "ld/ldlang.c",
      "new_id": "634a68434165badfbcfbdb40feb88b68958d1ed1",
      "new_mode": 33188,
      "new_path": "ld/ldlang.c"
    },
    {
      "type": "modify",
      "old_id": "ffe1d70d15ede84344af947d84331147338f8bed",
      "old_mode": 33188,
      "old_path": "ld/ldmain.c",
      "new_id": "f1c5f7035c5c5278922d30680d8d9d133e1805e1",
      "new_mode": 33188,
      "new_path": "ld/ldmain.c"
    },
    {
      "type": "modify",
      "old_id": "34770762f1cda695fdfa704409830b4fe6f87914",
      "old_mode": 33188,
      "old_path": "ld/ldmain.h",
      "new_id": "0baa3c305c3dbc45045c5b4779aaa95620bf7c10",
      "new_mode": 33188,
      "new_path": "ld/ldmain.h"
    }
  ]
}
