[Bug 21049] New: output_import_thunk Problems on ARM

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Dec 17 09:42:00 CST 2009


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 at winehq.org
        ReportedBy: nerv at 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

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list