#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
#
# Copyright 2012, Richard Lowe.
# We have to use GCC, and only GCC. The best way is to ask cw(1) which GCC to use.
.c.o:
$(COMPILE.c)
.s.o:
$(COMPILE.s)
# A basic use of TLS that uses the movq m/r --> movq i/r variant
style2: $(STYLE2OBJS)
$(LINK.c)
# A copy of style2 that uses %r13 in the TLS sequence, and thus excercises the
# REX transitions of the movq mem,reg -> movq imm,reg variant.
$(LINK.c)
# A copy of style2 that uses %r12 in the TLS sequence, so we can verify that
# it is _not_ special to this variant
$(LINK.c)
# A copy of style2 that has a R_AMD64_GOTTPOFF relocation with a bad insn sequence
-$(LINK.c)
style1: $(STYLE1OBJS)
$(LINK.c)
# A copy of style1-func that uses %r13 in the TLS sequence and thus excercises
# the REX transitions. of the addq mem,reg --> leaq mem,reg variant
$(LINK.c)
# A copy of style1-func that uses %r12 to test the addq mem,reg --> addq imm,reg variant
$(LINK.c)
FRC: