Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0E9EFC433F5 for ; Fri, 17 Sep 2021 16:10:33 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 07FD961212 for ; Fri, 17 Sep 2021 16:10:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 07FD961212 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5A2498312C; Fri, 17 Sep 2021 18:10:29 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 9989D831FD; Fri, 17 Sep 2021 18:10:27 +0200 (CEST) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6B087829FC for ; Fri, 17 Sep 2021 18:10:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=tom.rini@gmail.com Received: by mail-qk1-f182.google.com with SMTP id t4so18970479qkb.9 for ; Fri, 17 Sep 2021 09:10:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jvw3Dd6YDfeNZsidZ+I418tttd+6ncNoRpfskgmhRRM=; b=4EZQgxqgvHgI0kY9UhmChGfKwVDawBCIfsfiiXNF0p0nLjZXkcDkt4Uy2Fk4wVn3mP 8EjgBnJJxMNSYFnjI5WrP4pRqopBmZhHIvnh9WFSczmp6xgYEAcuoGyLVFlp6c0Uf88r pg/Dgq7/HzYrBhiy+ceeDyOoJl5ibUZRN1O4cN9k2jVx6RzGlg5k3updaMhaUxa8OFje 2RD4bjdAIFnpSGF4E8+l7pT6TUzTLYh2LtTJQl7Gua3RD84lH49xu3BQE5AcwOgPgbVZ nlZYzUHHD+uAvfPNOa9bTw40TvPiy9IHvXRSaYHm8e533t+uJ3QoOmqoPygbo6w8tzeN Oo9g== X-Gm-Message-State: AOAM5312htarxn4kwLvJ7/A7ZOZGnwvjLZQf55p+DdDEI6Qv7q4o04V5 1ADW8u2O64FwgRbeIM0JI3/q+Y8EBQ== X-Google-Smtp-Source: ABdhPJz9XoEffmdY+NqOseZ3HmSQ/UevJveHA+77es/AHgSX+R31eUiKYMnALH2HSp/dNiV8C7XXNQ== X-Received: by 2002:a37:9d4d:: with SMTP id g74mr3371785qke.54.1631895022645; Fri, 17 Sep 2021 09:10:22 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b01-cbda-e4f8-f572-7f11-97be.res6.spectrum.com. [2603:6081:7b01:cbda:e4f8:f572:7f11:97be]) by smtp.gmail.com with ESMTPSA id 82sm2382013qkm.64.2021.09.17.09.10.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Sep 2021 09:10:22 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Huan Wang , Angelo Dureghello Subject: [PATCH] m68k: Add missing ENTRY entry in linker script Date: Fri, 17 Sep 2021 12:10:19 -0400 Message-Id: <20210917161019.18943-1-trini@konsulko.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Currently, there is no ENTRY() entry in the m68k linker script. However, since they currently contain a version_string symbol, which then overrides the default weak version_string symbol, the linker decides we must keep start.o in the resulting link. Add an ENTRY() line so that the linker will know to keep this, even when version_string is no longer provided in start.S Cc: Huan Wang Cc: Angelo Dureghello Signed-off-by: Tom Rini --- arch/m68k/cpu/u-boot.lds | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/m68k/cpu/u-boot.lds b/arch/m68k/cpu/u-boot.lds index 64cf2ff5ef97..affb2d937464 100644 --- a/arch/m68k/cpu/u-boot.lds +++ b/arch/m68k/cpu/u-boot.lds @@ -9,6 +9,7 @@ #include OUTPUT_ARCH(m68k) +ENTRY(_start) #ifndef LDS_BOARD_TEXT #define LDS_BOARD_TEXT -- 2.17.1