tag the powerpc hackish_return_address() as __noinline.

This commit is contained in:
chs 2017-02-27 20:25:26 +00:00
parent 2fafd8552f
commit 1c75bf6f84
1 changed files with 3 additions and 3 deletions

View File

@ -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 <sys/cdefs.h>
#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 <sys/param.h>
@ -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);