OSDN Git Service

* gcc/config/arm/unwind-arm.h (_sleb128_t, _uleb128_t): New.
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Jan 2007 05:23:09 +0000 (05:23 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Jan 2007 05:23:09 +0000 (05:23 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121377 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 9bda36f..8c0bbcb 100644 (file)
@@ -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.
index a3040d7..1645330 100644 (file)
@@ -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