|
From: | amodra at gmail dot com |
Subject: | [Bug ld/25784] [ld] Reject addresses outside [0,2**32) for ELFCLASS32 |
Date: | Wed, 15 Apr 2020 02:23:36 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25784 --- Comment #1 from Alan Modra <amodra at gmail dot com> --- Some 32-bit targets interpret VMAs as signed. See elf_backend_sign_extend_vma. For those targets the valid range of addresses is 0xffffffff80000000 to 0x7fffffff. I don't see much benefit in diagnosing out of range addresses. Also note that there are practical difficulties in implementing such bounds checking given that we'd like to have a 32-bit target linker behave the same whether it is compiled for a 32-bit host or 64-bit host. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |