X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gas%2Ffrags.h;h=4306c97619444ec996c7f59a294503274714f904;hb=dcefca4019c6f7646d633e71639f6faf4f2702bf;hp=ebb5ac45f1209c0c2bab873ea2e27a17165bef7b;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=binutils-gdb.git diff --git a/gas/frags.h b/gas/frags.h index ebb5ac45f12..4306c976194 100644 --- a/gas/frags.h +++ b/gas/frags.h @@ -1,5 +1,5 @@ /* frags.h - Header file for the frag concept. - Copyright (C) 1987-2016 Free Software Foundation, Inc. + Copyright (C) 1987-2022 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -45,7 +45,7 @@ struct frag { addressT last_fr_address; /* (Fixed) number of octets we know we have. May be 0. */ - offsetT fr_fix; + valueT 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; @@ -60,7 +60,7 @@ struct frag { struct frag *fr_next; /* Where the frag was created, or where it became a variant frag. */ - char *fr_file; + const char *fr_file; unsigned int fr_line; #ifndef NO_LISTING @@ -153,7 +153,9 @@ char *frag_var (relax_stateT type, offsetT offset, char *opcode); -bfd_boolean frag_offset_fixed_p (const fragS *, const fragS *, offsetT *); +bool frag_offset_fixed_p (const fragS *, const fragS *, offsetT *); +bool frag_offset_ignore_align_p (const fragS *, const fragS *, offsetT *); +bool frag_gtoffset_p (valueT, const fragS *, valueT, const fragS *, offsetT *); int get_frag_count (void); void clear_frag_count (void);