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]

improve support for vxworks TLS, available for RTPs on VX7


Hello,

VxWorks 7 features TLS support for RTPs. This patch adjusts the VxWorks
configuration to leverage this.

I checked that a toolchain+libgcc build passes on mainline and this is passing
ACATS on a gcc-7 based development port in-house.

With Kind Regards,

Olivier

2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
            Olivier Hainque  <hainque@adacore.com>

 	* config/vxworks.h (VXWORKS_LIB_SPEC): Incorporate ...
	(TLS_SYM): New local macro, forcing reference to __tls__ on
	link command lines for VxWorks 7 RTPs, triggering initialization
	of tlsLib.
	(VXWORKS_HAVE_TLS): New macro. State whether the target VxWorks
	OS features TLS support, true for RTPs on VxWorks 7.
    	* config/vxworks.c (vxworks_override_options): Setup emutls
    	accordingly.

Attachment: 0004-improve-support-for-vxworks-TLS-available-for-RTPs-o.patch
Description: Binary data


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