This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 12945: Reduce use of MIPS explicit-relocs


> 
> Patch tested in the same way as before.  OK to install?

> 
> 
> 	PR target/12945
> 	* coverage.c (coverage_counter_alloc): Set the SYMBOL_REF_LOCAL
> 	flag 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.


OK. (and yes, I think that the coverage.c is obvious too)

-eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]