diff options
Diffstat (limited to 'libexec/rtld-elf/alpha/rtld_machdep.h')
-rw-r--r-- | libexec/rtld-elf/alpha/rtld_machdep.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libexec/rtld-elf/alpha/rtld_machdep.h b/libexec/rtld-elf/alpha/rtld_machdep.h index 11927d6..13921c4 100644 --- a/libexec/rtld-elf/alpha/rtld_machdep.h +++ b/libexec/rtld-elf/alpha/rtld_machdep.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 1999 John D. Polstra. + * Copyright (c) 1999, 2000 John D. Polstra. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -34,4 +34,10 @@ void reloc_jmpslot(Elf_Addr *, Elf_Addr); +/* Atomic operations. */ +int cmp0_and_store_int(volatile int *, int); +void atomic_add_int(volatile int *, int); +void atomic_incr_int(volatile int *); +void atomic_decr_int(volatile int *); + #endif |