Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 160513 Details for
Bug 186279
llvm-base-2.0.ebuild and llvm-gcc-2.0.ebuild (new packages)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Cyrille Berger's patch for 64bits PIC
llvm-3.2-64bits-pic.patch (text/plain), 1.57 KB, created by
Álvaro Castro Castilla
on 2008-07-16 00:28:45 UTC
(
hide
)
Description:
Cyrille Berger's patch for 64bits PIC
Filename:
MIME Type:
Creator:
Álvaro Castro Castilla
Created:
2008-07-16 00:28:45 UTC
Size:
1.57 KB
patch
obsolete
>--- lib/Target/X86/X86JITInfo.cpp.orig 2008-07-02 09:41:02.000000000 +0200 >+++ lib/Target/X86/X86JITInfo.cpp 2008-07-02 09:41:51.000000000 +0200 >@@ -25,8 +25,10 @@ > // Determine the platform we're running on > #if defined (__x86_64__) || defined (_M_AMD64) > # define X86_64_JIT >+# define ASMSUFFIX "@PLT" > #elif defined(__i386__) || defined(i386) || defined(_M_IX86) > # define X86_32_JIT >+# define ASMSUFFIX > #endif > > void X86JITInfo::replaceMachineCodeForFunction(void *Old, void *New) { >@@ -112,7 +114,7 @@ > // JIT callee > "movq %rbp, %rdi\n" // Pass prev frame and return address > "movq 8(%rbp), %rsi\n" >- "call " ASMPREFIX "X86CompilationCallback2\n" >+ "call " ASMPREFIX "X86CompilationCallback2" ASMSUFFIX "\n" > // Restore all XMM arg registers > "movaps 112(%rsp), %xmm7\n" > "movaps 96(%rsp), %xmm6\n" >@@ -186,7 +188,7 @@ > "movl 4(%ebp), %eax\n" // Pass prev frame and return address > "movl %eax, 4(%esp)\n" > "movl %ebp, (%esp)\n" >- "call " ASMPREFIX "X86CompilationCallback2\n" >+ "call " ASMPREFIX "X86CompilationCallback2" ASMSUFFIX "\n" > "movl %ebp, %esp\n" // Restore ESP > CFI(".cfi_def_cfa_register %esp\n") > "subl $12, %esp\n" >@@ -240,7 +242,7 @@ > "movl 4(%ebp), %eax\n" // Pass prev frame and return address > "movl %eax, 4(%esp)\n" > "movl %ebp, (%esp)\n" >- "call " ASMPREFIX "X86CompilationCallback2\n" >+ "call " ASMPREFIX "X86CompilationCallback2" ASMSUFFIX "\n" > "addl $16, %esp\n" > "movaps 48(%esp), %xmm3\n" > CFI(".cfi_restore %xmm3\n")
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 186279
:
125709
|
125710
|
125712
|
132036
|
132037
|
160508
|
160511
|
160513
|
160515
|
160558
|
163456
|
163457
|
165269
|
169784
|
171741
|
171745
|
184065
|
184068
|
185714
|
193178
|
198650
|
201594
|
201603
|
201739
|
202564
|
203064
|
204168