)]}'
{
  "commit": "5be49e265d617f91d78d2d87fa8166e5cf6f83a2",
  "tree": "322cfd4e4bf1d9166f5fb1cd02c1b5b7a6fec3dd",
  "parents": [
    "927b2f4caf46e5ca49684c9a52a9786425c60fa2"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Oct 13 12:18:39 2022 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Oct 13 12:18:39 2022 +0200"
  },
  "message": "[gdb/testsuite] Fix gdb.dwarf2/macro-source-path.exp with -m32\n\nWith test-case gdb.dwarf2/macro-source-path.exp and target board unix/-m32, I\nrun into:\n...\nas: macro-source-path-gcc11-ld238-dw5-filename-641.o: \\\n  unsupported relocation type: 0x1^M\n...\n\nThe problem is that we have 64-bit dwarf so the debug_line offset in the\n.debug_macro section is an 8-byte entity, emitted using \".8byte\":\n...\n        .section .debug_macro\n.Lcu_macros4:\n        .2byte        5                 /* version */\n        .byte        3                  /* flags */\n        .8byte        .LLlines3         /* debug_line offset */\n...\nbut the linker doesn\u0027t support 8-byte relocation types on a 32-bit architecture.\n\nThis is similar to what was fixed in commit a5ac8e7fa3b\n(\"[gdb/testsuite] Fix 64-bit dwarf test-cases with -m32\") for for instance\n.debug_abbrev.\n\nFix this in the same way, by using _op_offset to emit the debug_line offset.\n\nTested on x86_64-linux with native and target board unix/-m32.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "b85ec290299953a6b0edad0ee1c97ee185e2f753",
      "old_mode": 33188,
      "old_path": "gdb/testsuite/lib/dwarf.exp",
      "new_id": "586c98ececcfa1f3b057cb52bf5ade209bf72162",
      "new_mode": 33188,
      "new_path": "gdb/testsuite/lib/dwarf.exp"
    }
  ]
}
