mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-02 23:04:09 +08:00
gas/write.c use better types
A tiny tidy. * write.c (frags_chained): Make it a bool. (n_fixups): Make it unsigned.
This commit is contained in:
parent
41e6ffcecb
commit
6ff1cef1b4
@ -124,9 +124,9 @@ void print_fixup (fixS *);
|
||||
chained these all together into a segment, any relocs we add after
|
||||
that must be attached to a segment. This will include relocs added
|
||||
in md_estimate_size_for_relax, for example. */
|
||||
static int frags_chained = 0;
|
||||
static bool frags_chained = false;
|
||||
|
||||
static int n_fixups;
|
||||
static unsigned int n_fixups;
|
||||
|
||||
#define RELOC_ENUM enum bfd_reloc_code_real
|
||||
|
||||
@ -416,7 +416,7 @@ chain_frchains_together (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
|
||||
/* Now that we've chained the frags together, we must add new fixups
|
||||
to the segment, not to the frag chain. */
|
||||
frags_chained = 1;
|
||||
frags_chained = true;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user