aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2007-01-31 05:23:09 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2007-01-31 05:23:09 +0000
commitc9cde24cd15bdce1575b0d415d5cd1a78bcaf97b (patch)
treeb8de4f7b6b1bf523a23cfa0e064283938842cea5 /gcc
parent537bbabdc32f48c72bbd20dfd7f0b9ce57482fd2 (diff)
downloadgcc-c9cde24cd15bdce1575b0d415d5cd1a78bcaf97b.zip
gcc-c9cde24cd15bdce1575b0d415d5cd1a78bcaf97b.tar.gz
gcc-c9cde24cd15bdce1575b0d415d5cd1a78bcaf97b.tar.bz2
* gcc/config/arm/unwind-arm.h (_sleb128_t, _uleb128_t): New.
From-SVN: r121377
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arm/unwind-arm.h9
2 files changed, 12 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9bda36f..8c0bbcb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-31 Kazu Hirata <kazu@codesourcery.com>
+
+ * gcc/config/arm/unwind-arm.h (_sleb128_t, _uleb128_t): New.
+
2007-01-30 Eric Christopher <echristo@apple.com>
* config.gcc: Add geode.
diff --git a/gcc/config/arm/unwind-arm.h b/gcc/config/arm/unwind-arm.h
index a3040d7..1645330 100644
--- a/gcc/config/arm/unwind-arm.h
+++ b/gcc/config/arm/unwind-arm.h
@@ -1,5 +1,5 @@
/* Header file for the ARM EABI unwinder
- Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
Contributed by Paul Brook
This file is free software; you can redistribute it and/or modify it
@@ -264,6 +264,13 @@ extern "C" {
#define _Unwind_SetIP(context, val) \
_Unwind_SetGR (context, 15, val | (_Unwind_GetGR (context, 15) & 1))
+/* leb128 type numbers have a potentially unlimited size.
+ The target of the following definitions of _sleb128_t and _uleb128_t
+ is to have efficient data types large enough to hold the leb128 type
+ numbers used in the unwind code. */
+typedef long _sleb128_t;
+typedef unsigned long _uleb128_t;
+
#ifdef __cplusplus
} /* extern "C" */
#endif