This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Blackfin: use normal local labels


Since before my involvement with this port, it's been generating strange
local labels of the form L$L$blah.  The reason for that is lost in the
mists of time, but I'll assume that Visual DSP used to generate that form.

There's no reason to keep doing that, though, so I've deleted all the
code responsible for it.

Committed as 125740.


Bernd
-- 
This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 125739)
+++ ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2007-06-15  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+	* config/bfin/elf.h (ASM_GENERATE_INTERNAL_LABEL,
+	LOCAL_LABEL_PREFIX): Delete.
+	* config/bfin/bfin.c (TARGET_ASM_INTERNAL_LABEL): Delete.
+	(bfin_internal_label): Delete.
+
 2007-06-15  Uros Bizjak  <ubizjak@gmail.com>
 
 	* libgcc2.c (CEXT): When compiling L_multc3 and L_divtc3,
Index: config/bfin/elf.h
===================================================================
--- config/bfin/elf.h	(revision 125716)
+++ config/bfin/elf.h	(working copy)
@@ -1,11 +1,5 @@
 #define OBJECT_FORMAT_ELF
 
-#define LOCAL_LABEL_PREFIX "L$"
-
-#undef ASM_GENERATE_INTERNAL_LABEL
-#define ASM_GENERATE_INTERNAL_LABEL(LABEL, PREFIX, NUM)		\
-     sprintf (LABEL, "*%s%s$%d", LOCAL_LABEL_PREFIX, PREFIX, (int) NUM)
-
 #undef  STARTFILE_SPEC
 #define STARTFILE_SPEC "\
 %{msim:%{!shared:crt0%O%s}} \
Index: config/bfin/bfin.c
===================================================================
--- config/bfin/bfin.c	(revision 125716)
+++ config/bfin/bfin.c	(working copy)
@@ -2741,12 +2741,6 @@ bfin_rtx_costs (rtx x, int code, int out
       return false;
     }
 }
-
-static void
-bfin_internal_label (FILE *stream, const char *prefix, unsigned long num)
-{
-  fprintf (stream, "%s%s$%ld:\n", LOCAL_LABEL_PREFIX, prefix, num);
-}
 
 /* Used for communication between {push,pop}_multiple_operation (which
    we use not only as a predicate) and the corresponding output functions.  */
@@ -5360,9 +5354,6 @@ bfin_expand_builtin (tree exp, rtx targe
 #undef  TARGET_ADDRESS_COST
 #define TARGET_ADDRESS_COST bfin_address_cost
 
-#undef TARGET_ASM_INTERNAL_LABEL
-#define TARGET_ASM_INTERNAL_LABEL bfin_internal_label
-
 #undef  TARGET_ASM_INTEGER
 #define TARGET_ASM_INTEGER bfin_assemble_integer
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]