)]}'
{
  "commit": "f4e363cae297ec3e24dec0d95f3d422879f498a3",
  "tree": "4ab387403489f6d95a894ce56d6f221637ebb7b4",
  "parents": [
    "80ac47851105702689004e07952ab6a4c04062b0"
  ],
  "author": {
    "name": "Hakan Candar",
    "email": "hakancandar@protonmail.com",
    "time": "Mon Oct 28 11:01:59 2024 +0000"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Tue Oct 29 19:38:39 2024 +1030"
  },
  "message": "ld/ELF: Add --image-base command line option to the ELF linker\n\nLLD has dropped the option -Ttext-segment for specifying image base\naddresses, instead forcing the use of the --image-base option for both\nELF and PE targets. As it stands, GNU LD and LLVM LLD are incompatible,\nhaving two different options for the same functionality.\n\nThis patch enables the use of --image-base on ELF targets, advancing\nconsistency and compatibility.\n\nSee: https://reviews.llvm.org/D70468\n     https://maskray.me/blog/2020-11-15-explain-gnu-linker-options#address-related\n     https://sourceware.org/bugzilla/show_bug.cgi?id\u003d25207\n\nMoreover, a new test has been added to ensure -z separate-code behaviour\nwhen used with -Ttext-segment stays the same. When this combination is\nused, -Ttext-segment sets the address of the first segment (R), not the\ntext segment (RX), and like with -z noseparate-code, no segments lesser\nthan the specified address are created. If this behaviour was to change,\nthe first (R) segment of the ELF file would begin in a lesser address\nthan the specified text (RX) segment, breaking traditional use of this\noption for specifying image base address.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1f14dd6bc77b83d75d18f748048370ad5aa6a8f2",
      "old_mode": 33188,
      "old_path": "ld/NEWS",
      "new_id": "f7de85bd3ceb9ee0a5c2b993f58236a6595b262c",
      "new_mode": 33188,
      "new_path": "ld/NEWS"
    },
    {
      "type": "modify",
      "old_id": "29c386c61f8fdcf28db278262a2f376e435ae5c4",
      "old_mode": 33188,
      "old_path": "ld/emultempl/beos.em",
      "new_id": "54d03537de69575dee114a6cc34b74fdda4f462f",
      "new_mode": 33188,
      "new_path": "ld/emultempl/beos.em"
    },
    {
      "type": "modify",
      "old_id": "9ab5e6ef481cef9dca021b8660a00daed2f2d1b2",
      "old_mode": 33188,
      "old_path": "ld/emultempl/pe.em",
      "new_id": "869ffd3f6234241b9e3d65bcebd70a774fe70761",
      "new_mode": 33188,
      "new_path": "ld/emultempl/pe.em"
    },
    {
      "type": "modify",
      "old_id": "00c4ea9e15a765c29b15b621f53d6bfcb499e5ed",
      "old_mode": 33188,
      "old_path": "ld/emultempl/pep.em",
      "new_id": "c225d052fb8876fea7899c8fc0c97c5eade1a3e2",
      "new_mode": 33188,
      "new_path": "ld/emultempl/pep.em"
    },
    {
      "type": "modify",
      "old_id": "b5733df00314dc2ddc5719d329f1ed962ee769df",
      "old_mode": 33188,
      "old_path": "ld/ld.texi",
      "new_id": "c66ac5de4b2cf8a6802bfacb74c6714bb4383257",
      "new_mode": 33188,
      "new_path": "ld/ld.texi"
    },
    {
      "type": "modify",
      "old_id": "defe3fcbbb990e017378362f15ed617d2277f276",
      "old_mode": 33188,
      "old_path": "ld/ldlex.h",
      "new_id": "bb431101fb2f5dae392c82e06e5e982cd013ce81",
      "new_mode": 33188,
      "new_path": "ld/ldlex.h"
    },
    {
      "type": "modify",
      "old_id": "37d746652ca06322ddb683ed400b77e2e648b611",
      "old_mode": 33188,
      "old_path": "ld/lexsup.c",
      "new_id": "533535c2b89ba1450757da108afb1d62350a4ca2",
      "new_mode": 33188,
      "new_path": "ld/lexsup.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "edec7774e6000a91b2286b5272cf1616d416e467",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-elf/pr25207.d"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6cfdfd06cd1430f62bbac2e69a89b0519816c044",
      "new_mode": 33188,
      "new_path": "ld/testsuite/ld-elf/pr25207.s"
    }
  ]
}
