rs6000.c (rs6000_emit_load_toc_table): Don't strdup the toc label.
* rs6000.c (rs6000_emit_load_toc_table): Don't strdup the toc label. (create_TOC_reference): Likewise. From-SVN: r46141
This commit is contained in:
parent
09eaf5a5ff
commit
b999aaebe7
|
@ -1,3 +1,9 @@
|
|||
Wed Oct 10 00:41:29 EDT 2001 John Wehle (john@feith.com)
|
||||
|
||||
* rs6000.c (rs6000_emit_load_toc_table): Don't
|
||||
strdup the toc label.
|
||||
(create_TOC_reference): Likewise.
|
||||
|
||||
2001-10-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
|
||||
|
||||
* config.gcc (i[34567]86-*-mingw32*): Make msvcrt-dependent
|
||||
|
|
|
@ -5795,7 +5795,7 @@ rs6000_emit_load_toc_table (fromprolog)
|
|||
rtx tocsym;
|
||||
static int reload_toc_labelno = 0;
|
||||
|
||||
tocsym = gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (toc_label_name));
|
||||
tocsym = gen_rtx_SYMBOL_REF (Pmode, toc_label_name);
|
||||
|
||||
ASM_GENERATE_INTERNAL_LABEL (buf, "LCG", reload_toc_labelno++);
|
||||
symF = gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (buf));
|
||||
|
@ -5872,7 +5872,7 @@ create_TOC_reference(symbol)
|
|||
gen_rtx_REG (Pmode, TOC_REGISTER),
|
||||
gen_rtx_CONST (Pmode,
|
||||
gen_rtx_MINUS (Pmode, symbol,
|
||||
gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (toc_label_name)))));
|
||||
gen_rtx_SYMBOL_REF (Pmode, toc_label_name))));
|
||||
}
|
||||
|
||||
#if TARGET_AIX
|
||||
|
|
Loading…
Reference in New Issue