From patchwork Thu Mar 20 18:25:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 332352 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id DEF7E2C00A1 for ; Fri, 21 Mar 2014 05:26:41 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=scM k7KuUD4dMbdyyOOq3ftvq+EmQSZg9/HqtrpIIr84f9IuNLy6KXhz+fq9HS1+VFs6 4KJgnaCYlBjjTwNtd97hcawNTobXERemQdh4qlK9tW4FH+6zekod2LYbg3a3/oi6 ULqYnzJ95R9kPEIWdon5F9fqD+ZRXKwa9h1WQU20= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=mO843eT6D N4Pgq0QcoDPqNDSf4I=; b=jXFhAfbP7mKetbUXGk+9856nyz/Ckni3wmlNzGAiS npCbVMJT4UepyuxEdgdAzVwR9xqYW1H8IzrIuO7pKbsopuCXyy8T+Jf3vlHDMSVs dZb4Nv4r1/D1rphG+YtdhDEzGEioHc5m6tN5PU13b8zidKtGx5beNGOzxk1UhiPL XI= Received: (qmail 27416 invoked by alias); 20 Mar 2014 18:26:36 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 27402 invoked by uid 89); 20 Mar 2014 18:26:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e24smtp05.br.ibm.com Message-ID: <532B32B2.3020306@linux.vnet.ibm.com> Date: Thu, 20 Mar 2014 15:25:54 -0300 From: Adhemerval Zanella User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: "GNU C. Library" Subject: PowerPC: Define _STRING_ARCH_unaligned X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14032018-1798-0000-0000-00000211B767 Here is another warning fixing, powerpc specific. Following where it is defined for other archs, I had added a new header for PowerPC. I am not very found of adding another arch-specific header, however it seems the way to avoid such define issues. --- 2014-03-20 Adhemerval Zanella * sysdeps/powerpc/bits/string.h: New file: define _STRING_ARCH_unaligned. --- diff --git a/sysdeps/powerpc/bits/string.h b/sysdeps/powerpc/bits/string.h new file mode 100644 index 0000000..eff3155 --- /dev/null +++ b/sysdeps/powerpc/bits/string.h @@ -0,0 +1,24 @@ +/* Optimized inlined string functions. PowerPC version. + Copyright (C) 2014 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . */ + +#ifndef _STRING_H +# error "Never use directly; include instead." +#endif + +#define _STRING_ARCH_unaligned 1