From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by sourceware.org (Postfix) with ESMTPS id 4A9223857C64 for ; Wed, 19 Aug 2020 05:29:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4A9223857C64 Received: by mail-io1-xd2e.google.com with SMTP id q75so23607517iod.1 for ; Tue, 18 Aug 2020 22:29:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=WKzjduN2EgT6K1omWi551Max4tGiye5auGrJQ/fg+gc=; b=WjskWctf5dLiHmhXwvg2RIG1gMT3mlRPY5BorXC2cAIYi1J4bf7+tKkmDYjsrxM9AB u4mB9BGAl1rD8NSpqeHVagx+kTL92A2EJGy/7qLN/3kbhzoWstkx4KM/J1AOdGqWqMNW 7CU8/ji4k/tqFy72kOfvmgtGdk4ZUm2LiUSqu1yFKy05cZZQ/M+es//OydPchRyN1DGW DeM0TLziKvzMSc3I+D1suVhH4TURGXS/LJKKUPTrZx3qhHOlnELiCrjoIJkASMgXI9MP FfxzDA2B2NVd1k1Mi5CiP+sIfLpjS9P9LF32/LkKZqYMfLsVsz3qqpuID0wgrz+U4F9u cAEQ== X-Gm-Message-State: AOAM532gzykxsBSKDsb2uz1gf9ezvTTj/OXXpcCGun9VpmCGSXQaLltU h8n3LwJzn3NFbocBx8Z2a8X7aRtVcOj7tFwnMqZe38PX1WAjXw== X-Google-Smtp-Source: ABdhPJxVvKUjHMxLcVIeAjNEwMjyD+ztPJ8/IeqxI1BC7KxEQHqx8hxgFzGL702wBI4NzPrzi4LWZTy/oyrXM1mmHXU= X-Received: by 2002:a02:b159:: with SMTP id s25mr22172936jah.4.1597814971975; Tue, 18 Aug 2020 22:29:31 -0700 (PDT) MIME-Version: 1.0 From: Umesh Kalappa Date: Wed, 19 Aug 2020 10:59:22 +0530 Message-ID: Subject: Linker diagnostics for the incorrect options . To: Binutils X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, 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 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 19 Aug 2020 05:29:34 -0000 Hi All , Linker error handling for non options or incorrect options should be robust for instance like $gcc -c test.c $ld -non-static test.o The linker interpretation for "-n" as a standard option for nmagic ,then "o" as output filename by name "n-static" which is the dynamic executable . So linker should be robust here with proper diagnostic and we would like to fix the same,before that we would like to hear from the experts here. Thank you in advance . ~Umesh <#m_-1933998605313114137_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>