elf.h (ASM_GENERATE_INTERNAL_LABEL, [...]): Delete.
authorBernd Schmidt <bernd.schmidt@analog.com>
Fri, 15 Jun 2007 11:54:51 +0000 (11:54 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Fri, 15 Jun 2007 11:54:51 +0000 (11:54 +0000)
* 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.

From-SVN: r125740

gcc/ChangeLog
gcc/config/bfin/bfin.c
gcc/config/bfin/elf.h

index 63ebfa087b1454e24e883a2a2ec8273ea4cb01e4..f83983d98f19d7288dcdbcefd790bdf8b91238cf 100644 (file)
@@ -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 67c0710c881e3421dd2ed0fa1175256051ee2b44..a06305beabbc548957eba6d76371d956df1f6992 100644 (file)
@@ -2741,12 +2741,6 @@ bfin_rtx_costs (rtx x, int code, int outer_code, int *total)
       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);
-}
 \f
 /* 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 target ATTRIBUTE_UNUSED,
 #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 5148c3095e9f27ed8cafb7816a8f55bcea4c423a..a8ef51d060c9cb2abc99bfebc2f600378d5dfae1 100644 (file)
@@ -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}} \