Siddhesh Poyarekar f2e33c3268 mtrace: Fix output with PIE and ASLR [BZ #22716]
Record only the relative address of the caller in mtrace file.  Use
LD_TRACE_PRELINKING to get the executable as well as binary vs
executable load offsets so that we may compute a base to add to the
relative address in the mtrace file.  This allows us to get a valid
address to pass to addr2line in all cases.

Fixes BZ #22716.

Co-authored-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Andreas Schwab <schwab@linux-m68k.org>
Reviewed-by: DJ Delorie <dj@redhat.com>
2021-08-23 08:14:22 +05:30
..
2021-02-23 10:04:45 +01:00
2021-02-09 16:57:54 -03:00
2021-07-22 18:38:12 +05:30
2021-08-05 07:36:55 +05:30
2021-07-22 18:38:12 +05:30
2014-01-02 09:40:10 +01:00
2021-07-22 18:38:06 +05:30
2021-06-28 15:55:56 -03:00
2007-12-16 22:57:57 +00:00