From c9cde24cd15bdce1575b0d415d5cd1a78bcaf97b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 31 Jan 2007 05:23:09 +0000 Subject: [PATCH] * gcc/config/arm/unwind-arm.h (_sleb128_t, _uleb128_t): New. From-SVN: r121377 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/unwind-arm.h | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9bda36fc1c4a..8c0bbcbea076 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2007-01-31 Kazu Hirata + + * gcc/config/arm/unwind-arm.h (_sleb128_t, _uleb128_t): New. + 2007-01-30 Eric Christopher * config.gcc: Add geode. diff --git a/gcc/config/arm/unwind-arm.h b/gcc/config/arm/unwind-arm.h index a3040d7ad777..164533058749 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