Lines 18-24
Link Here
|
18 |
|
18 |
|
19 |
.file "my_strtoll10-x86.s" |
19 |
.file "my_strtoll10-x86.s" |
20 |
.version "01.01" |
20 |
.version "01.01" |
21 |
.data |
21 |
.section .rodata |
22 |
.align 32 |
22 |
.align 32 |
23 |
.type lfactor,@object |
23 |
.type lfactor,@object |
24 |
.size lfactor,36 |
24 |
.size lfactor,36 |
Lines 315-321
my_strtoll10:
Link Here
|
315 |
.Lend_i_and_j: |
315 |
.Lend_i_and_j: |
316 |
movl %esi,%ecx |
316 |
movl %esi,%ecx |
317 |
subl -12(%ebp),%ecx # ecx= number of digits in second part |
317 |
subl -12(%ebp),%ecx # ecx= number of digits in second part |
318 |
movl lfactor(,%ecx,4),%eax |
318 |
|
|
|
319 |
call __i686.get_pc_thunk.bx |
320 |
addl $_GLOBAL_OFFSET_TABLE_,%ebx |
321 |
|
322 |
movl lfactor@GOTOFF(%ebx,%ecx,4),%eax |
319 |
jmp .L523 |
323 |
jmp .L523 |
320 |
|
324 |
|
321 |
# Return -8(%ebp) * $1000000000 + edi |
325 |
# Return -8(%ebp) * $1000000000 + edi |
Lines 400-402
my_strtoll10:
Link Here
|
400 |
.comm end_ptr,120,32 |
404 |
.comm end_ptr,120,32 |
401 |
.comm error,120,32 |
405 |
.comm error,120,32 |
402 |
.ident "Monty" |
406 |
.ident "Monty" |
|
|
407 |
|
408 |
.section .gnu.linkonce.t.__i686.get_pc_thunk.bx,"ax",@progbits |
409 |
.globl __i686.get_pc_thunk.bx |
410 |
.hidden __i686.get_pc_thunk.bx |
411 |
.type __i686.get_pc_thunk.bx, @function |
412 |
__i686.get_pc_thunk.bx: |
413 |
movl (%esp), %ebx |
414 |
ret |
415 |
|
416 |
.section .note.GNU-stack,"",@progbits |