From 49db0ca8f69e3a01f38c177d424f89afb056755b Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Sat, 12 Nov 2011 01:05:07 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/sparc/linux.h | 9 --------- gcc/config/sparc/linux64.h | 9 --------- 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 73bec2249f2..62ae4a10086 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 443c7966405..60dc86976e3 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 bec279de8c9..14966b97fc3 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. -- 2.30.2