summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2012-10-07 10:06:30 +0000
committerMatthias Klose <doko@gcc.gnu.org>2012-10-07 10:06:30 +0000
commitacb72498a7c78dfc6b14fe979863294f4e19061e (patch)
tree59e8135b7303fa7ff88b59e520655dd80f54e12e /libgcc
parentd39e4c0c0b578d8e73139e8a80c9d02b0635aad4 (diff)
downloadgcc-acb72498a7c78dfc6b14fe979863294f4e19061e.tar.gz
unwind-arm.h (__gnu_unwind_24bit): Mark parameters as unused.
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. From-SVN: r192181
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config/arm/unwind-arm.h7
2 files changed, 11 insertions, 2 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 0b6f592eb2f..b09c22fe5f2 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -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.
diff --git a/libgcc/config/arm/unwind-arm.h b/libgcc/config/arm/unwind-arm.h
index 4300c8e31c6..0ccdb3d4c91 100644
--- a/libgcc/config/arm/unwind-arm.h
+++ b/libgcc/config/arm/unwind-arm.h
@@ -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;
}