diff options
author | Alan Modra <amodra@bigpond.net.au> | 2007-04-21 05:15:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2007-04-21 05:15:41 +0000 |
commit | 6f9facd68a754543a6856f6a92c83df1344dd89a (patch) | |
tree | a6b05d40ae9e396d102f9f42d9abe17e7cd70758 /gas/as.h | |
parent | 906d202b2fb5f7ddcf689f172ffb1f53127191aa (diff) | |
download | binutils-redhat-6f9facd68a754543a6856f6a92c83df1344dd89a.tar.gz |
* 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 */ |