From a7aa7a2ba9d572c6ff085f28d540cd623214c63b Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 5 Jul 1995 21:52:10 +0000 Subject: * config/tc-sparc.c (md_shortopts): Add "K:" if OBJ_ELF. (md_parse_option): If OBJ_ELF, check for -K. Die if -K PIC, since PIC code is not currently supported. * as.c (parse_args): Change std_shortopts to be an array rather than a constant string. Only include 'K' if WORKING_DOT_WORD is not defined. Only check for 'K' in that case as well. * as.h (flag_warn_displacement): Only declare if WORKING_DOT_WORD is not defined. PR 7131. --- gas/as.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gas/as.h') diff --git a/gas/as.h b/gas/as.h index 7477388..252106c 100644 --- a/gas/as.h +++ b/gas/as.h @@ -473,7 +473,9 @@ COMMON fragS bss_address_frag; COMMON unsigned char flag_no_comments; /* -f */ COMMON unsigned char flag_debug; /* -D */ COMMON unsigned char flag_signed_overflow_ok; /* -J */ +#ifndef WORKING_DOT_WORD COMMON unsigned char flag_warn_displacement; /* -K */ +#endif /* True if local symbols should be retained. */ COMMON unsigned char flag_keep_locals; /* -L */ @@ -627,6 +629,9 @@ valueT add_to_literal_pool PARAMS ((struct symbol *, valueT, segT, int)); #include "tc.h" #include "obj.h" +#ifdef USE_EMULATIONS +#include "emul.h" +#endif #include "listing.h" #ifndef LOCAL_LABELS_DOLLAR -- cgit v1.1