]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Sun, 13 Apr 2003 08:36:19 +0000 (08:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 13 Apr 2003 08:36:19 +0000 (08:36 +0000)
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Add unwind info.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.

nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S
nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S
nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S

index 9066a7c475927fd6dbc85d02f048eeacc83b4881..1a3e32f716252100feed5ff864c5f34311d2f5ed 100644 (file)
@@ -1,7 +1,8 @@
 2003-04-13  Ulrich Drepper  <drepper@redhat.com>
 
-       * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Add
-       unwind info.
+       * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Add unwind info.
+       * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
+       * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
        * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
 
 2003-04-12  Ulrich Drepper  <drepper@redhat.com>
index 04db8192674daa5817142fec8cb4514608f4319f..cd80099406ad6bb6aa340966bb5f6886141afff1 100644 (file)
@@ -379,7 +379,9 @@ versioned_symbol (libpthread, __pthread_cond_timedwait, pthread_cond_timedwait,
        .long   .LSTARTCODE             # Start address of the code.
 #endif
        .long   .LENDCODE-.LSTARTCODE   # Length of the code.
+#ifdef SHARED
        .uleb128 0                      # No augmentation data.
+#endif
        .byte   4                       # DW_CFA_advance_loc4
        .long   .Lpush_ebp-.LSTARTCODE
        .byte   14                      # DW_CFA_def_cfa_offset
index 72dcf4d65380fde4c53c8e6109fb36fbd4d15cd4..89bd4a66f0f9d9def18b0a2d6329a86f93837326 100644 (file)
@@ -348,7 +348,9 @@ versioned_symbol (libpthread, __pthread_cond_wait, pthread_cond_wait,
        .long   .LSTARTCODE             # Start address of the code.
 #endif
        .long   .LENDCODE-.LSTARTCODE   # Length of the code.
+#ifdef SHARED
        .uleb128 0                      # No augmentation data.
+#endif
        .byte   4                       # DW_CFA_advance_loc4
        .long   .Lpush_edi-.LSTARTCODE
        .byte   14                      # DW_CFA_def_cfa_offset
index 7a75e0d7d26d08a03eab314369235e4564b32b64..79d8a2aebea6ff1c0b1a77b737f7bdf6905519ab 100644 (file)
        .type   __pthread_cond_timedwait, @function
        .align  16
 __pthread_cond_timedwait:
+.LSTARTCODE:
        pushq   %r12
+.Lpush_r12:
        pushq   %r13
+.Lpush_r13:
        pushq   %r14
+.Lpush_r14:
        subq    $80, %rsp
+.Lsubq:
        /* Stack frame:
 
           rsp + 80
@@ -228,14 +233,19 @@ __pthread_cond_timedwait:
        cmoveq  %r14, %rax
 
 18:    addq    $80, %rsp
+.Laddq:
        popq    %r14
+.Lpop_r14:
        popq    %r13
+.Lpop_r13:
        popq    %r12
+.Lpop_r12:
 
        retq
 
        /* Initial locking failed.  */
 1:
+.LSbl1:
 #if cond_lock != 0
        addq    $cond_lock, %rdi
 #endif
@@ -311,6 +321,86 @@ __pthread_cond_timedwait:
        js      13b
        jmp     21b
 #endif
+.LENDCODE:
        .size   __pthread_cond_timedwait, .-__pthread_cond_timedwait
 versioned_symbol (libpthread, __pthread_cond_timedwait, pthread_cond_timedwait,
                  GLIBC_2_3_2)
+
+
+       .section .eh_frame,"a",@progbits
+.LSTARTFRAME:
+       .long   L(ENDCIE)-L(STARTCIE)   # Length of the CIE.
+.LSTARTCIE:
+       .long   0                       # CIE ID.
+       .byte   1                       # Version number.
+#ifdef SHARED
+       .string "zR"                    # NUL-terminated augmentation string.
+#else
+       .ascii  "\0"                    # NUL-terminated augmentation string.
+#endif
+       .uleb128 1                      # Code alignment factor.
+       .sleb128 -8                     # Data alignment factor.
+       .byte   16                      # Return address register column.
+#ifdef SHARED
+       .uleb128 1                      # Augmentation value length.
+       .byte   0x1b                    # Encoding: DW_EH_PE_pcrel
+                                       # + DW_EH_PE_sdata4.
+#endif
+       .byte 0x0c                      # DW_CFA_def_cfa
+       .uleb128 7
+       .uleb128 8
+       .byte   0x90                    # DW_CFA_offset, column 0x8
+       .uleb128 1
+       .align 8
+.LENDCIE:
+
+       .long   .LENDFDE-.LSTARTFDE     # Length of the FDE.
+.LSTARTFDE:
+       .long   .LSTARTFDE-.LSTARTFRAME # CIE pointer.
+#ifdef SHARED
+       .long   .LSTARTCODE-.           # PC-relative start address of the code
+#else
+       .long   .LSTARTCODE             # Start address of the code.
+#endif
+       .long   .LENDCODE-.LSTARTCODE   # Length of the code.
+#ifdef SHARED
+       .uleb128 0                      # No augmentation data.
+#endif
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Lpush_r12-.LSTARTCODE
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 16
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Lpush_r13-.Lpush_r12
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 24
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Lpush_r14-.Lpush_r13
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 32
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Lsubq-.Lpush_r14
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 112
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Laddq-.Lsubq
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 32
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Lpop_r14-.Laddq
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 24
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Lpop_r13-.Lpop_r14
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 16
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Lpop_r12-.Lpop_r13
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 8
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .LSbl1-.Lpop_r12
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 112
+       .align  8
+.LENDFDE:
index 652ddca772aa4aec5761e8e22c0842a9db61d671..a7fcc8c8fc66d8a3fc0737adc27a70e4dbd98607 100644 (file)
@@ -100,8 +100,11 @@ __condvar_cleanup:
        .type   __pthread_cond_wait, @function
        .align  16
 __pthread_cond_wait:
+.LSTARTCODE:
        pushq   %r12
+.Lpush_r12:
        subq    $64, %rsp
+.Lsubq:
        /* Stack frame:
 
           rsp + 64
@@ -220,14 +223,17 @@ __pthread_cond_wait:
        movq    16(%rsp), %rdi
        callq   __pthread_mutex_lock_internal
 14:    addq    $64, %rsp
+.Laddq:
 
        popq    %r12
+.Lpop_r12:
 
        /* We return the result of the mutex_lock operation.  */
        retq
 
        /* Initial locking failed.  */
 1:
+.LSbl1:
 #if cond_lock != 0
        addq    $cond_lock, %rdi
 #endif
@@ -279,6 +285,70 @@ __pthread_cond_wait:
 
 13:    movq    %r10, %rax
        jmp     14b
+.LENDCODE:
        .size   __pthread_cond_wait, .-__pthread_cond_wait
 versioned_symbol (libpthread, __pthread_cond_wait, pthread_cond_wait,
                  GLIBC_2_3_2)
+
+
+       .section .eh_frame,"a",@progbits
+.LSTARTFRAME:
+       .long   L(ENDCIE)-L(STARTCIE)   # Length of the CIE.
+.LSTARTCIE:
+       .long   0                       # CIE ID.
+       .byte   1                       # Version number.
+#ifdef SHARED
+       .string "zR"                    # NUL-terminated augmentation string.
+#else
+       .ascii  "\0"                    # NUL-terminated augmentation string.
+#endif
+       .uleb128 1                      # Code alignment factor.
+       .sleb128 -8                     # Data alignment factor.
+       .byte   16                      # Return address register column.
+#ifdef SHARED
+       .uleb128 1                      # Augmentation value length.
+       .byte   0x1b                    # Encoding: DW_EH_PE_pcrel
+                                       # + DW_EH_PE_sdata4.
+#endif
+       .byte 0x0c                      # DW_CFA_def_cfa
+       .uleb128 7
+       .uleb128 8
+       .byte   0x90                    # DW_CFA_offset, column 0x8
+       .uleb128 1
+       .align 8
+.LENDCIE:
+
+       .long   .LENDFDE-.LSTARTFDE     # Length of the FDE.
+.LSTARTFDE:
+       .long   .LSTARTFDE-.LSTARTFRAME # CIE pointer.
+#ifdef SHARED
+       .long   .LSTARTCODE-.           # PC-relative start address of the code
+#else
+       .long   .LSTARTCODE             # Start address of the code.
+#endif
+       .long   .LENDCODE-.LSTARTCODE   # Length of the code.
+#ifdef SHARED
+       .uleb128 0                      # No augmentation data.
+#endif
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Lpush_r12-.LSTARTCODE
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 16
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Lsubq-.Lpush_r12
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 80
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Laddq-.Lsubq
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 16
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .Lpop_r12-.Laddq
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 8
+       .byte   4                       # DW_CFA_advance_loc4
+       .long   .LSbl1-.Lpop_r12
+       .byte   14                      # DW_CFA_def_cfa_offset
+       .uleb128 80
+       .align  8
+.LENDFDE:
This page took 0.064999 seconds and 5 git commands to generate.