From: David S. Miller Date: Sat, 12 Nov 2011 01:05:07 +0000 (+0000) Subject: Fix Linux/sparc build after generic asm output optimizations. X-Git-Tag: releases/gcc-4.7.0~2233 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49db0ca8f69e3a01f38c177d424f89afb056755b;p=thirdparty%2Fgcc.git Fix Linux/sparc build after generic asm output optimizations. * config/sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Delete. * config/sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Delete. From-SVN: r181307 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 73bec2249f27..62ae4a10086c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-11-11 David S. Miller + + * config/sparc/linux.h (ASM_GENERATE_INTERNAL_LABEL): Delete. + * config/sparc/linux64.h (ASM_GENERATE_INTERNAL_LABEL): Delete. + 2011-11-11 Jakub Jelinek * config/i386/i386-protos.h (ix86_maybe_emit_epilogue_vzeroupper): diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 443c79664052..60dc86976e3d 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -118,15 +118,6 @@ do { \ #undef LOCAL_LABEL_PREFIX #define LOCAL_LABEL_PREFIX "." -/* This is how to store into the string LABEL - the symbol_ref name of an internal numbered label where - PREFIX is the class of label and NUM is the number within the class. - This is suitable for output with `assemble_name'. */ - -#undef ASM_GENERATE_INTERNAL_LABEL -#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \ - sprintf (LABEL, "*.L%s%ld", PREFIX, (long)(NUM)) - /* Define for support of TFmode long double. SPARC ABI says that long double is 4 words. */ diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index bec279de8c90..14966b97fc33 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -236,15 +236,6 @@ do { \ #undef LOCAL_LABEL_PREFIX #define LOCAL_LABEL_PREFIX "." -/* This is how to store into the string LABEL - the symbol_ref name of an internal numbered label where - PREFIX is the class of label and NUM is the number within the class. - This is suitable for output with `assemble_name'. */ - -#undef ASM_GENERATE_INTERNAL_LABEL -#define ASM_GENERATE_INTERNAL_LABEL(LABEL,PREFIX,NUM) \ - sprintf (LABEL, "*.L%s%ld", PREFIX, (long)(NUM)) - /* DWARF bits. */ /* Follow Irix 6 and not the Dwarf2 draft in using 64-bit offsets.