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: 33025 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f70.google.com (mail-oa0-f70.google.com [209.85.219.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 66FE220560 for ; Thu, 3 Jul 2014 13:27:11 +0000 (UTC) Received: by mail-oa0-f70.google.com with SMTP id m1sf818158oag.9 for ; Thu, 03 Jul 2014 06:27:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:mailing-list :precedence:list-id:list-unsubscribe:list-subscribe:list-archive :list-post:list-help:sender:delivered-to:from:to:subject:date :message-id:x-original-sender:x-original-authentication-results; bh=Db1CkFhvD/PD1QepekY378SUncLc1I4wAUHc27yYgoQ=; b=Zw+cs5CV9knvG3RUNi8MPFumvZdYjzj1dY2bhYMl/aRgQ/6nbv/UZynxlH6dKIr5Su D5lWWwnQA5DhEidaeX/DwMBaNYL2Ul+Swjy+M5W81sC0Cea1Ry7gYAfhFFFJBIJtKTSQ H6wOhoHgN1LJHuiOqvgf6y9mFgu0hOzIkyBm1Gc+SUB7wFmD19LgMeExgbVOqmDasW2J YYfYzJnvkjhaB27P/ZN6a4lKL52kjVJyrO+Yn66HmCm8A5ZDzuvqwKbt+Fp790mou7Ch Cu58EK0PiNcSwvwr66BqVXxq0BafZlfvojZ02QCBwVpqQ803z2GbPNwm3CqkT4KPidRM AtAg== X-Gm-Message-State: ALoCoQmUecqPYdD6cCr1Grq6X5wkzZZLTiYgnOu38232BTmx5KJFAKcmZgGPgIQaFw3G0ibOoaIW X-Received: by 10.182.92.169 with SMTP id cn9mr2250723obb.45.1404394031101; Thu, 03 Jul 2014 06:27:11 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.32.203 with SMTP id h69ls443877qgh.56.gmail; Thu, 03 Jul 2014 06:27:11 -0700 (PDT) X-Received: by 10.52.137.109 with SMTP id qh13mr347987vdb.63.1404394030994; Thu, 03 Jul 2014 06:27:10 -0700 (PDT) Received: from mail-ve0-x22d.google.com (mail-ve0-x22d.google.com [2607:f8b0:400c:c01::22d]) by mx.google.com with ESMTPS id k4si14182690vch.63.2014.07.03.06.27.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Jul 2014 06:27:10 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::22d as permitted sender) client-ip=2607:f8b0:400c:c01::22d; Received: by mail-ve0-f173.google.com with SMTP id db11so212380veb.4 for ; Thu, 03 Jul 2014 06:27:10 -0700 (PDT) X-Received: by 10.220.53.72 with SMTP id l8mr3881901vcg.16.1404394030413; Thu, 03 Jul 2014 06:27:10 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp373379vcb; Thu, 3 Jul 2014 06:27:09 -0700 (PDT) X-Received: by 10.70.88.163 with SMTP id bh3mr3984062pdb.41.1404394029632; Thu, 03 Jul 2014 06:27:09 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id bs8si32957156pad.157.2014.07.03.06.27.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Jul 2014 06:27:09 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-51508-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 11441 invoked by alias); 3 Jul 2014 13:26:58 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list 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 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-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> X-Original-Sender: will.newton@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2607:f8b0:400c:c01::22d as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@sourceware.org X-Google-Group-Id: 836684582541 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