From 7ac76c854199dad58be24fdb183141d3a06db997 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 22 May 2001 18:26:01 -0700 Subject: [PATCH] unwind-dw2-fde.c (__deregister_frame_info): Stringize use of __USER_LABEL_PREFIX__. * unwind-dw2-fde.c (__deregister_frame_info): Stringize use of __USER_LABEL_PREFIX__. From-SVN: r42475 --- gcc/ChangeLog | 5 +++++ gcc/unwind-dw2-fde.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f33c86f404f..7adb77c9762 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-05-22 Richard Henderson + + * unwind-dw2-fde.c (__deregister_frame_info): Stringize use + of __USER_LABEL_PREFIX__. + 2001-05-22 Richard Henderson * unwind-dw2-fde.c (__deregister_frame_info): Stubbify in favour of... diff --git a/gcc/unwind-dw2-fde.c b/gcc/unwind-dw2-fde.c index 7b5c7574d9c..c486f50b176 100644 --- a/gcc/unwind-dw2-fde.c +++ b/gcc/unwind-dw2-fde.c @@ -198,9 +198,13 @@ __deregister_frame_info_bases (void *begin) } #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(__USER_LABEL_PREFIX__ "__deregister_frame_info_bases"))); + __attribute__((alias(STR(__USER_LABEL_PREFIX__) + "__deregister_frame_info_bases"))); #else void * __deregister_frame_info (void *begin) -- 2.30.2