Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mit/xorg/lib/gallium add ARMDisassembler for the ar...



details:   https://anonhg.NetBSD.org/src/rev/778f98093df7
branches:  trunk
changeset: 451864:778f98093df7
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jun 09 01:56:49 2019 +0000

description:
add ARMDisassembler for the arm section.  fixes linkage issue.

unfortunately, this doesn't work.  something generates code
with an R_ARM_REL32 relocation and the
llvm::RuntimeDyldELF::resolveARMRelocation() function doesn not
support this and boom:

500       switch (Type) {
501       default:
502         llvm_unreachable("Not implemented relocation type!");

diffstat:

 external/mit/xorg/lib/gallium/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 3141ecc1a5d5 -r 778f98093df7 external/mit/xorg/lib/gallium/Makefile
--- a/external/mit/xorg/lib/gallium/Makefile    Sat Jun 08 23:48:33 2019 +0000
+++ b/external/mit/xorg/lib/gallium/Makefile    Sun Jun 09 01:56:49 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2019/06/07 12:11:43 mrg Exp $
+# $NetBSD: Makefile,v 1.32 2019/06/09 01:56:49 mrg Exp $
 
 # Link the gallium mega driver.
 
@@ -1013,6 +1013,7 @@
 # XXX duplicates
 LLVMRT_LIBS+=  \
                ARMCodeGen \
+               ARMDisassembler \
                ARMTargetInfo \
                ARMMCTargetDesc \
                ARMAsmParser \



Home | Main Index | Thread Index | Old Index