re PR c++/12945 (MIPS g++.old-deja/g++.abi/ptrflags.C fails.)
authorRichard Sandiford <rsandifo@redhat.com>
Mon, 5 Jan 2004 09:37:02 +0000 (09:37 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 5 Jan 2004 09:37:02 +0000 (09:37 +0000)
commitf614987783f01c11da3c9ea09311404a18f4a6c6
tree078985001ae1284e55bddf83530b7699db67b35e
parent816bc01fa3902979e7cfa1b776e939d0d78a6fe7
re PR c++/12945 (MIPS g++.old-deja/g++.abi/ptrflags.C fails.)

PR target/12945
* coverage.c (coverage_counter_alloc): Set SYMBOL_FLAG_LOCAL for
for counter labels.
* config/mips/mips.c (INTERNAL_SYMBOL_P): Delete.
(mips_classify_symbol): Always treat SYMBOL_REF_FLAG as indicating
string constants if TARGET_MIPS16.  Use SYMBOL_REF_DECL to check
the binding of decl symbols, otherwise check SYMBOL_REF_LOCAL_P.
(mips_symbol_insns): Don't trust the local/global classification.
(m16_usym8_4, m16_usym5_4): Same mips16 change as mips_classify_symbol.
(override_options): Make -mabicalls -fno-unit-at-a-time imply
-mno-explicit-relocs.
(mips_encode_section_info): Don't use SYMBOL_REF_FLAG to distinguish
between local and global symbols.

From-SVN: r75422
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/coverage.c