diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2000-09-12 20:57:14 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2000-09-12 20:57:14 +0000 |
commit | a01b9fa4ba5e6f9ce35d7ff0a1dfd18f94da20b5 (patch) | |
tree | 522c23c55cd2509994652e7a47544ad9673155ff | |
parent | 3c06a63b37672469ce077f24d5eca2818d7c91b8 (diff) | |
download | fsf-binutils-gdb-a01b9fa4ba5e6f9ce35d7ff0a1dfd18f94da20b5.zip fsf-binutils-gdb-a01b9fa4ba5e6f9ce35d7ff0a1dfd18f94da20b5.tar.gz fsf-binutils-gdb-a01b9fa4ba5e6f9ce35d7ff0a1dfd18f94da20b5.tar.bz2 |
2000-09-12 Kazu Hirata <kazu@hxi.com>
* as.h: Fix formatting.
* asintl.h: Likewise.
* bit_fix.h: Likewise.
* dwarf2dbg.h: Likewise.
* expr.h: Likewise.
* flonum.h: Likewise.
* frags.h: Likewise.
* itbl-ops.h: Likewise.
* macro.h: Likewise.
* read.h: Likewise.
* sb.h: Likewise.
* struc-symbol.h: Likewise.
* subsegs.h: Likewise.
* symbols.h: Likewise.
* tc.h: Likewise.
* write.h: Likewise.
-rw-r--r-- | gas/ChangeLog | 19 | ||||
-rw-r--r-- | gas/as.h | 25 | ||||
-rw-r--r-- | gas/asintl.h | 4 | ||||
-rw-r--r-- | gas/bit_fix.h | 14 | ||||
-rw-r--r-- | gas/dwarf2dbg.h | 4 | ||||
-rw-r--r-- | gas/expr.h | 14 | ||||
-rw-r--r-- | gas/flonum.h | 12 | ||||
-rw-r--r-- | gas/frags.h | 17 | ||||
-rw-r--r-- | gas/itbl-ops.h | 6 | ||||
-rw-r--r-- | gas/macro.h | 18 | ||||
-rw-r--r-- | gas/read.h | 11 | ||||
-rw-r--r-- | gas/sb.h | 8 | ||||
-rw-r--r-- | gas/struc-symbol.h | 11 | ||||
-rw-r--r-- | gas/subsegs.h | 10 | ||||
-rw-r--r-- | gas/symbols.h | 6 | ||||
-rw-r--r-- | gas/tc.h | 10 | ||||
-rw-r--r-- | gas/write.h | 22 |
17 files changed, 104 insertions, 107 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a5ee810..494d05f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,22 @@ +2000-09-12 Kazu Hirata <kazu@hxi.com> + + * as.h: Fix formatting. + * asintl.h: Likewise. + * bit_fix.h: Likewise. + * dwarf2dbg.h: Likewise. + * expr.h: Likewise. + * flonum.h: Likewise. + * frags.h: Likewise. + * itbl-ops.h: Likewise. + * macro.h: Likewise. + * read.h: Likewise. + * sb.h: Likewise. + * struc-symbol.h: Likewise. + * subsegs.h: Likewise. + * symbols.h: Likewise. + * tc.h: Likewise. + * write.h: Likewise. + 2000-09-11 Kazu Hirata <kazu@hxi.com> * bignum-copy.c: Fix formatting. @@ -80,7 +80,7 @@ extern void *alloca (); /* Now, tend to the rest of the configuration. */ -/* System include files first... */ +/* System include files first... */ #include <stdio.h> #include <ctype.h> #ifdef HAVE_STRING_H @@ -136,8 +136,7 @@ extern void *alloca (); #endif - -/* Now GNU header files... */ +/* Now GNU header files... */ #include "ansidecl.h" #ifdef BFD_ASSEMBLER #include "bfd.h" @@ -246,7 +245,7 @@ typedef addressT valueT; #ifndef COMMON #ifdef TEST -#define COMMON /* declare our COMMONs storage here. */ +#define COMMON /* declare our COMMONs storage here. */ #else #define COMMON extern /* our commons live elswhere */ #endif @@ -296,10 +295,10 @@ typedef enum _segT SEG_ABSOLUTE = 0, SEG_LIST, SEG_UNKNOWN, - SEG_GOOF, /* Only happens if AS has a logic error. */ + SEG_GOOF, /* Only happens if AS has a logic error. */ /* Invented so we don't crash printing */ - /* error message involving weird segment. */ - SEG_EXPR, /* Intermediate expression values. */ + /* error message involving weird segment. */ + SEG_EXPR, /* Intermediate expression values. */ SEG_DEBUG, /* Debug segment */ SEG_NTV, /* Transfert vector preload segment */ SEG_PTV, /* Transfert vector postload segment */ @@ -319,7 +318,7 @@ typedef int subsegT; /* What subseg we are accreting now? */ COMMON subsegT now_subseg; -/* Segment our instructions emit to. */ +/* Segment our instructions emit to. */ COMMON segT now_seg; #ifdef BFD_ASSEMBLER @@ -355,7 +354,7 @@ enum _relax_state { /* Variable chars to be repeated fr_offset times. Fr_symbol unused. Used with fr_offset == 0 for a - constant length frag. */ + constant length frag. */ rs_fill = 1, /* Align. The fr_offset field holds the power of 2 to which to @@ -372,7 +371,7 @@ enum _relax_state rs_align_code, /* Org: Fr_offset, fr_symbol: address. 1 variable char: fill - character. */ + character. */ rs_org, #ifndef WORKING_DOT_WORD @@ -436,7 +435,7 @@ COMMON int flag_fatal_warnings; /* --fatal-warnings */ are detected. */ COMMON unsigned char flag_always_generate_output; /* -Z */ -/* This is true if the assembler should output time and space usage. */ +/* This is true if the assembler should output time and space usage. */ COMMON unsigned char flag_print_statistics; /* True if local absolute symbols are to be stripped. */ @@ -451,7 +450,7 @@ COMMON char *out_file_name; /* name of file defining extensions to the basic instruction set */ COMMON char *insttbl_file_name; -/* TRUE if we need a second pass. */ +/* TRUE if we need a second pass. */ COMMON int need_pass_2; /* TRUE if we should do no relaxing, and @@ -683,5 +682,3 @@ COMMON char *found_comment_file; #endif #endif /* GAS */ - -/* end of as.h */ diff --git a/gas/asintl.h b/gas/asintl.h index 6452989f..5b6369f 100644 --- a/gas/asintl.h +++ b/gas/asintl.h @@ -1,5 +1,5 @@ /* asintl.h - gas-specific header for gettext code. - Copyright (C) 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. Written by Tom Tromey <tromey@cygnus.com> @@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + 02111-1307, USA. */ #ifdef HAVE_LOCALE_H # include <locale.h> diff --git a/gas/bit_fix.h b/gas/bit_fix.h index 6a729a7..da5769d 100644 --- a/gas/bit_fix.h +++ b/gas/bit_fix.h @@ -1,6 +1,5 @@ -/* write.h - - Copyright (C) 1987, 1992 Free Software Foundation, Inc. +/* bit_fix.h + Copyright (C) 1987, 1992, 2000 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -15,8 +14,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + along with GAS; see the file COPYING. If not, write to the Free + Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. */ /* The bit_fix was implemented to support machines that need variables to be inserted in bitfields other than 1, 2 and 4 bytes. @@ -38,7 +38,7 @@ struct bit_fix int fx_bit_size; /* Length of bitfield */ int fx_bit_offset; /* Bit offset to bitfield */ long fx_bit_base; /* Where do we apply the bitfix. - If this is zero, default is assumed. */ + If this is zero, default is assumed. */ long fx_bit_base_adj; /* Adjustment of base */ long fx_bit_max; /* Signextended max for bitfield */ long fx_bit_min; /* Signextended min for bitfield */ @@ -47,5 +47,3 @@ struct bit_fix typedef struct bit_fix bit_fixS; #endif /* __bit_fix_h__ */ - -/* end of bit_fix.h */ diff --git a/gas/dwarf2dbg.h b/gas/dwarf2dbg.h index a3eec1c..b48135a 100644 --- a/gas/dwarf2dbg.h +++ b/gas/dwarf2dbg.h @@ -1,5 +1,5 @@ /* dwarf2dbg.h - DWARF2 debug support - Copyright (C) 1999 Free Software Foundation, Inc. + Copyright (C) 1999, 2000 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -58,7 +58,7 @@ extern void dwarf2_where PARAMS ((struct dwarf2_line_info *l)); source information passed in the arguments. ADDR should be the frag-relative offset of the instruction the information is for and L is the source information that should be associated with that - address. */ + address. */ extern void dwarf2_gen_line_info PARAMS ((addressT addr, struct dwarf2_line_info *l)); @@ -1,5 +1,5 @@ /* expr.h -> header file for expr.c - Copyright (C) 1987, 92-98, 1999 Free Software Foundation, Inc. + Copyright (C) 1987, 92-99, 2000 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -142,16 +142,16 @@ typedef struct expressionS unsigned short X_md; } expressionS; -/* "result" should be type (expressionS *). */ +/* "result" should be type (expressionS *). */ #define expression(result) expr (0, result) /* If an expression is O_big, look here for its value. These common - data may be clobbered whenever expr() is called. */ -/* Flonums returned here. Big enough to hold most precise flonum. */ + data may be clobbered whenever expr() is called. */ +/* Flonums returned here. Big enough to hold most precise flonum. */ extern FLONUM_TYPE generic_floating_point_number; -/* Bignums returned here. */ +/* Bignums returned here. */ extern LITTLENUM_TYPE generic_bignum[]; -/* Number of littlenums in above. */ +/* Number of littlenums in above. */ #define SIZE_OF_LARGE_NUMBER (20) typedef char operator_rankT; @@ -169,5 +169,3 @@ extern symbolS *expr_build_uconstant PARAMS ((offsetT)); extern symbolS *expr_build_unary PARAMS ((operatorT, symbolS *)); extern symbolS *expr_build_binary PARAMS ((operatorT, symbolS *, symbolS *)); extern symbolS *expr_build_dot PARAMS ((void)); - -/* end of expr.h */ diff --git a/gas/flonum.h b/gas/flonum.h index 6684f49..ace99a0 100644 --- a/gas/flonum.h +++ b/gas/flonum.h @@ -1,6 +1,6 @@ /* flonum.h - Floating point package - - Copyright (C) 1987, 90, 91, 92, 94, 95, 1996 Free Software Foundation, Inc. + Copyright (C) 1987, 90, 91, 92, 94, 95, 96, 2000 + Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -61,7 +61,6 @@ struct FLONUM_STRUCT typedef struct FLONUM_STRUCT FLONUM_TYPE; - /***********************************************************************\ * * * Since we can (& do) meet with exponents like 10^5000, it * @@ -74,15 +73,12 @@ typedef struct FLONUM_STRUCT FLONUM_TYPE; * * \***********************************************************************/ - extern const FLONUM_TYPE flonum_positive_powers_of_ten[]; extern const FLONUM_TYPE flonum_negative_powers_of_ten[]; extern const int table_size_of_flonum_powers_of_ten; /* Flonum_XXX_powers_of_ten[] table has */ /* legal indices from 0 to */ -/* + this number inclusive. */ - - +/* + this number inclusive. */ /***********************************************************************\ * * @@ -106,5 +102,3 @@ void flonum_multip PARAMS ((const FLONUM_TYPE * a, const FLONUM_TYPE * b, \***********************************************************************/ #define ERROR_EXPONENT_OVERFLOW (2) - -/* end of flonum.h */ diff --git a/gas/frags.h b/gas/frags.h index dcd9a2f..5543136 100644 --- a/gas/frags.h +++ b/gas/frags.h @@ -44,19 +44,19 @@ struct obstack; struct frag { - /* Object file address (as an octet offset). */ + /* Object file address (as an octet offset). */ addressT fr_address; - /* Chain forward; ascending address order. Rooted in frch_root. */ + /* Chain forward; ascending address order. Rooted in frch_root. */ struct frag *fr_next; - /* (Fixed) number of octets we know we have. May be 0. */ + /* (Fixed) number of octets we know we have. May be 0. */ offsetT fr_fix; /* May be used for (Variable) number of octets after above. The generic frag handling code no longer makes any use of fr_var. */ offsetT fr_var; - /* For variable-length tail. */ + /* For variable-length tail. */ symbolS *fr_symbol; - /* For variable-length tail. */ + /* For variable-length tail. */ offsetT fr_offset; /* Points to opcode low addr byte, for relaxation. */ char *fr_opcode; @@ -95,7 +95,7 @@ struct frag #define SIZEOF_STRUCT_FRAG \ ((char *)zero_address_frag.fr_literal-(char *)&zero_address_frag) -/* We want to say fr_literal[0] above. */ +/* We want to say fr_literal[0] above. */ /* Current frag we are building. This frag is incomplete. It is, however, included in frchain_now. The fr_fix field is bogus; @@ -104,9 +104,9 @@ COMMON fragS *frag_now; extern addressT frag_now_fix PARAMS ((void)); extern addressT frag_now_fix_octets PARAMS ((void)); -/* For foreign-segment symbol fixups. */ +/* For foreign-segment symbol fixups. */ COMMON fragS zero_address_frag; -/* For local common (N_BSS segment) fixups. */ +/* For local common (N_BSS segment) fixups. */ COMMON fragS bss_address_frag; #if 0 @@ -128,7 +128,6 @@ extern void frag_append_1_char PARAMS ((int)); #define FRAG_APPEND_1_CHAR(X) frag_append_1_char (X) #endif - void frag_init PARAMS ((void)); fragS *frag_alloc PARAMS ((struct obstack *)); void frag_grow PARAMS ((unsigned int nchars)); diff --git a/gas/itbl-ops.h b/gas/itbl-ops.h index d69ea7f..3dfd6f0 100644 --- a/gas/itbl-ops.h +++ b/gas/itbl-ops.h @@ -1,5 +1,5 @@ /* itbl-ops.h - Copyright (C) 1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -81,7 +81,7 @@ typedef enum e_invproc /* invalid processor */ } e_processor; -/* 0 means an instruction table was not specified. */ +/* 0 means an instruction table was not specified. */ extern int itbl_have_entries; /* These routines are visible to the main part of the assembler */ @@ -99,7 +99,7 @@ char *itbl_get_name PARAMS ((e_processor processor, e_type type, unsigned long val)); /* These routines are called by the table parser used to build the - dynamic list of new processor instructions and registers. */ + dynamic list of new processor instructions and registers. */ struct itbl_entry *itbl_add_reg PARAMS ((int yyproc, int yytype, char *regname, int regnum)); diff --git a/gas/macro.h b/gas/macro.h index 9c61acd..7c30086 100644 --- a/gas/macro.h +++ b/gas/macro.h @@ -1,5 +1,5 @@ /* macro.h - header file for macro support for gas and gasp - Copyright (C) 1994, 95, 96, 97, 1998 Free Software Foundation, Inc. + Copyright (C) 1994, 95, 96, 97, 98, 2000 Free Software Foundation, Inc. Written by Steve and Judy Chamberlain of Cygnus Support, sac@cygnus.com @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + 02111-1307, USA. */ #ifndef MACRO_H @@ -28,13 +28,13 @@ #include "ansidecl.h" #include "sb.h" -/* Structures used to store macros. +/* Structures used to store macros. Each macro knows its name and included text. It gets built with a list of formal arguments, and also keeps a hash table which points into the list to speed up formal search. Each formal knows its name and its default value. Each time the macro is expanded, the - formals get the actual values attatched to them. */ + formals get the actual values attatched to them. */ /* describe the formal arguments to a macro */ @@ -53,14 +53,14 @@ formal_entry; #define NARG_INDEX (-2) #define LOCAL_INDEX (-3) -/* describe the macro. */ +/* describe the macro. */ typedef struct macro_struct { - sb sub; /* substitution text. */ - int formal_count; /* number of formal args. */ + sb sub; /* substitution text. */ + int formal_count; /* number of formal args. */ formal_entry *formals; /* pointer to list of formal_structs */ - struct hash_control *formal_hash; /* hash table of formals. */ + struct hash_control *formal_hash; /* hash table of formals. */ } macro_entry; @@ -81,7 +81,7 @@ extern void macro_mri_mode PARAMS ((int)); extern const char *define_macro PARAMS ((int idx, sb *in, sb *label, int (*get_line) PARAMS ((sb *)), const char **namep)); -extern int check_macro PARAMS ((const char *, sb *, int, const char **, +extern int check_macro PARAMS ((const char *, sb *, int, const char **, macro_entry **)); extern void delete_macro PARAMS ((const char *)); extern const char *expand_irp @@ -1,5 +1,5 @@ /* read.h - of read.c - Copyright (C) 1986, 90, 92, 93, 94, 95, 96, 1997 + Copyright (C) 1986, 90, 92, 93, 94, 95, 96, 97, 2000 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -18,12 +18,12 @@ along with GAS; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -extern char *input_line_pointer;/* -> char we are parsing now. */ +extern char *input_line_pointer;/* -> char we are parsing now. */ #define PERMIT_WHITESPACE /* Define to make whitespace be allowed in */ -/* many syntactically unnecessary places. */ +/* many syntactically unnecessary places. */ /* Normally undefined. For compatibility */ -/* with ancient GNU cc. */ +/* with ancient GNU cc. */ /* #undef PERMIT_WHITESPACE */ #ifdef PERMIT_WHITESPACE @@ -32,7 +32,6 @@ extern char *input_line_pointer;/* -> char we are parsing now. */ #define SKIP_WHITESPACE() know(*input_line_pointer != ' ' ) #endif - #define LEX_NAME (1) /* may continue a name */ #define LEX_BEGIN_NAME (2) /* may begin a name */ #define LEX_END_NAME (4) /* ends a name */ @@ -169,5 +168,3 @@ extern void s_text PARAMS ((int)); extern void stringer PARAMS ((int append_zero)); extern void s_xstab PARAMS ((int what)); extern void s_rva PARAMS ((int)); - -/* end of read.h */ @@ -1,5 +1,5 @@ /* sb.h - header file for string buffer manipulation routines - Copyright (C) 1994, 1995 Free Software Foundation, Inc. + Copyright (C) 1994, 1995, 2000 Free Software Foundation, Inc. Written by Steve and Judy Chamberlain of Cygnus Support, sac@cygnus.com @@ -19,7 +19,7 @@ You should have received a copy of the GNU General Public License along with GAS; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ + 02111-1307, USA. */ #ifndef SB_H @@ -54,8 +54,8 @@ /* structure of an sb */ typedef struct sb { - char *ptr; /* points to the current block. */ - int len; /* how much is used. */ + char *ptr; /* points to the current block. */ + int len; /* how much is used. */ int pot; /* the maximum length is 1<<pot */ struct le *item; } diff --git a/gas/struc-symbol.h b/gas/struc-symbol.h index 7573566..1560f9a 100644 --- a/gas/struc-symbol.h +++ b/gas/struc-symbol.h @@ -1,5 +1,6 @@ /* struct_symbol.h - Internal symbol structure - Copyright (C) 1987, 92, 93, 94, 95, 98, 1999 Free Software Foundation, Inc. + Copyright (C) 1987, 92, 93, 94, 95, 98, 99, 2000 + Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -34,13 +35,13 @@ struct symbol /* The (4-origin) position of sy_name in the symbol table of the object file. This will be 0 for (nameless) .stabd symbols. - Not used until write_object_file() time. */ + Not used until write_object_file() time. */ unsigned long sy_name_offset; /* What we write in .o file (if permitted). */ obj_symbol_type sy_symbol; - /* The 24 bit symbol number. Symbol numbers start at 0 and are unsigned. */ + /* The 24 bit symbol number. Symbol numbers start at 0 and are unsigned. */ long sy_number; #endif @@ -69,7 +70,7 @@ struct symbol are local and would otherwise not be. */ unsigned int sy_used_in_reloc : 1; - /* Whether the symbol is used as an operand or in an expression. + /* Whether the symbol is used as an operand or in an expression. NOTE: Not all the backends keep this information accurate; backends which use this bit are responsible for setting it when a symbol is used in backend routines. */ @@ -142,5 +143,3 @@ struct local_symbol #endif /* BFD_ASSEMBLER */ #endif /* __struc_symbol_h__ */ - -/* end of struc-symbol.h */ diff --git a/gas/subsegs.h b/gas/subsegs.h index 4840d5b..a2ef474 100644 --- a/gas/subsegs.h +++ b/gas/subsegs.h @@ -1,5 +1,6 @@ /* subsegs.h -> subsegs.c - Copyright (C) 1987, 92, 93, 94, 95, 96, 1998 Free Software Foundation, Inc. + Copyright (C) 1987, 92, 93, 94, 95, 96, 98, 2000 + Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -44,7 +45,7 @@ struct frchain /* control building of a frag chain */ struct frag *frch_root; /* 1st struct frag in chain, or NULL */ struct frag *frch_last; /* last struct frag in chain, or NULL */ struct frchain *frch_next; /* next in chain of struct frchain-s */ - segT frch_seg; /* SEG_TEXT or SEG_DATA. */ + segT frch_seg; /* SEG_TEXT or SEG_DATA. */ subsegT frch_subseg; /* subsegment number of this chain */ #ifdef BFD_ASSEMBLER fixS *fix_root; /* Root of fixups for this subsegment. */ @@ -60,10 +61,9 @@ typedef struct frchain frchainS; extern frchainS *frchain_root; /* Frchain we are assembling into now. That is, the current segment's - frag chain, even if it contains no (complete) frags. */ + frag chain, even if it contains no (complete) frags. */ extern frchainS *frchain_now; - typedef struct segment_info_struct { frchainS *frchainP; @@ -155,5 +155,3 @@ struct seg_info_trash { #endif /* ! BFD_ASSEMBLER */ extern void subsegs_print_statistics PARAMS ((FILE *)); - -/* end of subsegs.h */ diff --git a/gas/symbols.h b/gas/symbols.h index f3b73af..87c473c 100644 --- a/gas/symbols.h +++ b/gas/symbols.h @@ -1,5 +1,5 @@ /* symbols.h - - Copyright (C) 1987, 90, 92, 93, 94, 95, 97, 1999 + Copyright (C) 1987, 90, 92, 93, 94, 95, 97, 99, 2000 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -31,7 +31,7 @@ #include "struc-symbol.h" #endif -extern struct obstack notes; /* eg FixS live here. */ +extern struct obstack notes; /* eg FixS live here. */ extern struct obstack cond_obstack; /* this is where we track .ifdef/.endif (if we do that at all). */ @@ -201,5 +201,3 @@ void symbol_set_obj PARAMS ((symbolS *, OBJ_SYMFIELD_TYPE *)); TC_SYMFIELD_TYPE *symbol_get_tc PARAMS ((symbolS *)); void symbol_set_tc PARAMS ((symbolS *, TC_SYMFIELD_TYPE *)); #endif - -/* end of symbols.h */ @@ -24,19 +24,19 @@ extern const pseudo_typeS md_pseudo_table[]; /* JF moved this here from as.h under the theory that nobody except MACHINE.c - and write.c care about it anyway. */ + and write.c care about it anyway. */ struct relax_type { - /* Forward reach. Signed number. > 0. */ + /* Forward reach. Signed number. > 0. */ long rlx_forward; - /* Backward reach. Signed number. < 0. */ + /* Backward reach. Signed number. < 0. */ long rlx_backward; - /* Bytes length of this address. */ + /* Bytes length of this address. */ unsigned char rlx_length; - /* Next longer relax-state. 0 means there is no 'next' relax-state. */ + /* Next longer relax-state. 0 means there is no 'next' relax-state. */ relax_substateT rlx_more; }; diff --git a/gas/write.h b/gas/write.h index 186d2ad..9a917db 100644 --- a/gas/write.h +++ b/gas/write.h @@ -1,5 +1,6 @@ /* write.h - Copyright (C) 1987, 92, 93, 94, 95, 96, 1997 Free Software Foundation, Inc. + Copyright (C) 1987, 92, 93, 94, 95, 96, 97, 2000 + Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -95,13 +96,13 @@ struct fix /* Where is the first byte to fix up? */ long fx_where; - /* NULL or Symbol whose value we add in. */ + /* NULL or Symbol whose value we add in. */ symbolS *fx_addsy; - /* NULL or Symbol whose value we subtract. */ + /* NULL or Symbol whose value we subtract. */ symbolS *fx_subsy; - /* Absolute number we add in. */ + /* Absolute number we add in. */ valueT fx_offset; /* Next fixS in linked list, or NULL. */ @@ -160,13 +161,13 @@ typedef struct fix fixS; extern char *next_object_file_charP; #ifndef MANY_SEGMENTS -COMMON fixS *text_fix_root, *text_fix_tail; /* Chains fixSs. */ -COMMON fixS *data_fix_root, *data_fix_tail; /* Chains fixSs. */ -COMMON fixS *bss_fix_root, *bss_fix_tail; /* Chains fixSs. */ -extern struct frag *text_last_frag; /* Last frag in segment. */ -extern struct frag *data_last_frag; /* Last frag in segment. */ +COMMON fixS *text_fix_root, *text_fix_tail; /* Chains fixSs. */ +COMMON fixS *data_fix_root, *data_fix_tail; /* Chains fixSs. */ +COMMON fixS *bss_fix_root, *bss_fix_tail; /* Chains fixSs. */ +extern struct frag *text_last_frag; /* Last frag in segment. */ +extern struct frag *data_last_frag; /* Last frag in segment. */ #endif -COMMON fixS **seg_fix_rootP, **seg_fix_tailP; /* -> one of above. */ +COMMON fixS **seg_fix_rootP, **seg_fix_tailP; /* -> one of above. */ #endif extern long string_byte_count; @@ -205,4 +206,3 @@ extern fixS *fix_new_exp extern void write_print_statistics PARAMS ((FILE *)); #endif /* __write_h__ */ -/* end of write.h */ |