diff options
| author | skrll <skrll@NetBSD.org> | 2006-02-02 20:58:06 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2006-02-02 20:58:06 +0000 |
| commit | 8d2c6a4e34b1fbb538663dee24b3dce5a6ad7ce8 (patch) | |
| tree | 01a760df00b921200616456eed856334b4fdd092 /gnu/dist/binutils/libiberty/dyn-string.c | |
| parent | 27523fbf84c1ee6539d56f021f9ed5f7f9a0dd70 (diff) | |
Import binutils 2.16.1.
Diffstat (limited to 'gnu/dist/binutils/libiberty/dyn-string.c')
| -rw-r--r-- | gnu/dist/binutils/libiberty/dyn-string.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gnu/dist/binutils/libiberty/dyn-string.c b/gnu/dist/binutils/libiberty/dyn-string.c index 1da76c2110d..5d48cdc6955 100644 --- a/gnu/dist/binutils/libiberty/dyn-string.c +++ b/gnu/dist/binutils/libiberty/dyn-string.c @@ -1,5 +1,5 @@ /* An abstract string datatype. - Copyright (C) 1998, 1999, 2000, 2002 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2002, 2004 Free Software Foundation, Inc. Contributed by Mark Mitchell (mark@markmitchell.com). This file is part of GNU CC. @@ -45,15 +45,6 @@ Boston, MA 02111-1307, USA. */ #include "libiberty.h" #include "dyn-string.h" -/* If this file is being compiled for inclusion in the C++ runtime - library, as part of the demangler implementation, we don't want to - abort if an allocation fails. Instead, percolate an error code up - through the call chain. */ - -#if defined(IN_LIBGCC2) || defined(IN_GLIBCPP_V3) -#define RETURN_ON_ALLOCATION_FAILURE -#endif - /* Performs in-place initialization of a dyn_string struct. This function can be used with a dyn_string struct on the stack or embedded in another object. The contents of of the string itself |
