aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2004-09-10 19:03:13 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2004-09-10 19:03:13 +0000
commit375d2edc9f376bd6bb0e102075744664edb0c6c3 (patch)
tree1e94e6ae42e1b69753445c8709d3b5658b924507 /gcc/except.c
parentc383c15f2961771877e363073e38ef371405f0dc (diff)
downloadgcc-375d2edc9f376bd6bb0e102075744664edb0c6c3.zip
gcc-375d2edc9f376bd6bb0e102075744664edb0c6c3.tar.gz
gcc-375d2edc9f376bd6bb0e102075744664edb0c6c3.tar.bz2
dbxout.c (dbxout_block): Update for current_function_func_begin_label a string.
* dbxout.c (dbxout_block): Update for current_function_func_begin_label a string. * dwarf2out.c (dwarf2out_begin_prologue): Likewise. * except.c (dw2_output_call_site_table): Likewise. * toplev.c (current_function_func_begin_label): Likewise. * tree.h (current_function_func_begin_label): Likewise. * config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Likewise. From-SVN: r87317
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/gcc/except.c b/gcc/except.c
index b09ff83..9e3c06d 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -3476,8 +3476,6 @@ sjlj_size_of_call_site_table (void)
static void
dw2_output_call_site_table (void)
{
- const char *const function_start_lab
- = IDENTIFIER_POINTER (current_function_func_begin_label);
int n = cfun->eh->call_site_data_used;
int i;
@@ -3500,21 +3498,25 @@ dw2_output_call_site_table (void)
/* ??? Perhaps use attr_length to choose data1 or data2 instead of
data4 if the function is small enough. */
#ifdef HAVE_AS_LEB128
- dw2_asm_output_delta_uleb128 (reg_start_lab, function_start_lab,
+ dw2_asm_output_delta_uleb128 (reg_start_lab,
+ current_function_func_begin_label,
"region %d start", i);
dw2_asm_output_delta_uleb128 (reg_end_lab, reg_start_lab,
"length");
if (cs->landing_pad)
- dw2_asm_output_delta_uleb128 (landing_pad_lab, function_start_lab,
+ dw2_asm_output_delta_uleb128 (landing_pad_lab,
+ current_function_func_begin_label,
"landing pad");
else
dw2_asm_output_data_uleb128 (0, "landing pad");
#else
- dw2_asm_output_delta (4, reg_start_lab, function_start_lab,
+ dw2_asm_output_delta (4, reg_start_lab,
+ current_function_func_begin_label,
"region %d start", i);
dw2_asm_output_delta (4, reg_end_lab, reg_start_lab, "length");
if (cs->landing_pad)
- dw2_asm_output_delta (4, landing_pad_lab, function_start_lab,
+ dw2_asm_output_delta (4, landing_pad_lab,
+ current_function_func_begin_label,
"landing pad");
else
dw2_asm_output_data (4, 0, "landing pad");