diff options
-rw-r--r-- | nptl/ChangeLog | 2 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S | 2 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 5dcea7b..c457f39 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,6 +1,6 @@ 2003-04-14 Ulrich Drepper <drepper@redhat.com> - * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Don't + * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Don't overflow CFA advance instructions. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise. diff --git a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S index e561471..1ac6c1a 100644 --- a/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S +++ b/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S @@ -376,7 +376,7 @@ versioned_symbol (libpthread, __pthread_cond_wait, pthread_cond_wait, .byte 0x40+.Lsubl-.Lpush4 # DW_CFA_advance_loc+N .byte 14 # DW_CFA_def_cfa_offset .uleb128 52 - .byte 3 # DW_CFA_advance_loc2 + .byte 2 # DW_CFA_advance_loc1 .byte .Laddl-.Lsubl .byte 14 # DW_CFA_def_cfa_offset .uleb128 16 diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S index 916a388..6cad281 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S @@ -342,7 +342,8 @@ versioned_symbol (libpthread, __pthread_cond_wait, pthread_cond_wait, .byte 0x40+.Lsubq-.Lpush_r12 # DW_CFA_advance_loc+N .byte 14 # DW_CFA_def_cfa_offset .uleb128 80 - .byte 0x40+.Laddq-.Lsubq # DW_CFA_advance_loc+N + .byte 2 # DW_CFA_advance_loc1 + .byte .Laddq-.Lsubq .byte 14 # DW_CFA_def_cfa_offset .uleb128 16 .byte 0x40+.Lpop_r12-.Laddq # DW_CFA_advance_loc+N |