Date: Fri, 23 Jan 2015 11:13:50 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 196918] [PATCH] Add R_X86_64_PC64 to sys/sys/elf_common.h Message-ID: <bug-196918-8-0VAR7fKeBw@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-196918-8@https.bugs.freebsd.org/bugzilla/> References: <bug-196918-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #8 from Konstantin Belousov <kib@FreeBSD.org> --- Clang cannot 'insert' any type of relocation into an executable, since clang, being a compiler, only produce object files. That said, I believe that PC32 and PC64 relocations are intended for the object files, and should not be left in the final linked object. Note the comment in the libexec/rtld-elf/amd64/reloc.c at line 218 about R_X86_64_PC32. If there is a linker bug which causes similar problem for PC64, we would handle this in rtld, but not before somebody provides me the affected binary. -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196918-8-0VAR7fKeBw>