* as.h (struct frag): Remove unused align_mask and align_offset
authorIan Lance Taylor <ian@airs.com>
Thu, 27 Jun 1996 18:57:21 +0000 (18:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 27 Jun 1996 18:57:21 +0000 (18:57 +0000)
fields.

gas/ChangeLog
gas/as.h

index 130613febd7e372f349f888eca056ed1a57f2b08..5bd6c4fde9733575a2881db847e75f48d35fe75a 100644 (file)
@@ -1,5 +1,8 @@
 Thu Jun 27 12:18:26 1996  Ian Lance Taylor  <ian@cygnus.com>
 
+       * as.h (struct frag): Remove unused align_mask and align_offset
+       fields.
+
        * listing.c (calc_hex): Offset by fr_fix when examining fr_var.
        From <uddeborg@carmen.se>.
 
index dc1ff28bbdada7efb07a53286ece8d67b9249d18..7ae19514b6dec07876864cb5704ce2401d79f8ff 100644 (file)
--- 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));
This page took 0.035803 seconds and 4 git commands to generate.