toolchain: musl: Fix symbol loading in gdb
authorHauke Mehrtens <hmehrtens@maxlinear.com>
Tue, 10 Jan 2023 18:50:12 +0000 (19:50 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 2 Apr 2023 20:07:28 +0000 (22:07 +0200)
commit9aaeaa8d2a9d619169ffddaa23d820523d0fcdfa
tree288836c379404a0bba0adf1c6ee7f3afade7990d
parent99fddbe4fd189d09054dc0b109dc032908289e91
toolchain: musl: Fix symbol loading in gdb

Fix DT_DEBUG handling on MIPS in musl libc.
With this change gdb will load the symbol files for shared libraries on MIPS too.

This patch was taken from this thread: https://www.openwall.com/lists/musl/2022/01/09/4

Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
(cherry picked from commit fcdd407e8e16b90e1995789ba217be5591a88d2f)
toolchain/musl/patches/800-mips_pie_debug.patch [new file with mode: 0644]