aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-06-27 18:57:21 +0000
committerIan Lance Taylor <ian@airs.com>1996-06-27 18:57:21 +0000
commit7e027ce6c2174249e4c1ddb4f7225f2668550cb2 (patch)
tree3a5e727c6d8c652d4c839d1b278bc7278236254e /gas/as.h
parent2ea93eb9d8084e4ffdbfa27a534549e6f4f9f1d5 (diff)
downloadfsf-binutils-gdb-7e027ce6c2174249e4c1ddb4f7225f2668550cb2.zip
fsf-binutils-gdb-7e027ce6c2174249e4c1ddb4f7225f2668550cb2.tar.gz
fsf-binutils-gdb-7e027ce6c2174249e4c1ddb4f7225f2668550cb2.tar.bz2
* as.h (struct frag): Remove unused align_mask and align_offset
fields.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/gas/as.h b/gas/as.h
index dc1ff28..7ae1951 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -92,13 +92,6 @@ void *alloca ();
#include <sys/types.h>
#endif
-/* Some systems do declare this, but this seems to be the universal
- declaration, though the parameter type varies. (It ought to use
- `const' but many systems prototype it without.) Include it here
- for systems that don't declare it. If conflicts arise, just add
- another autoconf test... */
-extern char *strdup (/* const char * */);
-
#include <getopt.h>
/* The first getopt value for machine-independent long options.
150 isn't special; it's just an arbitrary non-ASCII char value. */
@@ -281,12 +274,16 @@ typedef addressT valueT;
#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
+#define N_SEGMENTS 40
+#define SEG_NORMAL(x) ((x) >= SEG_E0 && (x) <= SEG_E39)
+#define SEG_LIST SEG_E0,SEG_E1,SEG_E2,SEG_E3,SEG_E4,SEG_E5,SEG_E6,SEG_E7,SEG_E8,SEG_E9,\
+ SEG_E10,SEG_E11,SEG_E12,SEG_E13,SEG_E14,SEG_E15,SEG_E16,SEG_E17,SEG_E18,SEG_E19,\
+ SEG_E20,SEG_E21,SEG_E22,SEG_E23,SEG_E24,SEG_E25,SEG_E26,SEG_E27,SEG_E28,SEG_E29,\
+ SEG_E30,SEG_E31,SEG_E32,SEG_E33,SEG_E34,SEG_E35,SEG_E36,SEG_E37,SEG_E38,SEG_E39
#define SEG_TEXT SEG_E0
#define SEG_DATA SEG_E1
#define SEG_BSS SEG_E2
+#define SEG_LAST SEG_E39
#else
#define N_SEGMENTS 3
#define SEG_NORMAL(x) ((x) == SEG_TEXT || (x) == SEG_DATA || (x) == SEG_BSS)
@@ -440,11 +437,6 @@ struct frag
relax_stateT fr_type;
relax_substateT fr_subtype;
- /* Track the alignment and offset of the current frag. With this,
- sometimes we can avoid creating new frags for .align directives. */
- unsigned short align_mask;
- unsigned short align_offset;
-
/* These are needed only on the NS32K machines. But since we don't
include targ-cpu.h until after this structure has been defined,
we can't really conditionalize it. This code should be
@@ -606,7 +598,7 @@ void as_howmuch PARAMS ((FILE * stream));
void as_perror PARAMS ((const char *gripe, const char *filename));
void as_where PARAMS ((char **namep, unsigned int *linep));
void bump_line_counters PARAMS ((void));
-void do_scrub_begin PARAMS ((void));
+void do_scrub_begin PARAMS ((int));
void input_scrub_begin PARAMS ((void));
void input_scrub_close PARAMS ((void));
void input_scrub_end PARAMS ((void));