diff options
author | Geoff Keating <geoffk@cygnus.com> | 2000-07-21 00:45:19 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2000-07-21 00:45:19 +0000 |
commit | 89c01f0e759a74a8e2917733b1328c2a29f98a7d (patch) | |
tree | a38214bbe9d2fe6519a229399c5d2ab04fbf6de4 /gcc | |
parent | 1e66d5559115b2cc657846ed95c9548dee14f235 (diff) | |
download | gcc-89c01f0e759a74a8e2917733b1328c2a29f98a7d.zip gcc-89c01f0e759a74a8e2917733b1328c2a29f98a7d.tar.gz gcc-89c01f0e759a74a8e2917733b1328c2a29f98a7d.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 3 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 985e5c9..cefab9f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 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. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ba8562b..ecbcb28 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -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) |