mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-11 11:33:43 +01:00
(_Unwind_GetDataRelBase): Implement it by returning the "gp" value
of the proc-info. (Logical change 1.144)
This commit is contained in:
parent
2afc5f7ddb
commit
9239758529
1 changed files with 5 additions and 3 deletions
|
@ -28,7 +28,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
unsigned long
|
unsigned long
|
||||||
_Unwind_GetDataRelBase (struct _Unwind_Context *context)
|
_Unwind_GetDataRelBase (struct _Unwind_Context *context)
|
||||||
{
|
{
|
||||||
/* Not yet implemented. DWARF2-based exception-handling would need
|
unw_proc_info_t pi;
|
||||||
this, apparently. */
|
|
||||||
return 0;
|
pi.gp = 0;
|
||||||
|
unw_get_proc_info (&context->cursor, &pi);
|
||||||
|
return pi.gp;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue