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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Cary Coutant from comment #5)
> (In reply to H.J. Lu from comment #3)
> > Technically, gold is correct to complain relocation overflow.
> > But vvar_vsyscall_gtod_data is in vvar page which is placed before
> > vdso page:
> > 
> > 7fffe89d8000-7fffe89da000 r--p 00000000 00:00 0                         
> > [vvar]
> > 7fffe89da000-7fffe89dc000 r-xp 00000000 00:00 0                         
> > [vdso]
> > 
> > There is no good way to express it. ld happens to store the absolute
> > value of 0xffffe080 as 0xffffffffffffe080.
> 
> HJ, is the patch you posted above intended for trunk? Or do you want instead
> a -z noreloc-overflow option?

I prefer -z noreloc-overflow.  I haven't decided if ld should issue an error
for relocation overflow.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to