diff options
author | Alan Modra <amodra@gmail.com> | 2007-04-21 05:15:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2007-04-21 05:15:41 +0000 |
commit | c43a438d5eb0a2e19397a4c0fb51ce3a68ed1503 (patch) | |
tree | 3dd24ccc5105a905d362369120b9c118e42752a0 /gas/as.h | |
parent | 717bbdf18106a202656b1f34c03b02f52b84a849 (diff) | |
download | gdb-c43a438d5eb0a2e19397a4c0fb51ce3a68ed1503.zip gdb-c43a438d5eb0a2e19397a4c0fb51ce3a68ed1503.tar.gz gdb-c43a438d5eb0a2e19397a4c0fb51ce3a68ed1503.tar.bz2 |
* as.h (ENABLE_CHECKING): Default define to 0.
(know): Assert if ENABLE_CHECKING.
(struct relax_type): Remove superfluous declaration.
* configure.in (--enable-checking): New.
* configure: Regenerate.
* config.in: Regenerate.
* config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
Check for duplicate powerpc_operands entries.
Diffstat (limited to 'gas/as.h')
-rw-r--r-- | gas/as.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -258,7 +258,11 @@ typedef addressT valueT; #endif /* COMMON now defined */ -#ifdef DEBUG +#ifndef ENABLE_CHECKING +#define ENABLE_CHECKING 0 +#endif + +#if ENABLE_CHECKING || defined (DEBUG) #ifndef know #define know(p) assert(p) /* Verify our assumptions! */ #endif /* not yet defined */ @@ -566,7 +570,6 @@ segT subseg_get (const char *, int); struct expressionS; struct fix; typedef struct symbol symbolS; -struct relax_type; typedef struct frag fragS; /* literal.c */ |