From: Paul Brook Date: Wed, 15 Nov 2006 18:12:17 +0000 (+0000) Subject: unwind-arm.c (_Unwind_GetDataRelBase, [...]): Move from here ... X-Git-Tag: releases/gcc-4.3.0~8445 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66403286e3e88b42c38fcb1a0651c2767f124614;p=thirdparty%2Fgcc.git unwind-arm.c (_Unwind_GetDataRelBase, [...]): Move from here ... 2006-11-15 Paul Brook gcc/ * config/arm/unwind-arm.c (_Unwind_GetDataRelBase, _Unwind_GetTextRelBase): Move from here ... * config/arm/pr-support.c (_Unwind_GetDataRelBase, _Unwind_GetTextRelBase): ... To here. From-SVN: r118864 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a36144b6c60f..d02d73306858 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2006-11-15 Paul Brook + + * config/arm/unwind-arm.c (_Unwind_GetDataRelBase, + _Unwind_GetTextRelBase): Move from here ... + * config/arm/pr-support.c (_Unwind_GetDataRelBase, + _Unwind_GetTextRelBase): ... To here. + 2006-11-15 Bernd Schmidt * tree-ssa-loop-ivopts.c (get_address_cost): Make sure memory diff --git a/gcc/config/arm/pr-support.c b/gcc/config/arm/pr-support.c index 0e750bf3e09f..f0e733a11a77 100644 --- a/gcc/config/arm/pr-support.c +++ b/gcc/config/arm/pr-support.c @@ -379,3 +379,17 @@ _Unwind_GetLanguageSpecificData (_Unwind_Context * context) return ptr; } + +/* These two should never be used. */ + +_Unwind_Ptr +_Unwind_GetDataRelBase (_Unwind_Context *context __attribute__ ((unused))) +{ + abort (); +} + +_Unwind_Ptr +_Unwind_GetTextRelBase (_Unwind_Context *context __attribute__ ((unused))) +{ + abort (); +} diff --git a/gcc/config/arm/unwind-arm.c b/gcc/config/arm/unwind-arm.c index 9d2513b68979..6b7e2ddcd263 100644 --- a/gcc/config/arm/unwind-arm.c +++ b/gcc/config/arm/unwind-arm.c @@ -1001,16 +1001,3 @@ __aeabi_unwind_cpp_pr2 (_Unwind_State state, { return __gnu_unwind_pr_common (state, ucbp, context, 2); } - -/* These two should never be used. */ -_Unwind_Ptr -_Unwind_GetDataRelBase (_Unwind_Context *context __attribute__ ((unused))) -{ - abort (); -} - -_Unwind_Ptr -_Unwind_GetTextRelBase (_Unwind_Context *context __attribute__ ((unused))) -{ - abort (); -}