diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-08-29 02:08:14 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-08-29 02:08:14 +0000 |
commit | f8187a6eb66878b0b0b80568b5d8df62b948285d (patch) | |
tree | 45ba4d3d1cdc301e5567a04fbf1f1bb2e90ef2cf /libexec | |
parent | bca10c250b0643dabec71519d1d6cf5f3a5745f1 (diff) |
use ansi volatile keyword, not __volatile__
ok miod@ guenther@
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ld.so/hppa/rtld_machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/hppa/rtld_machine.c b/libexec/ld.so/hppa/rtld_machine.c index 82c7220725c..f62ea8854b3 100644 --- a/libexec/ld.so/hppa/rtld_machine.c +++ b/libexec/ld.so/hppa/rtld_machine.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rtld_machine.c,v 1.43 2022/01/08 06:49:41 guenther Exp $ */ +/* $OpenBSD: rtld_machine.c,v 1.44 2022/08/29 02:08:13 jsg Exp $ */ /* * Copyright (c) 2004 Michael Shalayeff @@ -446,7 +446,7 @@ _dl_bind(elf_object_t *object, int reloff) register long arg1 __asm__("r25") = sizeof(buf); register long arg2 __asm__("r24") = 0xffffffff & (cookie >> 32); register long arg3 __asm__("r23") = 0xffffffff & cookie; - __asm__ __volatile__ ("ble 4(%%sr7, %%r1) ! ldi %0, %%r22" + __asm__ volatile ("ble 4(%%sr7, %%r1) ! ldi %0, %%r22" : : "i" (SYS_kbind), "r" (r1), "r"(arg0), "r"(arg1), "r"(arg2), "r"(arg3) |