]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* unwind-dw2.c (_Unwind_DebugHook): Add used and noclone attributes.
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Apr 2010 09:40:46 +0000 (09:40 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Apr 2010 09:40:46 +0000 (09:40 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158773 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/unwind-dw2.c

index 95444f190380a02e66a49a298bdd36d83bfa1c8d..fe4e26ec3495402893447cf19f55db8088635aaa 100644 (file)
@@ -1,3 +1,7 @@
+2010-04-27  Jakub Jelinek  <jakub@redhat.com>
+
+       * unwind-dw2.c (_Unwind_DebugHook): Add used and noclone attributes.
+
 2010-04-27  Bernd Schmidt  <bernds@codesourcery.com>
 
        PR target/40657
index 65d639d4301f6d036cbaf4f7acd4c0a92e5db4bc..2ea9adb06eab4f6acc17e2960f486bf9fa49395b 100644 (file)
@@ -1482,7 +1482,8 @@ uw_init_context_1 (struct _Unwind_Context *context,
   context->ra = __builtin_extract_return_addr (outer_ra);
 }
 
-static void _Unwind_DebugHook (void *, void *) __attribute__ ((__noinline__));
+static void _Unwind_DebugHook (void *, void *)
+  __attribute__ ((__noinline__, __used__, __noclone__));
 
 /* This function is called during unwinding.  It is intended as a hook
    for a debugger to intercept exceptions.  CFA is the CFA of the