aboutsummaryrefslogtreecommitdiff
path: root/gas/frags.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/frags.h
parent84e43642e3e9729371f4a62b8b1cb5f15008017c (diff)
downloadgdb-59c871b45790452b5643de68629dea986f7ffee0.zip
gdb-59c871b45790452b5643de68629dea986f7ffee0.tar.gz
gdb-59c871b45790452b5643de68629dea986f7ffee0.tar.bz2
* 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/frags.h')
-rw-r--r--gas/frags.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gas/frags.h b/gas/frags.h
index a3bd522..70da242 100644
--- a/gas/frags.h
+++ b/gas/frags.h
@@ -119,22 +119,8 @@ COMMON fragS zero_address_frag;
/* For local common (N_BSS segment) fixups. */
COMMON fragS bss_address_frag;
-#if 0
-/* A macro to speed up appending exactly 1 char to current frag. */
-/* JF changed < 1 to <= 1 to avoid a race condition. */
-#define FRAG_APPEND_1_CHAR(datum) \
-{ \
- if (obstack_room (&frags) <= 1) \
- { \
- frag_wane (frag_now); \
- frag_new (0); \
- } \
- obstack_1grow (&frags, datum); \
-}
-#else
extern void frag_append_1_char (int);
#define FRAG_APPEND_1_CHAR(X) frag_append_1_char (X)
-#endif
void frag_init (void);
fragS *frag_alloc (struct obstack *);