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, 22 Jan 2023 01:00:35 +0000 (02:00 +0100)
commitfcdd407e8e16b90e1995789ba217be5591a88d2f
treeac9fcbfa9a2c68d4f7c9d1c243d8f59f81dcb365
parent6a3816efb736b4ff8b4c7ec725522d275afd7496
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>
toolchain/musl/patches/800-mips_pie_debug.patch [new file with mode: 0644]