Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so tag the powerpc hackish_return_address() a...



details:   https://anonhg.NetBSD.org/src/rev/fe2e999c4c0c
branches:  trunk
changeset: 822060:fe2e999c4c0c
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Feb 27 20:25:26 2017 +0000

description:
tag the powerpc hackish_return_address() as __noinline.

diffstat:

 libexec/ld.elf_so/rtld.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4bf050891859 -r fe2e999c4c0c libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c  Mon Feb 27 20:22:32 2017 +0000
+++ b/libexec/ld.elf_so/rtld.c  Mon Feb 27 20:25:26 2017 +0000
@@ -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 @@
 }
 
 #ifdef __powerpc__
-static void *
+static __noinline void *
 hackish_return_address(void)
 {
        return __builtin_return_address(1);



Home | Main Index | Thread Index | Old Index