diff options
Diffstat (limited to 'contrib/gcc/unwind-dw2-fde-glibc.c')
-rw-r--r-- | contrib/gcc/unwind-dw2-fde-glibc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/gcc/unwind-dw2-fde-glibc.c b/contrib/gcc/unwind-dw2-fde-glibc.c index 94fe6d1..21b3321 100644 --- a/contrib/gcc/unwind-dw2-fde-glibc.c +++ b/contrib/gcc/unwind-dw2-fde-glibc.c @@ -79,9 +79,9 @@ struct unw_eh_frame_hdr unsigned char table_enc; }; -/* Like base_of_encoded_value, but take the base from a struct object - instead of an _Unwind_Context. */ - +/* Like base_of_encoded_value, but take the base from a struct + unw_eh_callback_data instead of an _Unwind_Context. */ + static _Unwind_Ptr base_from_cb_data (unsigned char encoding, struct unw_eh_callback_data *data) { @@ -94,7 +94,7 @@ base_from_cb_data (unsigned char encoding, struct unw_eh_callback_data *data) case DW_EH_PE_pcrel: case DW_EH_PE_aligned: return 0; - + case DW_EH_PE_textrel: return (_Unwind_Ptr) data->tbase; case DW_EH_PE_datarel: |