mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-05 19:07:07 +00:00
* config/tc-mips.c (RELAX_RELOC1, RELAX_RELOC2): Cast values to bfd_vma before
subtracting.
This commit is contained in:
parent
aac4d5a77f
commit
483971bdbf
@ -1,5 +1,8 @@
|
||||
Mon Jan 9 16:22:28 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
|
||||
|
||||
* config/tc-mips.c (RELAX_RELOC1, RELAX_RELOC2): Cast values to
|
||||
bfd_vma before subtracting.
|
||||
|
||||
* config/obj-coff.c (size_section): Handle rs_space like rs_fill,
|
||||
but make sure fr_symbol is null.
|
||||
(fill_section): Ditto.
|
||||
|
@ -325,8 +325,8 @@ static int prev_prev_insn_unreordered;
|
||||
| ((warn) ? 1 : 0)))
|
||||
#define RELAX_OLD(i) (((i) >> 24) & 0xff)
|
||||
#define RELAX_NEW(i) (((i) >> 16) & 0xff)
|
||||
#define RELAX_RELOC1(i) ((((i) >> 9) & 0x7f) - 64)
|
||||
#define RELAX_RELOC2(i) ((((i) >> 2) & 0x7f) - 64)
|
||||
#define RELAX_RELOC1(i) ((bfd_vma)(((i) >> 9) & 0x7f) - 64)
|
||||
#define RELAX_RELOC2(i) ((bfd_vma)(((i) >> 2) & 0x7f) - 64)
|
||||
#define RELAX_RELOC3(i) (((i) >> 1) & 1)
|
||||
#define RELAX_WARN(i) ((i) & 1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user