~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2002, 2003, 2005, 2007, 2011 Free Software Foundation, Inc.
 
1
/* Copyright (C) 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
2
2
   This file is part of the GNU C Library.
3
3
   Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
4
4
 
41
41
        retq
42
42
 
43
43
1:
 
44
#if USE___THREAD
44
45
        movq    errno@gottpoff(%rip), %rdx
45
46
        movl    $EAGAIN, %fs:(%rdx)
 
47
#else
 
48
        callq   __errno_location@plt
 
49
        movl    $EAGAIN, (%rax)
 
50
#endif
46
51
        orl     $-1, %eax
47
52
        retq
48
53
        .size   sem_trywait,.-sem_trywait