)]}'
{
  "commit": "fdb2b35b8fdbd5a6c136db326c73582dbfb335f8",
  "tree": "8f9b5aa7b7d5c8cd69df0812ebacf3304abd5f11",
  "parents": [
    "527b8861cd472385fa9160a91dd6d65a25c41987"
  ],
  "author": {
    "name": "Nelson Chu",
    "email": "nelson.chu@sifive.com",
    "time": "Tue Dec 14 12:53:48 2021 +0800"
  },
  "committer": {
    "name": "Nelson Chu",
    "email": "nelson.chu@sifive.com",
    "time": "Tue Dec 14 13:21:20 2021 +0800"
  },
  "message": "RISC-V: Added ld testcases for the medlow and medany code models.\n\nThere are two linker scripts, code-model-01.ld and code-model-02.ld,\nwhich are corresponding to the two different memory layouts,\n\n* code-model-01.ld: the text section is in the 32-bit address range, but\n  the data section is far away from the text section, which means the data\n  section is over the 32-bit address range.\n\n* code-model-02.ld: the text section is over the 32-bit address range, but\n  the data section is placed nearly zero address.\n\nWe use the two linker scripts, to test the current medlow and medany behaviors\nof GNU ld, including the weak symbol references and the relaxations behaviors.\nBesides, these testcases also show the limits of the current medlow and medany\ncode models, that is - we may get the truncated to fit errors when linking\nwith the above two linker scripts.\n\nld/\n\t* testsuite/ld-riscv-elf/code-model-01.ld: New testcases to test the\n\tbehaviors of the current medlow and medany code models.\n\t* testsuite/ld-riscv-elf/code-model-02.ld: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-medany-01.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-medany-02.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-medany-weakref-01.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-medany-weakref-02.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-medlow-01.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-medlow-02.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-medlow-weakref-01.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-medlow-weakref-02.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-relax-medany-01.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-relax-medany-02.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-relax-medany-weakref-01.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-relax-medany-weakref-02.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-relax-medlow-01.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-relax-medlow-02.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-relax-medlow-weakref-01.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model-relax-medlow-weakref-02.d: Likewise.\n\t* testsuite/ld-riscv-elf/code-model.s: Likewise.\n\t* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "676f0843ddcdf4e7cce7192871eb9a0f7aac8bd4",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-01.ld"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "af8a2feb0531b9c064a828a2f0da5e0b36a32ee4",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-02.ld"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "071eee8e5b43e4917d315d75f6ee7bfba3d3691e",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-medany-01.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "017a1dcfda437de3ebbf1df6b648707a0a53d4ca",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-medany-02.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0fe5c451393c2561a3e85d32bee8bb7c86a1fcaa",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-medany-weakref-01.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2b3aaae82a8fccad04be7456874b860649673b24",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-medany-weakref-02.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a92389326ef6273758cb4b03d46ac542f467bf57",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-medlow-01.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "11688635fe62893a07d264ba72ec6edf7a25dc8d",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-medlow-02.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "28f8fe98b2a3897e0d8ebacdc692481c46b0332a",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-medlow-weakref-01.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "405b0fe25af66f0ea926ed60c8d659cca65087e8",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-medlow-weakref-02.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "afa24eff632bc5f8404d511f13edfc2a6d7ffea4",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-relax-medany-01.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7b5b9e99c663a552d9586cc96bec92c32d47292c",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-relax-medany-02.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5b2d1eaf1db1669262a4cbdc334328b2d5fa8bca",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-relax-medany-weakref-01.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "783be0c536212917deac216f0dbe2617d484ca6f",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-relax-medany-weakref-02.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "eea2f7d6615f4e6d290ffa43b4b230d8be98a3ca",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-relax-medlow-01.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "adc81f5ab2073b3968772f236a2bcb7186c76f51",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-relax-medlow-02.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b1f22039ee9eaa03c982046ac67c3fe5f3be42c7",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-relax-medlow-weakref-01.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "332046d7c5b366c360e4ede89d9c5ba9a1530c70",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model-relax-medlow-weakref-02.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a88301a53907b2249303ce44c8f4b2714a8aeb32",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/code-model.s"
    },
    {
      "type": "modify",
      "old_id": "3bd788208ed591c64b94316fe4c88df754243111",
      "old_mode": 33188,
      "old_path": "ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp",
      "new_id": "961f06433fa227b4f164a1d2b79d841cea42f118",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp"
    }
  ]
}
