summaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-01-21 05:54:38 +0000
committerBen Elliston <bje@au.ibm.com>2005-01-21 05:54:38 +0000
commit59c871b45790452b5643de68629dea986f7ffee0 (patch)
tree2fc7cff38ea2d40bee0b44fa255d421ed3f0f57c /gas/as.h
parent84e43642e3e9729371f4a62b8b1cb5f15008017c (diff)
downloadbinutils-gdb-59c871b45790452b5643de68629dea986f7ffee0.tar.gz
* as.h: Remove #if 0'd code.
* atof-generic.c (atof_generic): Likewise. * ecoff.c (ecoff_directive_frame): Likewise. * frags.h (FRAG_APPEND_1_CHAR): Likewise. * itbl-ops.c (itbl_add_reg): Likewise. * listing.c (calc_hex): Likewise. * read.c (MASK_CHAR): Likewise. * subsegs.c (subsegs_print_statistics): Likewise. * symbols.c (indent): Likewise. * write.c (write_relocs): Likewise. (write_object_file): Likewise. (relax_frag): Likewise.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/gas/as.h b/gas/as.h
index 3bff25d86db..4d790bfb6bf 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -104,27 +104,10 @@ extern void *alloca ();
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6)
#define __PRETTY_FUNCTION__ ((char*)0)
#endif
-#if 0
-
-/* Handle lossage with assert.h. */
-#ifndef BROKEN_ASSERT
-#include <assert.h>
-#else /* BROKEN_ASSERT */
-#ifndef NDEBUG
-#define assert(p) ((p) ? 0 : (as_assert (__FILE__, __LINE__, __PRETTY_FUNCTION__), 0))
-#else
-#define assert(p) ((p), 0)
-#endif
-#endif /* BROKEN_ASSERT */
-
-#else
-
#define assert(P) ((P) ? 0 : (as_assert (__FILE__, __LINE__, __PRETTY_FUNCTION__), 0))
#undef abort
#define abort() as_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__)
-#endif
-
/* Now GNU header files... */
#include "ansidecl.h"
#ifdef BFD_ASSEMBLER