summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/unwind-dw2-fde.c10
2 files changed, 3 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4ceac4cb664..25caf8dcf37 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2001-06-11 Richard Henderson <rth@redhat.com>
+ * unwind-dw2-fde.c (__deregister_frame_info): Don't play games
+ with alias attribute.
+
* config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
* config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise.
diff --git a/gcc/unwind-dw2-fde.c b/gcc/unwind-dw2-fde.c
index 6da2c7384fd..8370e7a77de 100644
--- a/gcc/unwind-dw2-fde.c
+++ b/gcc/unwind-dw2-fde.c
@@ -197,21 +197,11 @@ __deregister_frame_info_bases (void *begin)
return (void *) ob;
}
-#ifdef ASM_OUTPUT_DEF
-/* Note that __USER_LABEL_PREFIX__ is not a string. Stringize it. */
-#define STR1(X) #X
-#define STR(X) STR1(X)
-void *
-__deregister_frame_info (void *)
- __attribute__((alias(STR(__USER_LABEL_PREFIX__)
- "__deregister_frame_info_bases")));
-#else
void *
__deregister_frame_info (void *begin)
{
return __deregister_frame_info_bases (begin);
}
-#endif
void
__deregister_frame (void *begin)