]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2012-10-07 Matthias Klose <doko@ubuntu.com>
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Oct 2012 10:06:30 +0000 (10:06 +0000)
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 7 Oct 2012 10:06:30 +0000 (10:06 +0000)
        * config/arm/unwind-arm.h (__gnu_unwind_24bit): Mark parameters
        as unused.
        (_Unwind_decode_typeinfo_ptr): Mark base as unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192181 138bc75d-0d04-0410-961f-82ee72b054a4

libgcc/ChangeLog
libgcc/config/arm/unwind-arm.h

index 0b6f592eb2fcd04e7a16556ce65906678eb1d983..b09c22fe5f2a3d977d58c270749efbd6b451cc87 100644 (file)
@@ -1,3 +1,9 @@
+2012-10-07  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-10-06  Mark Kettenis  <kettenis@openbsd.org>
 
        * config.host (*-*-openbsd*): Add t-eh-dw2-dip to tmake_file.
index 4300c8e31c65e4e894a1eb38246eff36499affeb..0ccdb3d4c91a6d699e67af7c0e79d382b26157f4 100644 (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)),
+                      _Unwind_Context *_uw data __attribute__ ((unused)),
+                      int compact __attribute__ ((unused)))
     {
       return _URC_FAILURE;
     }