From 7b8e0d49cbfd8a911978d4b72f3d97e11a6d34ec Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Tue, 10 Jul 2012 14:30:24 +0200 Subject: Get rid of ASM_GLOBAL_DIRECTIVE. --- locale/localeinfo.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'locale') diff --git a/locale/localeinfo.h b/locale/localeinfo.h index 52f8121375..39c15989f2 100644 --- a/locale/localeinfo.h +++ b/locale/localeinfo.h @@ -255,11 +255,8 @@ extern __thread struct __locale_data *const *_nl_current_##category \ #define _NL_CURRENT_DEFINE(category) \ __thread struct __locale_data *const *_nl_current_##category \ attribute_hidden = &_nl_global_locale.__locales[category]; \ - asm (_NL_CURRENT_DEFINE_STRINGIFY (ASM_GLOBAL_DIRECTIVE) \ - " " __SYMBOL_PREFIX "_nl_current_" #category "_used\n" \ + asm (".globl " __SYMBOL_PREFIX "_nl_current_" #category "_used\n" \ _NL_CURRENT_DEFINE_ABS (_nl_current_##category##_used, 1)); -#define _NL_CURRENT_DEFINE_STRINGIFY(x) _NL_CURRENT_DEFINE_STRINGIFY_1 (x) -#define _NL_CURRENT_DEFINE_STRINGIFY_1(x) #x #ifdef HAVE_ASM_SET_DIRECTIVE # define _NL_CURRENT_DEFINE_ABS(sym, val) ".set " #sym ", " #val #else -- cgit v1.2.3