Module Name:    src
Committed By:   chs
Date:           Mon Feb 27 20:25:26 UTC 2017

Modified Files:
        src/libexec/ld.elf_so: rtld.c

Log Message:
tag the powerpc hackish_return_address() as __noinline.


To generate a diff of this commit:
cvs rdiff -u -r1.182 -r1.183 src/libexec/ld.elf_so/rtld.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/rtld.c
diff -u src/libexec/ld.elf_so/rtld.c:1.182 src/libexec/ld.elf_so/rtld.c:1.183
--- src/libexec/ld.elf_so/rtld.c:1.182	Thu Dec  1 18:21:39 2016
+++ src/libexec/ld.elf_so/rtld.c	Mon Feb 27 20:25:26 2017
@@ -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);

Reply via email to