)]}'
{
  "commit": "acab2a6872db8e6ebab3e91bc22a4df384d1c8ed",
  "tree": "67a61c4d8b133706278357b331cd9ec2c0c812e9",
  "parents": [
    "3094c89e9ce3ae656ac56147ee34bf1f65e63d04"
  ],
  "author": {
    "name": "Tsukasa OI",
    "email": "research_trasio@irq.a4lg.com",
    "time": "Wed Sep 21 06:23:55 2022 +0000"
  },
  "committer": {
    "name": "Tsukasa OI",
    "email": "research_trasio@irq.a4lg.com",
    "time": "Wed Sep 21 08:09:38 2022 +0000"
  },
  "message": "RISC-V: Set EF_RISCV_TSO also on .option arch\n\nThis is a minor fix to commit 96462b012988d35ebb1137a2ad9fd0a96547d79a\n(\"RISC-V: Implement Ztso extension\").  Currently, it sets EF_RISCV_TSO ELF\nflag when initial ISA string contains the \u0027Ztso\u0027 extension.  However, GAS\nhas a way to update the ISA string: \".option arch\".\n\nWhen the architecture is updated by \".option arch\", EF_RISCV_RVC ELF flag\nis set when the \u0027C\u0027 extension is detected.  Analogously, this commit sets\nthe EF_RISCV_TSO when the \u0027Ztso\u0027 extension is detected.\n\ngas/ChangeLog:\n\n\t* config/tc-riscv.c (s_riscv_option): Set TSO ELF flag if the\n\t\u0027Ztso\u0027 extension is specified via \".option arch\" directive.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b1abc8553b027531215b161db5ff8ff0e5c534bc",
      "old_mode": 33188,
      "old_path": "gas/config/tc-riscv.c",
      "new_id": "42d7bf62e4f71b7161cfa0fc465ee2b0302272ed",
      "new_mode": 33188,
      "new_path": "gas/config/tc-riscv.c"
    }
  ]
}
