From 66ecbefa3d04f10368733c8f791c708bf6498e0a Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 7 May 2002 01:19:56 +0000 Subject: The HAVE_AS_GOTOFF_IN_DATA definition needs to depend on obj format. --- gnu/usr.bin/cc/cc_tools/auto-host.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu') diff --git a/gnu/usr.bin/cc/cc_tools/auto-host.h b/gnu/usr.bin/cc/cc_tools/auto-host.h index d14c345c79b2..512302836903 100644 --- a/gnu/usr.bin/cc/cc_tools/auto-host.h +++ b/gnu/usr.bin/cc/cc_tools/auto-host.h @@ -551,7 +551,8 @@ /* #undef HAVE_AS_OFFSETABLE_LO10 */ /* Define true if the assembler supports '.long foo@GOTOFF'. */ -#define HAVE_AS_GOTOFF_IN_DATA 1 +/* DEO:XXX match TARGET_ELF definition in i386/freebsd.h. */ +#define HAVE_AS_GOTOFF_IN_DATA ((target_flags & MASK_AOUT) == 0) /* Define if your assembler supports dwarf2 .file/.loc directives, and preserves file table indices exactly as given. */ -- cgit v1.3