[PATCH] elf.h SHF_EXCLUDE signed int 31 bit shift triggers undefined behaviour.
Andreas Schwab
schwab@linux-m68k.org
Wed Apr 22 08:25:00 GMT 2015
Florian Weimer <fweimer@redhat.com> writes:
> I think the safer change is to use -0x80000000 as the value of the
> constant, without making it unsigned.
-0x80000000 has unsigned type.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list