Module Name: src Committed By: christos Date: Thu Feb 13 02:53:46 UTC 2020
Modified Files: src/tests/lib/libc/sys: t_ptrace_x86_wait.h Log Message: Turn off optimization on a function which contains constant labels. The optimizer splits it and we end up with 2 copies and duplicate symbols. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/tests/lib/libc/sys/t_ptrace_x86_wait.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/sys/t_ptrace_x86_wait.h diff -u src/tests/lib/libc/sys/t_ptrace_x86_wait.h:1.18 src/tests/lib/libc/sys/t_ptrace_x86_wait.h:1.19 --- src/tests/lib/libc/sys/t_ptrace_x86_wait.h:1.18 Wed Jan 8 12:23:34 2020 +++ src/tests/lib/libc/sys/t_ptrace_x86_wait.h Wed Feb 12 21:53:46 2020 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_x86_wait.h,v 1.18 2020/01/08 17:23:34 mgorny Exp $ */ +/* $NetBSD: t_ptrace_x86_wait.h,v 1.19 2020/02/13 02:53:46 christos Exp $ */ /*- * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc. @@ -1971,7 +1971,7 @@ ATF_TC_HEAD(x86_cve_2018_8897, tc) #define X86_CVE_2018_8897_PAGE 0x5000 /* page addressable by 32-bit registers */ -static void +static __attribute__((__optimize__("O0"))) void x86_cve_2018_8897_trigger(void) { /*