Commit a86d4a91 by J. David Anglin Committed by Jeff Law

vax.h (ASM_SPEC): Pass `-J' to assembler.

        * vax.h (ASM_SPEC): Pass `-J' to assembler.
        * x-vax-gcc: New file for bootstrapping with gcc.
        * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
        * configure.in: Use x-vax-gcc with gcc.
        * configure: Rebuilt.

From-SVN: r35894
parent cb753e49
......@@ -24,6 +24,10 @@ Boston, MA 02111-1307, USA. */
#define CPP_PREDEFINES "-Dvax -D__vax__ -Dunix -Asystem(unix) -Asystem(bsd) -Acpu(vax) -Amachine(vax)"
/* Use -J option for long branch support with Unix assembler. */
#define ASM_SPEC "-J"
/* If using g-format floating point, alter math.h. */
#define CPP_SPEC "%{mg:%{!ansi:-DGFLOAT} -D__GFLOAT}"
......
# If compiling GCC with the Unix assembler, -J will handle a large function.
# With GAS, it should have no effect.
X_CPPFLAGS = -J
# If compiling GCC with the Unix compiler and assembler, -J will handle
# functions with branch instructions longer than 32k bytes. The Unix
# compiler passes the -J argument onto the assembler. The Unix assembler
# requires it to resolve jumps when byte-displacement branches are
# insufficient. GAS ignores -J but automatically extends branches as
# necessary. GCC ignores -J as well (warning). Thus, another mechanism
# is needed to pass -J when using GCC. The -Wa,-J option can't be used
# directly since it is not compatible with the Unix compiler. The current
# solution is to use ASM_SPEC to pass -J to the assembler.
X_CFLAGS = -J
......@@ -3670,6 +3670,10 @@ changequote([,])dnl
;;
vax-*-ultrix*) # vaxen running ultrix
tm_file="${tm_file} vax/ultrix.h"
if test x$GCC = xyes
then
xmake_file=vax/x-vax-gcc
fi
use_collect2=yes
float_format=vax
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment