summaryrefslogtreecommitdiff
path: root/libgomp/fortran.c
diff options
context:
space:
mode:
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-06 08:25:32 +0000
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2006-10-06 08:25:32 +0000
commitc812091b10ad032479169662d108c573950b9829 (patch)
tree55dcd432e0762732c873c541d298ad4ca3fbae32 /libgomp/fortran.c
parentb116ae74d21752add11f3dc1a53d68887d600f4b (diff)
downloadgcc-c812091b10ad032479169662d108c573950b9829.tar.gz
* acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from test.
* configure: Regenerate. * fortran.c (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117490 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/fortran.c')
-rw-r--r--libgomp/fortran.c5
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)