]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld: Move the .note.build-id section to near the start of the memory map.
authorNick Clifton <nickc@redhat.com>
Thu, 19 Sep 2024 15:45:30 +0000 (16:45 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 19 Sep 2024 15:45:30 +0000 (16:45 +0100)
commitbf6d7087de0a7351fd1dfd5f41522a7f4f576180
tree828d9882dd5a7b2555646baabd4a9cc429ca3995
parentb6532accdd8e24329cc69bb58bc2883796008776
ld: Move the .note.build-id section to near the start of the memory map.

This helps GDB to locate the debug information associated with a core dump.
Core dumps include the first page of an executable's image, and if this
page include the .note.build-id section then GDB can find it and then track
down a debug info file for that build-id.
ld/scripttempl/elf.sc