From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by sourceware.org (Postfix) with ESMTPS id BCBF93851C1F for ; Wed, 3 Jun 2020 12:12:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BCBF93851C1F Received: by mail-pf1-x433.google.com with SMTP id b5so1479928pfp.9 for ; Wed, 03 Jun 2020 05:12:48 -0700 (PDT) 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:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=dBa/Q1SFAC32NE6+hJGLOMKaqE4jAMg4e+rnqNjBu0Y=; b=QgFQgnk2dyoLNuxzp8cyXldiYQOjkjBe1tUgcDF/T5wWl22Prk7nZ4m8xrW/jt4Ry/ iA50N+pQ+y7088PhRqGWqT+EdGABP8FP2mWwCQyVuNxLad9k0zPMZM+iv3vyD/4rqhRS xo9FoqqLDovr7NctlMlntAuE+ZGENJYbgytdO9qS+z8Ftedivu1crtxn3qgSWjID6Z9F y+b9iuulkb56wyYE0Bm+sCfSC6vIvgOR+jihom2vAiPwxWYxTS0SRC0IOOHyx/hme4uR xM0WKnHZZvF5ULssAkTlfgmVZlL7J3MDZVUW2ZghFFufsmic2cunISbfZ0/aDTQhdTRc GeGA== X-Gm-Message-State: AOAM5301AhbE+sg34uREQ3Sx8JpFRG7AVNrmpVq+P7Me6095x/J29W2b OFtNj2hCYVZhhph9FjR085Q= X-Google-Smtp-Source: ABdhPJy9oaDBYpUKPbPfpeCN202FXGfGK8/VwNC/GxhuvPYByS1y/+U+Z9halgmHcKfygEmHZtZktw== X-Received: by 2002:a63:3859:: with SMTP id h25mr28467597pgn.370.1591186367947; Wed, 03 Jun 2020 05:12:47 -0700 (PDT) Received: from bubble.grove.modra.org (158.106.96.58.static.exetel.com.au. [58.96.106.158]) by smtp.gmail.com with ESMTPSA id k18sm1849426pfp.208.2020.06.03.05.12.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jun 2020 05:12:46 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 162DF80699; Wed, 3 Jun 2020 21:42:43 +0930 (ACST) Date: Wed, 3 Jun 2020 21:42:42 +0930 From: Alan Modra To: Nick Clifton Cc: "H.J. Lu" , Fangrui Song , Binutils Subject: Re: V6 [PATCH] ld: Add --export-dynamic-symbol and --export-dynamic-symbol-list Message-ID: <20200603121242.GJ29024@bubble.grove.modra.org> References: <20200523144750.241563-1-hjl.tools@gmail.com> <20200523182928.dwqe2dmtyupxzrpw@google.com> <20200523215632.atyzuawjevr6g5do@google.com> <20200527161916.6pff6l6quryjql35@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2020 12:12:50 -0000 On Wed, Jun 03, 2020 at 11:51:30AM +0100, Nick Clifton wrote: > Which are all due to: > > bfd/elf64-x86-64.c:3233:8: runtime error: member access within null pointer of type 'struct elf_x86_link_hash_entry' This will be "&(EH)->elf" in elfxx-x86.h:GENERATE_DYNAMIC_RELOCATION_P. Fixable by using "(struct elf_link_hash_entry *) (EH)" instead. -- Alan Modra Australia Development Lab, IBM