From patchwork Fri Sep 29 21:30:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 820087 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-85144-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="gc9vQz7r"; dkim-atps=neutral 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 ozlabs.org (Postfix) with ESMTPS id 3y3l9T4jwsz9t6D for ; Sat, 30 Sep 2017 07:31:09 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=q65CGHQ/btF+Ig08/xVt5jNB65FFs unuXyB9MYCUHVsW0ly1r8ne1CS6krRAQlJMriyjoLmNQPZR4E5o3VZE5OqKyDPMr 59lEm2hF/1qhEyGyOf5f2VNxEHhaWrrauBBagfQNFEY47sfJGa5RCRgogK3IWpNZ UCsLPfiErnTiSM= 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:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=UuGctMtBo7qePQzSTbmdLGpFceA=; b=gc9 vQz7rcAe0dV819s2HJ4KrXQYIeEihdTXIxZ7+cAJmPDmkJAPian9dsuprJ5GPu/v IYOpiX9Po1QbPKLhKYNLe2kGeKReMklInHV1MJDauWmzC4RoqpB/K2GTDW3283Dj 7EcvWQJfyJFTbKc4xEGJLX3cALcPSUGt0SfleLeA= Received: (qmail 93179 invoked by alias); 29 Sep 2017 21:31:00 -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 92530 invoked by uid 89); 29 Sep 2017 21:31:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.8 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-it0-f52.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=8wAX//7jSCNL4wKd7mM/puZKsaGJkT/HpXaTq3/eWWs=; b=itO+VhWa8y9qppaTdIqSY9Me0eHsEWdB1NZNQqyUC3vTNVf6Zaqi+bExLgQNovO/Uy QAyhniA3SMQdE2twdfrl/xJr6/+ty3Y66cGKWAJRPPJcmOtzFQDTBvxkdjEOOq0oBRcb rq49rnbtG++cUIKVZCwmciMHHoHd0cdobHpkrpqdF/EeXeEhTnS4/O23X63Xo6BRK6Lv bQ0k5kDyK14hrKF1pSZe1rqle6pEmMLKEwsZZDi/WGZ7TsKqpZr5tbzpldihCSAwG/3l 84sziXk4jNNVqbnix4Kw7mM4Fd+FI8G7AxGFiW3HOdnIPCbbqNgeIiO64Jzzcy+MQRN2 51GQ== X-Gm-Message-State: AMCzsaUKmAMFY+w48JMnXwsw/HPklc96AGjLcbnA8fmbuLEpYZXyU/9b K7oI/AVgTHdJfcM0nI02e6FAVn3t X-Google-Smtp-Source: AOwi7QBdOHKDjL40JHYU9UfC3ziZ1seIbZQTKkG/YnCTgoKXJPLoJQ9G7/wGItGe0loYaBJRxVxvVA== X-Received: by 10.36.92.133 with SMTP id q127mr8813548itb.31.1506720657652; Fri, 29 Sep 2017 14:30:57 -0700 (PDT) Date: Fri, 29 Sep 2017 14:30:50 -0700 From: "H.J. Lu" To: GNU C Library Subject: [PATCH] m68k: Check PIC instead of SHARED in start.S Message-ID: <20170929213050.GD2482@gmail.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.9.0 (2017-09-02) Since start.o may be compiled as PIC, we should check PIC instead of SHARED. OK for master? * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED. --- sysdeps/m68k/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/m68k/start.S b/sysdeps/m68k/start.S index 71ba3b90e3..9f5d58831e 100644 --- a/sysdeps/m68k/start.S +++ b/sysdeps/m68k/start.S @@ -76,7 +76,7 @@ _start: pea (%a1) /* Push address of the shared library termination function. */ -#ifdef SHARED +#ifdef PIC /* Load PIC register. */ LOAD_GOT (%a5)