Message ID | 53331005.1080804@linux.vnet.ibm.com (mailing list archive) |
---|---|
State | Rejected |
Headers |
Return-Path: <x14307373@homiemail-mx21.g.dreamhost.com> 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 E662F3601E0 for <siddhesh@wilcox.dreamhost.com>; Wed, 26 Mar 2014 10:37:06 -0700 (PDT) Received: by homiemail-mx21.g.dreamhost.com (Postfix, from userid 14307373) id 906A9C5E617; Wed, 26 Mar 2014 10:37:06 -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 5A6BAE49B7D for <glibc@patchwork.siddhesh.in>; Wed, 26 Mar 2014 10:37:06 -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=GyZ c64pASlEsOLQ6Hb3vo/GAHQ9ANEFd+4yaNrGy+TcUXe+P/9ZeM69UQrfgSvZV+cj 8LQ713LbdymBnWAivygTou7RZ6mevfNI5ZCH2mBcHB7WPndbzjyALNGERM6opaB3 8W0sukTHjao1t2y9oqlChhF417VX1nWuiUheEGEA= 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=sdWmIUe5O xwPpKKb7y45zgVQxSA=; b=ybseXQU2bDVVvEqmvGEOIUTrnQzyWo5RPvqq+Q/qB JUbvr2Co87z0hA+xGRPo8odyIERMGErXow+T6zxlRmHBO1Q/X+e8vcXqAplOGTl4 eW6juk4nYof5+I/S+14NzSD2Wl8bcFl9UluFEjwcNbKerhlT3uv2u+fXfkbSucvQ Po= Received: (qmail 12594 invoked by alias); 26 Mar 2014 17:36:15 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <libc-alpha.sourceware.org> List-Unsubscribe: <mailto:libc-alpha-unsubscribe-glibc=patchwork.siddhesh.in@sourceware.org> List-Subscribe: <mailto:libc-alpha-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 12532 invoked by uid 89); 26 Mar 2014 17:36:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e24smtp04.br.ibm.com Message-ID: <53331005.1080804@linux.vnet.ibm.com> Date: Wed, 26 Mar 2014 14:36:05 -0300 From: Adhemerval Zanella <azanella@linux.vnet.ibm.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: "GNU C. Library" <libc-alpha@sourceware.org> Subject: Define _STRING_ARCH_unaligned unconditionally Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14032617-1820-0000-0000-000000331DC0 X-DH-Original-To: glibc@patchwork.siddhesh.in |
Commit Message
Adhemerval Zanella Netto
March 26, 2014, 5:36 p.m. UTC
This is a respin on my initial try to remove the undefined _STRING_ARCH_unaligned from PPC64 builds, but now extended to all arch that do not define it. This patch defines _STRING_ARCH_unaligned to 0, mimicking old undefined behavior. -- * bits/string.h (_STRING_ARCH_unaligned): Define it to 0. ---
Comments
On Wed, 26 Mar 2014, Adhemerval Zanella wrote: > This is a respin on my initial try to remove the undefined _STRING_ARCH_unaligned > from PPC64 builds, but now extended to all arch that do not define it. This patch > defines _STRING_ARCH_unaligned to 0, mimicking old undefined behavior. > > -- > > * bits/string.h (_STRING_ARCH_unaligned): Define it to 0. I see various files in the source tree with #ifdef / #ifndef / "defined" conditionals on _STRING_ARCH_unaligned. I don't think those are correct with it defined to 0, so I think you need to change all of those are part of the patch introducing the possibility that it might be defined to 0. crypt/sha256.c iconv/gconv_simple.c iconv/loop.c iconv/skeleton.c nscd/nscd_gethst_r.c nscd/nscd_getserv_r.c nscd/nscd_helper.c resolv/res_send.c
diff --git a/bits/string.h b/bits/string.h index f8630d2..42516d4 100644 --- a/bits/string.h +++ b/bits/string.h @@ -8,5 +8,6 @@ #ifndef _BITS_STRING_H #define _BITS_STRING_H 1 +#define _STRING_ARCH_unaligned 0 #endif /* bits/string.h */