Commit 89c01f0e by Geoff Keating Committed by Geoffrey Keating

rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME for vtable references.

* config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
for vtable references.

From-SVN: r35163
parent 1e66d555
2000-07-20 Geoff Keating <geoffk@cygnus.com>
* config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
for vtable references.
* config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
choice, don't put integer values in FP regs.
......
......@@ -6647,9 +6647,9 @@ output_toc (file, x, labelno)
a TOC reference to an unknown section. Thus, for vtables only,
we emit the TOC reference to reference the symbol and not the
section. */
if (! strncmp ("_vt.", name, 4))
if (strncmp ("_vt.", name, 4) == 0)
{
assemble_name (file, name);
RS6000_OUTPUT_BASENAME (file, name);
if (offset < 0)
fprintf (file, "%d", offset);
else if (offset > 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment