[PATCH] gold/aarch64: Fix adrp distance check
Andreas Schwab
schwab@linux-m68k.org
Fri Jul 29 20:44:06 GMT 2022
On Jul 29 2022, Cary Coutant via Binutils wrote:
> The cast is unnecessary here for assignment to an int64_t. Once the
> result is in a signed int, I don't think you need to go to all that
> extra trouble to shift it.
Note that right shifting a negative value is fully defined only in C++20
and later.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Binutils
mailing list