From patchwork Sat Oct 31 18:32:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 538677 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id DED6514138F for ; Sun, 1 Nov 2015 05:33:17 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=u8FUvL86; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9157B88623; Sat, 31 Oct 2015 18:33:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cPM1jFsa+6KZ; Sat, 31 Oct 2015 18:33:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id B3577886DC; Sat, 31 Oct 2015 18:33:13 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E1C551C11FD for ; Sat, 31 Oct 2015 18:33:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DAB4B2D5EF for ; Sat, 31 Oct 2015 18:33:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kYinyVykhQ80 for ; Sat, 31 Oct 2015 18:33:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk0-f173.google.com (mail-qk0-f173.google.com [209.85.220.173]) by silver.osuosl.org (Postfix) with ESMTPS id 314122CE19 for ; Sat, 31 Oct 2015 18:33:11 +0000 (UTC) Received: by qkcl124 with SMTP id l124so40100759qkc.3 for ; Sat, 31 Oct 2015 11:33:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=nRjHMkdbfkRlQQV6I6f3BxSEdDmaXPWM5DSNLfpSBQ0=; b=u8FUvL86Svfx+076GZov/UCYiSaiMUDTU/xOo9plS1jz1nFF888aYR2ob2ROasuvOr E2f6nxISDu9cIuXv3DP4dF2hY/nxupN77RTkP7n6srBUgG13E1f79Qj8dOu+o6f1Gv/h FfIPf3b6o6yOKjEnCqPLI4e47lEdpyl5NFYkaI+azt05zt05cac8v8CELG+Q5JGu+xWN 7g6oClU9C681v16f7OJujvI9VTvcMQJOBt0dmnGUsGGh+5nBr6TizARGxA9u+rzjjGrg wY7EItyGjMTrRvsAryeV3/iOM4xesBaPsuhk/e0QjKY9sWZKiRoZqM+kys+PqGjXKrZ5 Z2pQ== X-Received: by 10.55.76.214 with SMTP id z205mr18561673qka.91.1446316390417; Sat, 31 Oct 2015 11:33:10 -0700 (PDT) Received: from khem-dvm-001.sys.comcast.net (a-96-119-177-31.sys.comcast.net. [96.119.177.31]) by smtp.gmail.com with ESMTPSA id n48sm4817436qgd.35.2015.10.31.11.33.09 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 31 Oct 2015 11:33:10 -0700 (PDT) From: Khem Raj To: uclibc@uclibc.org Subject: [PATCH 4/9] Dont support localised optimizations this helps to have a global -O level Date: Sat, 31 Oct 2015 18:32:56 +0000 Message-Id: <1446316381-5070-4-git-send-email-raj.khem@gmail.com> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1446316381-5070-1-git-send-email-raj.khem@gmail.com> References: <1446316381-5070-1-git-send-email-raj.khem@gmail.com> MIME-Version: 1.0 X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: uclibc-bounces@uclibc.org Sender: "uClibc" Signed-off-by: Khem Raj --- libpthread/nptl/pthread_mutex_timedlock.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libpthread/nptl/pthread_mutex_timedlock.c b/libpthread/nptl/pthread_mutex_timedlock.c index 04187f6..f56f6c5 100644 --- a/libpthread/nptl/pthread_mutex_timedlock.c +++ b/libpthread/nptl/pthread_mutex_timedlock.c @@ -28,7 +28,9 @@ * error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’ */ int +#ifndef __OPTIMIZE__ attribute_optimize("Os") +#endif pthread_mutex_timedlock ( pthread_mutex_t *mutex, const struct timespec *abstime)