/* COMMON now defined */
#define DEBUG /* temporary */
+#ifdef BROKEN_ASSERT
+/* turn off all assertion checks */
+#undef DEBUG
+#define NDEBUG
+#endif
+
#ifdef DEBUG
#undef NDEBUG
#ifndef know
#ifdef MANY_SEGMENTS
+#include "bfd.h"
#define N_SEGMENTS 10
#define SEG_NORMAL(x) ((x) >= SEG_E0 && (x) <= SEG_E9)
#define SEG_LIST SEG_E0,SEG_E1,SEG_E2,SEG_E3,SEG_E4,SEG_E5,SEG_E6,SEG_E7,SEG_E8,SEG_E9
/* relax() */
typedef enum _relax_state {
- rs_fill, /* Variable chars to be repeated fr_offset times. Fr_symbol
- unused. Used with fr_offset == 0 for a constant length
- frag. */
+ rs_fill = 1, /* Variable chars to be repeated fr_offset times.
+ Fr_symbol unused. Used with fr_offset == 0 for a
+ constant length frag. */
rs_align, /* Align: Fr_offset: power of 2. 1 variable char: fill
character. */
/* main program "as.c" (command arguments etc) */
-COMMON char
- flagseen[128]; /* ['x'] TRUE if "-x" seen. */
+COMMON char flagseen[128]; /* ['x'] TRUE if "-x" seen. */
+
+COMMON char * out_file_name; /* name of emitted object file */
-COMMON char *
- out_file_name; /* name of emitted object file */
+COMMON int need_pass_2; /* TRUE if we need a second pass. */
-COMMON int need_pass_2; /* TRUE if we need a second pass. */
+COMMON int linkrelax; /* TRUE if we should do no relaxing, and
+ leave lots of padding. */
typedef struct {
char * poc_name; /* assembler mnemonic, lower case, no '.' */