diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2006-10-06 08:25:32 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2006-10-06 08:25:32 +0000 |
commit | 8887708edc83bd88890140789324c0880ecbe1ca (patch) | |
tree | 55dcd432e0762732c873c541d298ad4ca3fbae32 /libgomp/fortran.c | |
parent | 76be85be9c5401ec79f24e4139e783df970d7560 (diff) | |
download | gcc-8887708edc83bd88890140789324c0880ecbe1ca.tar.gz |
acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
* configure: Regenerate.
* fortran.c (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias.
From-SVN: r117490
Diffstat (limited to 'libgomp/fortran.c')
-rw-r--r-- | libgomp/fortran.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libgomp/fortran.c b/libgomp/fortran.c index a6f217ddbde..f6f64c61be2 100644 --- a/libgomp/fortran.c +++ b/libgomp/fortran.c @@ -33,8 +33,11 @@ #ifdef HAVE_ATTRIBUTE_ALIAS /* Use internal aliases if possible. */ +#define ULP STR1(__USER_LABEL_PREFIX__) +#define STR1(x) STR2(x) +#define STR2(x) #x # define ialias_redirect(fn) \ - extern __typeof (fn) fn __asm__ ("gomp_ialias_" #fn) attribute_hidden; + extern __typeof (fn) fn __asm__ (ULP "gomp_ialias_" #fn) attribute_hidden; ialias_redirect (omp_init_lock) ialias_redirect (omp_init_nest_lock) ialias_redirect (omp_destroy_lock) |