From 733efff804ae11ed85015716ce3845eb9cc54d04 Mon Sep 17 00:00:00 2001 From: toy <toy> Date: Wed, 19 Mar 2003 21:19:10 +0000 Subject: [PATCH] Add some comments that we should turn on AS_V8PLUS when the resulting Lisp core has :sparc-v9 feature. We use v9 instructions so we are a v8plus app. --- lisp/Config.sun4_solaris_gcc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/Config.sun4_solaris_gcc b/lisp/Config.sun4_solaris_gcc index 6dc0d68de..cc05c2e7d 100644 --- a/lisp/Config.sun4_solaris_gcc +++ b/lisp/Config.sun4_solaris_gcc @@ -14,10 +14,15 @@ vpath %.S .:$(PATH1) # architectures), uncomment the definitions for CC_V8PLUS and # AS_V8PLUS. The -Wa,xarch=v8plus option tells the assembler to # accept v8plus instructions and generate a v8plus object files and -# executable +# executable. +# +# However, we should also make sure the binary is marked as v8plus by +# enabling AS_V8PLUS whenever we have the :sparc-v9 *feature* enabled +# because we really are a v8plus application by using some of the v9 +# instructions, even if we don't use the 64-bit registers. #CC_V8PLUS = -xarch=v8plus -#AS_V8PLUS = -Wa +#AS_V8PLUS = -Wa,-xarch=v8plus # Enable support for :linkage-table feature. -- GitLab