This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR ld/19572: -Ttext-segment accepts out of range value


On Fri, Feb 05, 2016 at 01:16:58PM -0800, H.J. Lu wrote:
> The address for -Tbss, -Tdata, -Ttext, -Ttext-segment, -Trodata-segment
> and -Tldata-segment shouldn't be bigger than the address space.

Does it really matter if someone specifies an address that wraps?

If it does, then it opens up other questions like:  Is the 32-bit
address range 0 to 4G-1 or -2G to 2G-1?  We have ELF targets (see
bed->sign_extend_vma) where the latter might be more natural.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]