From f8187a6eb66878b0b0b80568b5d8df62b948285d Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 29 Aug 2022 02:08:14 +0000 Subject: use ansi volatile keyword, not __volatile__ ok miod@ guenther@ --- libexec/ld.so/hppa/rtld_machine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec') 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) -- cgit v1.2.3