tag the powerpc hackish_return_address() as __noinline.
This commit is contained in:
parent
2fafd8552f
commit
1c75bf6f84
|
@ -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.
|
* Copyright 1996 John D. Polstra.
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#ifndef lint
|
#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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
|
@ -1071,7 +1071,7 @@ _rtld_objmain_sym(const char *name)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __powerpc__
|
#ifdef __powerpc__
|
||||||
static void *
|
static __noinline void *
|
||||||
hackish_return_address(void)
|
hackish_return_address(void)
|
||||||
{
|
{
|
||||||
return __builtin_return_address(1);
|
return __builtin_return_address(1);
|
||||||
|
|
Loading…
Reference in New Issue