From patchwork Fri Sep 29 21:30:28 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: 23239 Received: (qmail 82971 invoked by alias); 29 Sep 2017 21:30:39 -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 82676 invoked by uid 89); 29 Sep 2017 21:30:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:651 X-HELO: mail-it0-f50.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=pjXNuOT3im54ZnEZV8O6KuemMHi8R21pOmn/VIlhRu0=; b=JLDQ1pEZiBZcE82Zi4u2w8WefZ6Jta4Pnfa6zvRllPlM7EYCIG3ViKTNI5JkfHxM8S kjxrZUFiC4mS+qbUdExx/2fAvnnOE4OpHeds2LY92XxQkHsPAu06REMTbOiOZGIkC7z1 gcPWjELPUxs7nAIuu8HSk/F31B/M350rEFcGjOevqBP3NCeEhh1bETcG03rTkiPWVLY6 DIubVHsVlBqH5Yi4TcBkYWtyighu93U+s8BmR+9fa79uI18ojqjeAdHPJpUhahl5a4rg +3OgKXmot8Ae5HE2zgXKQsCmzxKIdx5MXwgFdu3tlJLBOfcrK3ftODcystzIPa53NctA FYsg== X-Gm-Message-State: AMCzsaWrDoG/LEtFacNsXue69LoJzKQIJp6TyeP1CoRh6w63FyfPO6BV TL4q4wdR2iXkXqGlKPrG/33ljTWN X-Google-Smtp-Source: AOwi7QBAJ0R0IEXMK+fppI7oceyz5QEKNj/4bwdAGetB1E7f8WZnTvGjmqjnJFfOMD92KX5o213tUA== X-Received: by 10.36.223.2 with SMTP id r2mr9709832itg.19.1506720635400; Fri, 29 Sep 2017 14:30:35 -0700 (PDT) Date: Fri, 29 Sep 2017 14:30:28 -0700 From: "H.J. Lu" To: GNU C Library Subject: [PATCH] microblaze: Check PIC instead of SHARED in start.S Message-ID: <20170929213028.GC2482@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/microblaze/start.S (_start): Check PIC instead of SHARED. --- sysdeps/microblaze/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/microblaze/start.S b/sysdeps/microblaze/start.S index f94e816ee0..d9b13d0e7a 100644 --- a/sysdeps/microblaze/start.S +++ b/sysdeps/microblaze/start.S @@ -58,7 +58,7 @@ _start: sw r6,r1,r0 addik r7,r1,4 addik r1,r1,-24 -#ifdef SHARED +#ifdef PIC /* Setup PIC. */ mfs r20,rpc addik r20,r20,_GLOBAL_OFFSET_TABLE_+8