From 6134bb22426880acc2bde6c6bb2201d8c48edb73 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Fri, 21 Jan 2005 05:54:38 +0000 Subject: * 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. --- gas/as.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'gas/as.h') diff --git a/gas/as.h b/gas/as.h index 3bff25d86d..4d790bfb6b 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 -#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 -- cgit v1.2.1