From 1c75bf6f844916c857e1d92bc8ff284a5c8e9aa8 Mon Sep 17 00:00:00 2001 From: chs Date: Mon, 27 Feb 2017 20:25:26 +0000 Subject: [PATCH] tag the powerpc hackish_return_address() as __noinline. --- libexec/ld.elf_so/rtld.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libexec/ld.elf_so/rtld.c b/libexec/ld.elf_so/rtld.c index 9ed3f22e8d92..8b3069bcaa82 100644 --- a/libexec/ld.elf_so/rtld.c +++ b/libexec/ld.elf_so/rtld.c @@ -1,4 +1,4 @@ -/* $NetBSD: rtld.c,v 1.182 2016/12/01 18:21:39 christos Exp $ */ +/* $NetBSD: rtld.c,v 1.183 2017/02/27 20:25:26 chs Exp $ */ /* * Copyright 1996 John D. Polstra. @@ -40,7 +40,7 @@ #include #ifndef lint -__RCSID("$NetBSD: rtld.c,v 1.182 2016/12/01 18:21:39 christos Exp $"); +__RCSID("$NetBSD: rtld.c,v 1.183 2017/02/27 20:25:26 chs Exp $"); #endif /* not lint */ #include @@ -1071,7 +1071,7 @@ _rtld_objmain_sym(const char *name) } #ifdef __powerpc__ -static void * +static __noinline void * hackish_return_address(void) { return __builtin_return_address(1);