From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f47.google.com ([209.85.128.47]:51379 "EHLO mail-wm1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726697AbfCRLvT (ORCPT ); Mon, 18 Mar 2019 07:51:19 -0400 Received: by mail-wm1-f47.google.com with SMTP id n19so12675646wmi.1 for ; Mon, 18 Mar 2019 04:51:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Mon, 18 Mar 2019 12:51:05 +0100 Message-ID: Subject: Re: Fix and simplify -z noreloc-overflow" linker check in arch/x86/boot/compressed/Makefile Content-Type: text/plain; charset="UTF-8" Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Masahiro Yamada Cc: Linux Kbuild mailing list On Mon, Mar 18, 2019 at 10:46 AM Masahiro Yamada wrote: [ ... ] > > ifeq ($(CONFIG_X86_64),y) > > KBUILD_LDFLAGS += $(call ld-option, -z noreloc-overflow) > > > Is this equivalent to > $(LD) --help 2>&1 | grep -q "\-z noreloc-overflow" ... ? I tried with BFD (option exists and is set) and LLD (option does not exist, is not set). You do not think it is equivalent? - sed@ -