r274875 - in /branches/ibm/pcrel-trunk/gcc: Cha...

meissner@gcc.gnu.org meissner@gcc.gnu.org
Fri Aug 23 20:20:00 GMT 2019


Author: meissner
Date: Fri Aug 23 20:20:22 2019
New Revision: 274875

URL: https://gcc.gnu.org/viewcvs?rev=274875&root=gcc&view=rev
Log:
Enable -mpcrel/-mprefixed-addr by default on Linux 64-bit.

2019-08-23  Michael Meissner  <meissner@linux.ibm.com>

	* config/rs6000/linux64.h (TARGET_PREFIXED_ADDR_DEFAULT): On
	'future' systems, enable prefixed addressing by default.
	(TARGET_PCREL_DEFAULT): On 'future' systems, enable pc-relative
	addressing by default.
	* config/rs6000/rs6000-cpus.def (FUTURE_ADDRESS_MASKS): New macro
	of 'future' addressing masks.
	(OTHER_FUTURE_MASKS): Use FUTURE_ADDRESS_MASKS.
	* config/rs6000/rs6000.c (TARGET_PREFIXED_ADDR_DEFAULT): If not
	defined, don't enable prefixed addressing on 'future' systems.
	(TARGET_PCREL_DEFAULT): If not defined, don't enable pc-relative
	addressing on 'future' systems.
	(rs6000_debug_reg_global): Print TARGET_PREFIXED_ADDR_DEFAULT and
	TARGET_PCREL_DEFAULT.
	(rs6000_option_override_internal): Add checks for 32-bit systems
	and non ELFv2 systems trying to enable prefixed addressing.  If
	the target OS tm.h says it is safe to do, enable prefixed and
	pc-relative addressing.


Modified:
    branches/ibm/pcrel-trunk/gcc/ChangeLog.meissner
    branches/ibm/pcrel-trunk/gcc/config/rs6000/linux64.h
    branches/ibm/pcrel-trunk/gcc/config/rs6000/rs6000-cpus.def
    branches/ibm/pcrel-trunk/gcc/config/rs6000/rs6000.c



More information about the Gcc-cvs mailing list