summaryrefslogtreecommitdiff
path: root/src/unwind
diff options
context:
space:
mode:
Diffstat (limited to 'src/unwind')
-rw-r--r--src/unwind/Backtrace.c2
-rw-r--r--src/unwind/DeleteException.c2
-rw-r--r--src/unwind/FindEnclosingFunction.c2
-rw-r--r--src/unwind/ForcedUnwind.c2
-rw-r--r--src/unwind/GetBSP.c2
-rw-r--r--src/unwind/GetCFA.c2
-rw-r--r--src/unwind/GetDataRelBase.c2
-rw-r--r--src/unwind/GetGR.c2
-rw-r--r--src/unwind/GetIP.c2
-rw-r--r--src/unwind/GetIPInfo.c2
-rw-r--r--src/unwind/GetLanguageSpecificData.c2
-rw-r--r--src/unwind/GetRegionStart.c2
-rw-r--r--src/unwind/GetTextRelBase.c2
-rw-r--r--src/unwind/RaiseException.c2
-rw-r--r--src/unwind/Resume.c2
-rw-r--r--src/unwind/Resume_or_Rethrow.c2
-rw-r--r--src/unwind/SetGR.c2
-rw-r--r--src/unwind/SetIP.c2
18 files changed, 18 insertions, 18 deletions
diff --git a/src/unwind/Backtrace.c b/src/unwind/Backtrace.c
index 50f1fb61..0b14df4c 100644
--- a/src/unwind/Backtrace.c
+++ b/src/unwind/Backtrace.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED _Unwind_Reason_Code
+_Unwind_Reason_Code
_Unwind_Backtrace (_Unwind_Trace_Fn trace, void *trace_parameter)
{
struct _Unwind_Context context;
diff --git a/src/unwind/DeleteException.c b/src/unwind/DeleteException.c
index 79be65e4..ad38eaf6 100644
--- a/src/unwind/DeleteException.c
+++ b/src/unwind/DeleteException.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED void
+void
_Unwind_DeleteException (struct _Unwind_Exception *exception_object)
{
_Unwind_Exception_Cleanup_Fn cleanup = exception_object->exception_cleanup;
diff --git a/src/unwind/FindEnclosingFunction.c b/src/unwind/FindEnclosingFunction.c
index b9873da5..4f106661 100644
--- a/src/unwind/FindEnclosingFunction.c
+++ b/src/unwind/FindEnclosingFunction.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED void *
+void *
_Unwind_FindEnclosingFunction (void *ip)
{
unw_proc_info_t pi;
diff --git a/src/unwind/ForcedUnwind.c b/src/unwind/ForcedUnwind.c
index da8a60e2..905b31cd 100644
--- a/src/unwind/ForcedUnwind.c
+++ b/src/unwind/ForcedUnwind.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED _Unwind_Reason_Code
+_Unwind_Reason_Code
_Unwind_ForcedUnwind (struct _Unwind_Exception *exception_object,
_Unwind_Stop_Fn stop, void *stop_parameter)
{
diff --git a/src/unwind/GetBSP.c b/src/unwind/GetBSP.c
index 253fde05..d1bc84e0 100644
--- a/src/unwind/GetBSP.c
+++ b/src/unwind/GetBSP.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED unsigned long
+unsigned long
_Unwind_GetBSP (struct _Unwind_Context *context)
{
#ifdef UNW_TARGET_IA64
diff --git a/src/unwind/GetCFA.c b/src/unwind/GetCFA.c
index 7975b1d3..5ca63903 100644
--- a/src/unwind/GetCFA.c
+++ b/src/unwind/GetCFA.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED unsigned long
+unsigned long
_Unwind_GetCFA (struct _Unwind_Context *context)
{
unw_word_t val;
diff --git a/src/unwind/GetDataRelBase.c b/src/unwind/GetDataRelBase.c
index 9bdd4cb0..8e6914f4 100644
--- a/src/unwind/GetDataRelBase.c
+++ b/src/unwind/GetDataRelBase.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED unsigned long
+unsigned long
_Unwind_GetDataRelBase (struct _Unwind_Context *context)
{
unw_proc_info_t pi;
diff --git a/src/unwind/GetGR.c b/src/unwind/GetGR.c
index b7ab05c4..fa709434 100644
--- a/src/unwind/GetGR.c
+++ b/src/unwind/GetGR.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED unsigned long
+unsigned long
_Unwind_GetGR (struct _Unwind_Context *context, int index)
{
unw_word_t val;
diff --git a/src/unwind/GetIP.c b/src/unwind/GetIP.c
index e93853d0..e9fc4944 100644
--- a/src/unwind/GetIP.c
+++ b/src/unwind/GetIP.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED unsigned long
+unsigned long
_Unwind_GetIP (struct _Unwind_Context *context)
{
unw_word_t val;
diff --git a/src/unwind/GetIPInfo.c b/src/unwind/GetIPInfo.c
index 9105396a..e8ee7fd7 100644
--- a/src/unwind/GetIPInfo.c
+++ b/src/unwind/GetIPInfo.c
@@ -28,7 +28,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/* gcc/unwind-dw2.c: Retrieve the return address and flag whether that IP is
before or after first not yet fully executed instruction. */
-PROTECTED unsigned long
+unsigned long
_Unwind_GetIPInfo (struct _Unwind_Context *context, int *ip_before_insn)
{
unw_word_t val;
diff --git a/src/unwind/GetLanguageSpecificData.c b/src/unwind/GetLanguageSpecificData.c
index df52c929..e7ca9b45 100644
--- a/src/unwind/GetLanguageSpecificData.c
+++ b/src/unwind/GetLanguageSpecificData.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED unsigned long
+unsigned long
_Unwind_GetLanguageSpecificData (struct _Unwind_Context *context)
{
unw_proc_info_t pi;
diff --git a/src/unwind/GetRegionStart.c b/src/unwind/GetRegionStart.c
index f0da3449..f4995813 100644
--- a/src/unwind/GetRegionStart.c
+++ b/src/unwind/GetRegionStart.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED unsigned long
+unsigned long
_Unwind_GetRegionStart (struct _Unwind_Context *context)
{
unw_proc_info_t pi;
diff --git a/src/unwind/GetTextRelBase.c b/src/unwind/GetTextRelBase.c
index d0826e7f..ce65ae93 100644
--- a/src/unwind/GetTextRelBase.c
+++ b/src/unwind/GetTextRelBase.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED unsigned long
+unsigned long
_Unwind_GetTextRelBase (struct _Unwind_Context *context)
{
return 0;
diff --git a/src/unwind/RaiseException.c b/src/unwind/RaiseException.c
index cdf134a9..3c3ca19e 100644
--- a/src/unwind/RaiseException.c
+++ b/src/unwind/RaiseException.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED _Unwind_Reason_Code
+_Unwind_Reason_Code
_Unwind_RaiseException (struct _Unwind_Exception *exception_object)
{
uint64_t exception_class = exception_object->exception_class;
diff --git a/src/unwind/Resume.c b/src/unwind/Resume.c
index dd0a44bc..e23d6be2 100644
--- a/src/unwind/Resume.c
+++ b/src/unwind/Resume.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED void
+void
_Unwind_Resume (struct _Unwind_Exception *exception_object)
{
struct _Unwind_Context context;
diff --git a/src/unwind/Resume_or_Rethrow.c b/src/unwind/Resume_or_Rethrow.c
index d60e0383..9c76443b 100644
--- a/src/unwind/Resume_or_Rethrow.c
+++ b/src/unwind/Resume_or_Rethrow.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED _Unwind_Reason_Code
+_Unwind_Reason_Code
_Unwind_Resume_or_Rethrow (struct _Unwind_Exception *exception_object)
{
struct _Unwind_Context context;
diff --git a/src/unwind/SetGR.c b/src/unwind/SetGR.c
index 143b3549..ae77a8e8 100644
--- a/src/unwind/SetGR.c
+++ b/src/unwind/SetGR.c
@@ -28,7 +28,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "dwarf_i.h"
#endif
-PROTECTED void
+void
_Unwind_SetGR (struct _Unwind_Context *context, int index,
unsigned long new_value)
{
diff --git a/src/unwind/SetIP.c b/src/unwind/SetIP.c
index c55ab971..fccc2f0d 100644
--- a/src/unwind/SetIP.c
+++ b/src/unwind/SetIP.c
@@ -25,7 +25,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include "unwind-internal.h"
-PROTECTED void
+void
_Unwind_SetIP (struct _Unwind_Context *context, unsigned long new_value)
{
unw_set_reg (&context->cursor, UNW_REG_IP, new_value);