From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19059 invoked by alias); 8 Aug 2012 20:19:33 -0000 Received: (qmail 19048 invoked by uid 22791); 8 Aug 2012 20:19:32 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from toast.topped-with-meat.com (HELO topped-with-meat.com) (204.197.218.159) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 08 Aug 2012 20:19:19 +0000 Received: by topped-with-meat.com (Postfix, from userid 5281) id 7E2932C083; Wed, 8 Aug 2012 13:19:18 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: libc-ports@sourceware.org Subject: [PATCH roland/arm-irel-ldsodefs] ARM: add missing #include Message-Id: <20120808201918.7E2932C083@topped-with-meat.com> Date: Wed, 08 Aug 2012 20:19:00 -0000 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.0 cv=LtfpOghc c=1 sm=1 a=_eE-Kul3a1IA:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=14OXPxybAAAA:8 a=5brhOpIm483QxGdSr2wA:9 a=CjuIK1q_8ugA:10 a=WkljmVdYkabdwxfqvArNOQ==:117 X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00054.txt.bz2 I'm doing a cross-build for arm-linux-gnueabi with trunk GCC. There's an early error from a missing definition of GLRO. I don't know how the build could be working for anybody without this fix, but maybe there is some indirect difference caused by the compiler. Ok to commit (i.e. merge roland/arm-irel-ldsodefs)? Thanks, Roland ports/ChangeLog.arm * sysdeps/arm/dl-irel.h: Include . diff --git a/ports/sysdeps/arm/dl-irel.h b/ports/sysdeps/arm/dl-irel.h index 5b1964e..292bc1a 100644 --- a/ports/sysdeps/arm/dl-irel.h +++ b/ports/sysdeps/arm/dl-irel.h @@ -1,6 +1,6 @@ /* Machine-dependent ELF indirect relocation inline functions. ARM version. - Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2009-2012 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 @@ -22,6 +22,7 @@ #include #include +#include #define ELF_MACHINE_IREL 1