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 Netto X-Patchwork-Id: 197 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx21.g.dreamhost.com (caibbdcaaahb.dreamhost.com [208.113.200.71]) by wilcox.dreamhost.com (Postfix) with ESMTP id A8B61360108 for ; Thu, 20 Mar 2014 11:26:38 -0700 (PDT) Received: by homiemail-mx21.g.dreamhost.com (Postfix, from userid 14307373) id 3A2C6CCC784; Thu, 20 Mar 2014 11:26:38 -0700 (PDT) X-Original-To: glibc@patchwork.siddhesh.in Delivered-To: x14307373@homiemail-mx21.g.dreamhost.com 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 homiemail-mx21.g.dreamhost.com (Postfix) with ESMTPS id F340BCCC789 for ; Thu, 20 Mar 2014 11:26:37 -0700 (PDT) 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=dZQ 9UEw8b4+6EbUYzgapqY16SNup7uUOE9YMUtdxbiX50hxKEjM+/qdWXz0ALDrPv1g VpIFPUGMgCzrOqR2y96DEoxSg1JMam62eIt18huBf+1UcuVZZzi1qSK8IwAyVcyH ZVkga/xkHgZNS0MGsjY2WfvHlGEHvXZgb47Zw/u8= 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=rpqM1pD6YFrJDNOGoqJb6iHu6j88VCBK+6TdS/y6d Yxk6bFQmu88ThxiIuWziNkuFKXDlMD+VdTr+5xFLCoUfwsW4/uAzf8fV7vFrtTbV 7XCcDIPp6WbV1mD9hO+fu06RrAM8dDgULoGOyDyFe1X8x26fVDhezq49hOo2RIqH YQ= 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 X-DH-Original-To: glibc@patchwork.siddhesh.in 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