aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2001-11-28 17:00:46 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2001-11-28 17:00:46 +0000
commitacebd4ce9d135c9137438c98fade24062071c7b6 (patch)
treeeb4765630f56885d7e1019a263adcdc2a07024f8 /gas/config
parent5c3cf190c0ee98cfade016748df228c6dc559fab (diff)
downloadgdb-acebd4ce9d135c9137438c98fade24062071c7b6.zip
gdb-acebd4ce9d135c9137438c98fade24062071c7b6.tar.gz
gdb-acebd4ce9d135c9137438c98fade24062071c7b6.tar.bz2
* as.c (parse_args): Call md_after_parse_args if defined.
* config/tc-ia64.h (md_after_parse_args): Define. * config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs. * doc/internals.texi (CPU backend): Document md_after_parse_args.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-ia64.c7
-rw-r--r--gas/config/tc-ia64.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index d2523cf..8c98cc2 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -6310,6 +6310,13 @@ IA-64 options:\n\
stream);
}
+void
+ia64_after_parse_args ()
+{
+ if (debug_type == DEBUG_STABS)
+ as_fatal (_("--gstabs is not supported for ia64"));
+}
+
/* Return true if TYPE fits in TEMPL at SLOT. */
static int
diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h
index 7921abf..320798b 100644
--- a/gas/config/tc-ia64.h
+++ b/gas/config/tc-ia64.h
@@ -86,6 +86,7 @@ extern int ia64_elf_section_type PARAMS ((const char *, size_t len));
extern long ia64_pcrel_from_section PARAMS ((struct fix *fix, segT sec));
extern void ia64_md_do_align PARAMS ((int, const char *, int, int));
extern void ia64_handle_align PARAMS ((fragS *f));
+extern void ia64_after_parse_args PARAMS ((void));
#define md_end() ia64_end_of_source ()
#define md_start_line_hook() ia64_start_line ()
@@ -114,6 +115,7 @@ extern void ia64_handle_align PARAMS ((fragS *f));
#define md_do_align(n,f,l,m,j) ia64_md_do_align (n,f,l,m)
#define HANDLE_ALIGN(f) ia64_handle_align (f)
#define md_elf_section_type(str,len) ia64_elf_section_type (str, len)
+#define md_after_parse_args() ia64_after_parse_args ()
#define MAX_MEM_FOR_RS_ALIGN_CODE (15 + 16)