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

2015-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 Ed Maste changed: What|Removed |Added Status|New |Closed Resolution|---

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

2015-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #13 from commit-h...@freebsd.org --- A commit references this bug: Author: emaste Date: Fri Apr 24 16:12:31 UTC 2015 New revision: 281939 URL: https://svnweb.freebsd.org/changeset/base/281939 Log: MFC r277464: Add missing R_X

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

2015-04-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #12 from commit-h...@freebsd.org --- A commit references this bug: Author: emaste Date: Fri Apr 24 15:58:42 UTC 2015 New revision: 281937 URL: https://svnweb.freebsd.org/changeset/base/281937 Log: MFC r277464: Add missing R_X

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

2015-03-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 Mark Linimon changed: What|Removed |Added Keywords||patch -- You are receiving this ma

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

2015-01-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #11 from y...@rawbw.com --- No, linker doesn't emit R_X86_64_PC64 into executables or shared libraries, only llvm does into the object modules, which wasn't the case before. I used the wrong term, should have said "object modules

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

2015-01-24 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #10 from Konstantin Belousov --- (In reply to yuri from comment #9) The '-P' part in the description of the relocation in the ABI spec provides a hint that the relocation is for pc-relative addressing, and to be applied to the

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

2015-01-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #9 from y...@rawbw.com --- Current llvm trunk inserts R_X86_64_PC64 relocation elements into binary object modules it produces (which are relocable ELFs). There is no bug in linker that I observed. -- You are receiving this mai

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

2015-01-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 Konstantin Belousov changed: What|Removed |Added CC||k...@freebsd.org --- Comment

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

2015-01-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #7 from commit-h...@freebsd.org --- A commit references this bug: Author: emaste Date: Wed Jan 21 01:12:22 UTC 2015 New revision: 277464 URL: https://svnweb.freebsd.org/changeset/base/277464 Log: Add missing R_X86_64_ constan

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

2015-01-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #6 from commit-h...@freebsd.org --- A commit references this bug: Author: emaste Date: Wed Jan 21 01:08:00 UTC 2015 New revision: 277462 URL: https://svnweb.freebsd.org/changeset/base/277462 Log: redelf: Add missing R_X86_64_

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

2015-01-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #5 from y...@rawbw.com --- > Btw, yuri, when you say "supported by LLVM and binutils", do you mean the > versions in FreeBSD head, or the upstream versions? binutils version in FreeBSD tree supports it. llvm version in FreeBSD

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

2015-01-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #4 from Ed Maste --- > This elf_common.h is our 'own' elf header, right? Yes, we do not use ELF Tool Chain (libelf)'s header. We can just go ahead and add the defines, although we should pick up the full set of additional reloc

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

2015-01-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #3 from Dimitry Andric --- This elf_common.h is our 'own' elf header, right? E.g. not from contrib'd libelf? If so, just adding this define should be fine. Otherwise we should probably look at libelf upstream first. Btw, yur

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

2015-01-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #2 from y...@rawbw.com --- With the next contrib/llvm/tools/clang update clang will probably begin to insert these into elfs, so libexec/rtld-elf/amd64 and sys/amd64/amd64/elf_machdep.c will also need to be updated. -- You are

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

2015-01-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 --- Comment #1 from Ed Maste --- Will also need to update contrib/elftoolchain/readelf/readelf.c -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-bugs@freebs

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

2015-01-20 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 Ed Maste changed: What|Removed |Added Keywords||toolchain CC|

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

2015-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196918 Bug ID: 196918 Summary: [PATCH] Add R_X86_64_PC64 to sys/sys/elf_common.h Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New