)]}'
{
  "commit": "cb323d4738b7ac081a1d383b91af3c011ea09011",
  "tree": "13f98f92402133173038b835b92c7a4700464211",
  "parents": [
    "ebd75034f2be7e59963a150e3bb2dc341f6b2333"
  ],
  "author": {
    "name": "Johnathan Van Why",
    "email": "jrvanwhy@google.com",
    "time": "Thu Oct 01 16:24:26 2020 -0700"
  },
  "committer": {
    "name": "Johnathan Van Why",
    "email": "jrvanwhy@google.com",
    "time": "Thu Oct 01 16:24:26 2020 -0700"
  },
  "message": "Add the .sdata section to the app binary.\n\nRISC-V has the .sdata section, which is supposed to be for commonly-accessed global variables. Previously, we discarded this section in the linker script. Discarding this section resulted in missing global variables.\n\nI originally discovered this when I tried to print a string of less than 9 bytes and it was not working. I reported it as a kernel bug at https://github.com/tock/tock/issues/2132, then later realized the issue was in the libtock-rs linker script rather than the kernel.\n\nI added a test to libtock_test that catches this issue (I verified by hand that the test fails if I don\u0027t fix the linker script).\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ac2cb489a1f533e0c41005a2a427620eb802f4ad",
      "old_mode": 33188,
      "old_path": "examples-features/libtock_test.rs",
      "new_id": "a938f46708b6c2ecd7bd6fcf714a3341fcaf980a",
      "new_mode": 33188,
      "new_path": "examples-features/libtock_test.rs"
    },
    {
      "type": "modify",
      "old_id": "dd101ab71a43a9fd23c7fe1287b74a0b78d2f43e",
      "old_mode": 33188,
      "old_path": "layout_generic.ld",
      "new_id": "3c5065cc9bb27e5328a124fd5e12f7c407018918",
      "new_mode": 33188,
      "new_path": "layout_generic.ld"
    }
  ]
}
