This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Define _STRING_ARCH_unaligned unconditionally
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Wed, 26 Mar 2014 17:42:58 +0000
- Subject: Re: Define _STRING_ARCH_unaligned unconditionally
- Authentication-results: sourceware.org; auth=none
- References: <53331005 dot 1080804 at linux dot vnet dot ibm dot com>
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
--
Joseph S. Myers
joseph@codesourcery.com