diff options
author | ctice <ctice@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-29 17:47:31 +0000 |
---|---|---|
committer | ctice <ctice@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-29 17:47:31 +0000 |
commit | 48eb5ed635c92cfd0605cee21485f98bb8b353ff (patch) | |
tree | 5cca8a84ab01c0ecb7963b98edc062a4477bc0ae /gcc | |
parent | 9c8a72a58a04bd85c6d259b4c68fac92731f940b (diff) | |
download | ppe42-gcc-48eb5ed635c92cfd0605cee21485f98bb8b353ff.tar.gz ppe42-gcc-48eb5ed635c92cfd0605cee21485f98bb8b353ff.zip |
2005-06-29 Caroline Tice <ctice@apple.com>
Fix PR 21956
* varasm.c (assemble_start_function): Add "L" to beginning of
local labels, so assembler & linker treat them as local.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101432 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/varasm.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c13d7f8d77a..8ad8dd7dce7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-06-29 Caroline Tice <ctice@apple.com> + + Fix PR 21956 + * varasm.c (assemble_start_function): Add "L" to beginning of + local labels, so assembler & linker treat them as local. + 2005-06-29 Richard Henderson <rth@redhat.com> * config/i386/i386.c (ix86_expand_int_vcond): Remove unsignedp diff --git a/gcc/varasm.c b/gcc/varasm.c index e5d36498051..3c1eb115235 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1234,13 +1234,13 @@ assemble_start_function (tree decl, const char *fnname) first_function_block_is_cold = false; if (flag_reorder_blocks_and_partition) { - ASM_GENERATE_INTERNAL_LABEL (tmp_label, "HOTB", const_labelno); + ASM_GENERATE_INTERNAL_LABEL (tmp_label, "LHOTB", const_labelno); cfun->hot_section_label = ggc_strdup (tmp_label); - ASM_GENERATE_INTERNAL_LABEL (tmp_label, "COLDB", const_labelno); + ASM_GENERATE_INTERNAL_LABEL (tmp_label, "LCOLDB", const_labelno); cfun->cold_section_label = ggc_strdup (tmp_label); - ASM_GENERATE_INTERNAL_LABEL (tmp_label, "HOTE", const_labelno); + ASM_GENERATE_INTERNAL_LABEL (tmp_label, "LHOTE", const_labelno); cfun->hot_section_end_label = ggc_strdup (tmp_label); - ASM_GENERATE_INTERNAL_LABEL (tmp_label, "COLDE", const_labelno); + ASM_GENERATE_INTERNAL_LABEL (tmp_label, "LCOLDE", const_labelno); cfun->cold_section_end_label = ggc_strdup (tmp_label); const_labelno++; } |