)]}'
{
  "commit": "dc810efb0ca5702c9d96782b99282d4b4383e877",
  "tree": "85237820baf61398b53057207fe8bf5014742841",
  "parents": [
    "167879ae8924540660b187d759956f316dd6e8fe"
  ],
  "author": {
    "name": "Pawel Moll",
    "email": "pawel.moll@arm.com",
    "time": "Wed Feb 16 18:54:01 2011 +0100"
  },
  "committer": {
    "name": "Russell King",
    "email": "rmk+kernel@arm.linux.org.uk",
    "time": "Mon Feb 21 19:29:25 2011 +0000"
  },
  "message": "ARM: 6740/1: Place correctly notes section in the linker script\n\nCommit 18991197b4b588255ccabf472ebc84db7b66a19c added --build-id\nlinker option when toolchain supports it. ARM one does, but for some\nreason places the section at 0 when linker script doesn\u0027t mention it\nexplicitly.\n\nThe 1e621a8e3752367d4aae78a8ab00a18fb2793f34 worked around the problem\nremoving this section from binary image with explicit objcopy options,\nbut it still exists in vmlinux, confusing tools like debuggers and perf.\n\nThis problem was discussed here:\nhttp://lists.infradead.org/pipermail/linux-arm-kernel/2010-May/015994.html\nhttp://lists.infradead.org/pipermail/linux-arm-kernel/2010-May/015994.html\nbut the proposed changes to the linker script were substantial.\n\nThis patch simply places NOTES (36 bytes long, at least when compiled\nwith CodeSourcery toolchain) between data and bss, which seem to be\nthe right place (and suggested by the sample linker script in\ninclude/asm-generic/vmlinux.lds.h).\n\nIt is enough to place it correctly in vmlinux (so debuggers are happy):\n\nSection Headers:\n  [11] .data             PROGBITS        c07ce000 7ce000 020fc0 00  WA  0   0 32\n  [12] .notes            NOTE            c07eefc0 7eefc0 000024 00  AX  0   0  4\n  [13] .bss              NOBITS          c07ef000 7eefe4 01e628 00  WA  0   0 32\nProgram Headers:\n  LOAD           0x008000 0xc0008000 0xc0008000 0x7e6fe4 0x805628 RWE 0x8000\n  NOTE           0x7eefc0 0xc07eefc0 0xc07eefc0 0x00024 0x00024 R E 0x4\nSection to Segment mapping:\n  Segment Sections...\n   00     \u003c...\u003e .data .notes .bss\n   01     .notes\n\nand to get it exposed as /sys/kernel/notes used by perf tools.\n\nSigned-off-by: Pawel Moll \u003cpawel.moll@arm.com\u003e\nSigned-off-by: Russell King \u003crmk+kernel@arm.linux.org.uk\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c22c1adfedd6e604bdfa94bf76c598b982666706",
      "old_mode": 33188,
      "old_path": "arch/arm/Makefile",
      "new_id": "6f7b29294c80fdc23370406db824056e918b8ee9",
      "new_mode": 33188,
      "new_path": "arch/arm/Makefile"
    },
    {
      "type": "modify",
      "old_id": "86b66f3f203187c2b8f0bed5ec7ff096ca656967",
      "old_mode": 33188,
      "old_path": "arch/arm/kernel/vmlinux.lds.S",
      "new_id": "558bd81a4fcee79e4e4e812d84b3aea0132e4528",
      "new_mode": 33188,
      "new_path": "arch/arm/kernel/vmlinux.lds.S"
    }
  ]
}
