aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernd Schmidt <bernd.schmidt@analog.com>2007-06-15 11:54:51 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2007-06-15 11:54:51 +0000
commit2f119dcccd49dcb0c8b72b4048712bdbc0e3988e (patch)
tree0e71f3a76d01f569e28e8b6596eaa3c05e7523c7 /gcc
parentbec38225d516144ffe9f291149aef57308cba9af (diff)
downloadgcc-2f119dcccd49dcb0c8b72b4048712bdbc0e3988e.zip
gcc-2f119dcccd49dcb0c8b72b4048712bdbc0e3988e.tar.gz
gcc-2f119dcccd49dcb0c8b72b4048712bdbc0e3988e.tar.bz2
elf.h (ASM_GENERATE_INTERNAL_LABEL, [...]): Delete.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/bfin/bfin.c9
-rw-r--r--gcc/config/bfin/elf.h6
3 files changed, 7 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 63ebfa0..f83983d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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,
diff --git a/gcc/config/bfin/bfin.c b/gcc/config/bfin/bfin.c
index 67c0710..a06305b 100644
--- a/gcc/config/bfin/bfin.c
+++ b/gcc/config/bfin/bfin.c
@@ -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);
-}
/* 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
diff --git a/gcc/config/bfin/elf.h b/gcc/config/bfin/elf.h
index 5148c30..a8ef51d 100644
--- a/gcc/config/bfin/elf.h
+++ b/gcc/config/bfin/elf.h
@@ -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}} \