Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 59631 Details for
Bug 42968
mysql-4.0.17 has non-PIC assembler code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mysql-4.1.12-x86_asm-pic-fixes-r1.patch
035_x86_asm-pic-fixes-r1.patch (text/plain), 2.04 KB, created by
Francesco R. (RETIRED)
on 2005-05-23 07:53:47 UTC
(
hide
)
Description:
mysql-4.1.12-x86_asm-pic-fixes-r1.patch
Filename:
MIME Type:
Creator:
Francesco R. (RETIRED)
Created:
2005-05-23 07:53:47 UTC
Size:
2.04 KB
patch
obsolete
>###MY_VER_RANGE [4.1.12,5.1) >--- mysql-4.1.12/strings/longlong2str-x86.s 2005-05-13 13:32:11.000000000 +0200 >+++ mysql-4.1.12-fixed/strings/longlong2str-x86.s 2005-05-23 16:27:20.000000000 +0200 >@@ -19,6 +19,13 @@ > .file "longlong2str.s" > .version "1.01" > >+ .section .rodata >+ .align 32 >+ .type _dig_vec_upper, @object >+ .size _dig_vec_upper, 37 >+_dig_vec_upper: >+ .string "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" >+ > .text > .align 4 > >@@ -31,11 +38,14 @@ > pushl %esi > pushl %edi > pushl %ebx >+ >+ call __i686.get_pc_thunk.bx >+ addl $_GLOBAL_OFFSET_TABLE_,%ebx >+ > movl 100(%esp),%esi # Lower part of val > movl 104(%esp),%ebp # Higher part of val > movl 108(%esp),%edi # get dst >- movl 112(%esp),%ebx # Radix >- movl %ebx,%eax >+ movl 112(%esp),%eax # Radix > testl %eax,%eax > jge .L144 > >@@ -50,7 +60,7 @@ > adcl $0,%ebp > negl %ebp > .L146: >- negl %ebx # Change radix to positive >+ negl 112(%esp) # Change radix to positive > jmp .L148 > .align 4 > .L144: >@@ -77,13 +87,13 @@ > > movl %ebp,%eax # High part of value > xorl %edx,%edx >- divl %ebx >+ divl 112(%esp) > movl %eax,%ebp > movl %esi,%eax >- divl %ebx >+ divl 112(%esp) > decl %ecx > movl %eax,%esi # quotent in ebp:esi >- movb _dig_vec_upper(%edx),%al # al is faster than dl >+ movb _dig_vec_upper@GOTOFF(%ebx,%edx),%al # al is faster than dl > movb %al,(%ecx) # store value in buff > .align 4 > .L155: >@@ -93,14 +103,13 @@ > jl .L153 > je .L10_mov # Ready > movl %esi,%eax >- movl $_dig_vec_upper,%ebp > .align 4 > > .L154: # Do rest with integer precision > cltd >- divl %ebx >+ divl 112(%esp) > decl %ecx >- movb (%edx,%ebp),%dl # bh is always zero as ebx=radix < 36 >+ movb _dig_vec_upper@GOTOFF(%ebx,%edx),%dl > testl %eax,%eax > movb %dl,(%ecx) > jne .L154 >@@ -221,3 +230,13 @@ > > .L10end: > .size longlong10_to_str,.L10end-longlong10_to_str >+ >+ .section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits >+.globl __i686.get_pc_thunk.bx >+ .hidden __i686.get_pc_thunk.bx >+ .type __i686.get_pc_thunk.bx, @function >+__i686.get_pc_thunk.bx: >+ movl (%esp), %ebx >+ ret >+ >+ .section .note.GNU-stack,"",@progbits
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42968
:
59072
|
59631
|
59657
|
59662
|
59750
|
59794
|
63496