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: [discuss] Re: Visibility=hidden for x86_64 Xen builds -- problems?


On 29/9/06 1:40 am, "H. J. Lu" <hjl@lucon.org> wrote:

> You are asking for impossible:

If the compiler emitted accesses via the GOT for weak symbols then there
wouldn't be a problem. The compiler doesn't know the final link address
though, so it'd have to be conservative. Perhaps it's not worth it for a
case that noone much cares about.

> R_X86_64_PC32 only supports signed 32bit offset. 0x100000000 is more
> than 32bit. The linker should issue an error, at least a warning. You
> can take your pick and I will fix the linker. If no one objects, I
> will make it an error.

That's fine with us. I fixed Xen to no longer use weak symbols.

 -- Keir



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