Skip to content
Snippets Groups Projects
  • Olivier Hainque's avatar
    7fa1b2c8
    Handle use of r18 as a TCB pointer on aarch64-vxworks · 7fa1b2c8
    Olivier Hainque authored
    Pick an alternate static chain regnum and document that
    the port needs to be configured to issue -ffixed-r18 by
    default.  The current definition of TARGET_OS_USES_R18 is
    not honored by the common part of the back-end.
    
    2020-11-04  Olivier Hainque  <hainque@adacore.com>
    
    gcc/
    	* config/aarch64/aarch64-vxworks.h (TARGET_OS_USES_R18):
    	Remove definition.
    	(STATIC_CHAIN_REGNUM): Redefine to 9.
    7fa1b2c8
    History
    Handle use of r18 as a TCB pointer on aarch64-vxworks
    Olivier Hainque authored
    Pick an alternate static chain regnum and document that
    the port needs to be configured to issue -ffixed-r18 by
    default.  The current definition of TARGET_OS_USES_R18 is
    not honored by the common part of the back-end.
    
    2020-11-04  Olivier Hainque  <hainque@adacore.com>
    
    gcc/
    	* config/aarch64/aarch64-vxworks.h (TARGET_OS_USES_R18):
    	Remove definition.
    	(STATIC_CHAIN_REGNUM): Redefine to 9.