bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/19567] Symbol_value::value doesn't support x32 overflow check


From: ccoutant at gmail dot com
Subject: [Bug gold/19567] Symbol_value::value doesn't support x32 overflow check
Date: Thu, 04 Feb 2016 20:06:26 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19567

--- Comment #4 from Cary Coutant <ccoutant at gmail dot com> ---
> I can't tell 0xffffffff returned from Symbol_value::value is -1 or
> 4294967295.  Both are possible for x32 since hardware address is 64-bit.

But they're the same bit pattern. Whether it's -1 or 4294967295 is just a
matter of human interpretation. Why do you need to know the difference?

> For x32, I need Symbol_value::value to return 64-bit value even though
> x32 is ELF32.

Why? x32 uses ELFCLASS32, so you can't have a symbol value that doesn't fit in
32 bits. 

Please give me an example.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]