From patchwork Thu Jul 3 13:26:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 1875 Received: (qmail 11441 invoked by alias); 3 Jul 2014 13:26:58 -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 11401 invoked by uid 89); 3 Jul 2014 13:26:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-we0-f177.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id; bh=Db1CkFhvD/PD1QepekY378SUncLc1I4wAUHc27yYgoQ=; b=LbzaGFfawqIs/EvcWvfciETr8ZJgHji3fJ3c8VKxECpNAApi8r5MYmxPfAqLKEmgAe u8ELjC/mtpFdR0CTnRLrY7QuZ0qSJffNy1Dz0fLf+nBvFqoADfSBRxVc1ZV1bhno+4iy JxGm3O1nhNedKx6PW8Bnlp+DwBvqcjyrY+dFceI05NnVSpk86+KKkvpP1FtP9CCjxq2U CUq1YlcoZccRUQp+gZdsHUliFmjPCrRCzPtBVfiQ2DsHBxj+dihNZb68AqYE/h0T5G7h 7SkGcnsl6MC3GgfnTSo1MkMbkPhaHe6Z5zbahWnW227uulGqMvxmb3t4ZK7MdXUZp90g hfHA== X-Gm-Message-State: ALoCoQmaX3W19JJ+EgLJqsw0qRSw5dAahSfbVFMo/hGqtWc359xAc/yAp53k4ydjO4w0iv0G1fbh X-Received: by 10.194.185.238 with SMTP id ff14mr5029918wjc.9.1404394004709; Thu, 03 Jul 2014 06:26:44 -0700 (PDT) From: Will Newton To: libc-alpha@sourceware.org Subject: [PATCH] ARM: Define ELF_MACHINE_NO_REL Date: Thu, 3 Jul 2014 14:26:40 +0100 Message-Id: <1404394000-13429-1-git-send-email-will.newton@linaro.org> Fix a -Wundef warning on ARM. ChangeLog: 2014-07-03 Will Newton * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define. --- sysdeps/arm/dl-machine.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sysdeps/arm/dl-machine.h b/sysdeps/arm/dl-machine.h index c5ffc93..d6b0c52 100644 --- a/sysdeps/arm/dl-machine.h +++ b/sysdeps/arm/dl-machine.h @@ -279,6 +279,7 @@ elf_machine_plt_value (struct link_map *map, const Elf32_Rel *reloc, /* ARM never uses Elf32_Rela relocations for the dynamic linker. Prelinked libraries may use Elf32_Rela though. */ #define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP +#define ELF_MACHINE_NO_REL 0 /* Names of the architecture-specific auditing callback functions. */ #define ARCH_LA_PLTENTER arm_gnu_pltenter