Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/i386/linux-unwind.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* DWARF2 EH unwinding support for AMD x86-64 and x86. | 1 /* DWARF2 EH unwinding support for AMD x86-64 and x86. |
2 Copyright (C) 2004, 2005, 2006, 2009 Free Software Foundation, Inc. | 2 Copyright (C) 2004, 2005, 2006, 2009, 2010 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify | 6 GCC is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
104 | 104 |
105 /* There's no sys/ucontext.h for glibc 2.0, so no | 105 /* There's no sys/ucontext.h for glibc 2.0, so no |
106 signal-turned-exceptions for them. There's also no configure-run for | 106 signal-turned-exceptions for them. There's also no configure-run for |
107 the target, so we can't check on (e.g.) HAVE_SYS_UCONTEXT_H. Using the | 107 the target, so we can't check on (e.g.) HAVE_SYS_UCONTEXT_H. Using the |
108 target libc version macro should be enough. */ | 108 target libc version macro should be enough. */ |
109 #if !(__GLIBC__ == 2 && __GLIBC_MINOR__ == 0) | 109 #if defined __GLIBC__ && !(__GLIBC__ == 2 && __GLIBC_MINOR__ == 0) |
110 | 110 |
111 #include <signal.h> | 111 #include <signal.h> |
112 #include <sys/ucontext.h> | 112 #include <sys/ucontext.h> |
113 | 113 |
114 #define MD_FALLBACK_FRAME_STATE_FOR x86_fallback_frame_state | 114 #define MD_FALLBACK_FRAME_STATE_FOR x86_fallback_frame_state |