unwind-arm.h (__gnu_unwind_24bit): Mark parameters as unused.

2012-12-17  Matthias Klose  <doko@ubuntu.com>

        * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
        as unused.
        (_Unwind_decode_typeinfo_ptr): Mark base as unused.

From-SVN: r194555
This commit is contained in:
Matthias Klose 2012-12-17 14:56:45 +00:00 committed by Matthias Klose
parent 8b40dbbcb7
commit 4a33071a3f
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2012-12-17 Matthias Klose <doko@ubuntu.com>
* config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
as unused.
(_Unwind_decode_typeinfo_ptr): Mark base as unused.
2012-12-09 Uros Bizjak <ubizjak@gmail.com>
PR target/55344

View File

@ -39,7 +39,8 @@ extern "C" {
#endif
/* Decode an R_ARM_TARGET2 relocation. */
static inline _Unwind_Word
_Unwind_decode_typeinfo_ptr (_Unwind_Word base, _Unwind_Word ptr)
_Unwind_decode_typeinfo_ptr (_Unwind_Word base __attribute__ ((unused)),
_Unwind_Word ptr)
{
_Unwind_Word tmp;
@ -65,7 +66,9 @@ extern "C" {
}
static inline _Unwind_Reason_Code
__gnu_unwind_24bit (_Unwind_Context * context, _uw data, int compact)
__gnu_unwind_24bit (_Unwind_Context * context __attribute__ ((unused)),
_uw data __attribute__ ((unused)),
int compact __attribute__ ((unused)))
{
return _URC_FAILURE;
}