http://bugs.winehq.org/show_bug.cgi?id=21049
Summary: output_import_thunk Problems on ARM Product: Wine Version: 1.1.34 Platform: Other OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: tools AssignedTo: wine-bugs@winehq.org ReportedBy: nerv@dawncrow.de
its about output_import_thunk in tools/winebuild/import.c My ARM-Case actually looks like this, because my first implementation seems wrong to me: case CPU_ARM: #if 1 output( "\tldr r0, %s+%d\n", table, pos ); output( "\tblx r0\n" ); #else output( "\tmov r4, #%s\n", table ); output( "\tldr r15, [r4, #%d]\n", pos ); #endif
But this new version gives a strange error i dont understand: actxprxy.aXisOj.s: Assembler messages: actxprxy.aXisOj.s:747: Error: internal_relocation (type: OFFSET_IMM) not fixed up actxprxy.aXisOj.s:756: Error: internal_relocation (type: OFFSET_IMM) not fixed up ...
Problematic lines: 740 __wine_spec_import_thunks: 741 742 .align 4 743 .type BSTR_UserFree,%function 744 .globl BSTR_UserFree 745 .hidden BSTR_UserFree 746 BSTR_UserFree: 747 ???? CC039FE5 ldr r0, .L__wine_spec_import_data_ptrs+0 748 ???? 30FF2FE1 blx r0 749 .size BSTR_UserFree, .-BSTR_UserFree ...
Thats on a qemu-arm-ubuntu 9.04