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

Re: [Xen-devel] [PATCH] x86/EFI + Live Patch: avoid symbol address truncation



>>> On 28.06.16 at 19:20, <konrad.wilk@xxxxxxxxxx> wrote:
> On Tue, Jun 28, 2016 at 08:03:57AM -0600, Jan Beulich wrote:
>> ld associates __init_end, placed outside of any section by the linker
>> script, with the following section, resulting in a huge (wrapped, as it
>> would be negative) section relative offset. COFF symbol tables store
>> section relative addresses, and hence the above leads to assembler
> 
> My recollection is it was the linker? Like so:
> 
> /home/konrad/xen/xen/.xen.efi.0s.S:21: Warning: value 0x7d2f8000052e 
> truncated to 0x8000052e
> /home/konrad/xen/xen/.xen.efi.0s.S:22: Warning: value 0x7d2f80000a05 
> truncated to 0x80000a05
> /home/konrad/xen/xen/.xen.efi.0s.S:23: Warning: value 0x7d2f80000a07 
> truncated to 0x80000a07
> 
> With this patch I still see those warnings?
> 
> (This is on OL7, so ldd (GNU libc) 2.17 gcc (GCC) 4.8.5 20150623 (Red Hat 
> 4.8.5-4) 

No, the ones above got fixed already in binutils. But even with that
fix in place I still observed one such truncation warning.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.