[Bug 196918] [PATCH] Add R_X86_64_PC64 to sys/sys/elf_common.h

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jan 23 11:13:51 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918

Konstantin Belousov <kib at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib at FreeBSD.org

--- Comment #8 from Konstantin Belousov <kib at 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.


More information about the freebsd-bugs mailing list