X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=zToj+5Yxn6df3qmrEk9fOGr3AhXLl3GHWapipTqHcTE=; b=e7M+O9UTxzxf 8eCWO7zlsJXei760kzHhHwTy8dvJda7Q5LRLrigW6l0W9i77e+hYDJfpLdoKK/0YUdALkvNHXShxD xr8AKP87z1k2jRuhxjuNGkqmpt1qw57kq4FszT+lnmkA+uVTED3Q3z+kMcv2ZDXbOjWoAwOySEucC v6ce3gqFmBGqzzcU3OP4Xo4yTPvlskTdtL0gbSQ+mgxrb1ENSpfUMhdaA6vna+5X6xbuNlf2sW3S4 7sGT6ugpexie7hGJfa2epogATXVHtnSWyOlhT6qB/WAidzA3WO2JGMxKa0R211/5WRrgZR6WYMBhy BBw20ATuCIRy0YWpdGZflA==; Date: Sun, 29 Jan 2023 08:19:49 +0200 Message-Id: <83sfft981m.fsf@gnu.org> From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" To: djgpp AT delorie DOT com In-Reply-To: (djgpp AT delorie DOT com) Subject: Re: [PATCH v3] dxe3gen: invoke ld/as via gcc References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sat, 28 Jan 2023 23:09:30 +0100 > From: "J.W. Jagersma (jwjagersma AT gmail DOT com) [via djgpp AT delorie DOT com]" > > Posting this in a new thread since the other became way too long. > > This applies to current cvs, and should address all raised concerns. I > additionally noticed and fixed a small inconsistency in the -h text, as > linker options are now wrapped via -Wl. Thanks. I have only one question: > + new_argv[0] = dxe_cc; > + new_argv[1] = "-nostdlib"; > + new_argv[2] = "-Wl,-X,-S,-r"; > + new_argv[3] = "-o"; > + new_argv[4] = TEMP_O_FILE; > + new_argv[5] = "-T"; > + new_argv[6] = dxe_sc; Why do we need -nostdlib? It wasn't used before, AFAICT.