)]}'
{
  "commit": "f3d64372d777d7d6068df8167b6751c289963e85",
  "tree": "151782c85342f479d5c176e8c0745857ce4f8cf8",
  "parents": [
    "cbcba1eb28db3c2540957ccb3779f750daea6099"
  ],
  "author": {
    "name": "Andrew Stubbs",
    "email": "ams@codesourcery.com",
    "time": "Wed Oct 13 11:53:42 2021 +0100"
  },
  "committer": {
    "name": "Andrew Stubbs",
    "email": "ams@codesourcery.com",
    "time": "Fri Oct 15 13:28:12 2021 +0100"
  },
  "message": "amdgcn: fix up offload debug linking with LLVM 13\n\nBetween LLVM 9 and LLVM 13 the attribute works differently in several ways,\nand this needs to be allowed for in GCC and mkoffload independently.\n\nThis patch fixes up mkoffload when debug info is enabled, which is made more\ncomplicated because the configure tests checks whether the attribute option\nis accepted silently, but does not check if the assembler actually sets the\nELF flags for that attribute, and mkoffload needs to mimick that behaviour\nexactly. The patch therefore removes some of the conditionals.\n\ngcc/ChangeLog:\n\n\t* config/gcn/gcn-hsa.h (S_FIJI): Set unconditionally.\n\t(S_900): Likewise.\n\t(S_906): Likewise.\n\t* config/gcn/gcn.c: Hard code SRAM ECC settings for old architectures.\n\t* config/gcn/mkoffload.c (ELFABIVERSION_AMDGPU_HSA): Rename to ...\n\t(ELFABIVERSION_AMDGPU_HSA_V3): ... this.\n\t(ELFABIVERSION_AMDGPU_HSA_V4): New.\n\t(SET_SRAM_ECC_UNSUPPORTED): New.\n\t(copy_early_debug_info): Create elf flags to match the other objects.\n\t(main): Just let the attribute flags pass through.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6a432d17d99f157ae19a3f292d7349392d968b11",
      "old_mode": 33188,
      "old_path": "gcc/config/gcn/gcn-hsa.h",
      "new_id": "4fd2f07b98366c6901368ca33c31c643165be4f0",
      "new_mode": 33188,
      "new_path": "gcc/config/gcn/gcn-hsa.h"
    },
    {
      "type": "modify",
      "old_id": "2e90f327c45124ee67510a570922d173bdb97ff8",
      "old_mode": 33188,
      "old_path": "gcc/config/gcn/gcn.c",
      "new_id": "75a9c576694797bddc80dc4baed1063f21e95d04",
      "new_mode": 33188,
      "new_path": "gcc/config/gcn/gcn.c"
    },
    {
      "type": "modify",
      "old_id": "a3b22d059b962ec7843e30168f4cb2e9ff0f05a3",
      "old_mode": 33188,
      "old_path": "gcc/config/gcn/mkoffload.c",
      "new_id": "b2e71ea5aa00821025e894f20689b0724f867cf6",
      "new_mode": 33188,
      "new_path": "gcc/config/gcn/mkoffload.c"
    }
  ]
}
