Message ID | 20181122102637.17361-8-lukas.auer@aisec.fraunhofer.de |
---|---|
State | Accepted |
Commit | 776e6335bf425f6b3cad01a25935dd2b7d4f40b7 |
Delegated to: | Andes |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=aisec.fraunhofer.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 430wr20Y2Kz9s5c for <incoming@patchwork.ozlabs.org>; Thu, 22 Nov 2018 21:37:37 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id A7BBBC21F3B; Thu, 22 Nov 2018 10:32:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 3303EC21F9C; Thu, 22 Nov 2018 10:28:07 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5676DC21EF0; Thu, 22 Nov 2018 10:27:40 +0000 (UTC) Received: from mail-edgeKA27.fraunhofer.de (mail-edgeka27.fraunhofer.de [153.96.1.27]) by lists.denx.de (Postfix) with ESMTPS id 979A4C21F3D for <u-boot@lists.denx.de>; Thu, 22 Nov 2018 10:27:35 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2EjAAAO4PJb/xwBYJliGgEBAQEBAgEBAQEHAgEBAQGBVAIBAQEBCwGCA2ZwOYdChS2LHYQ6hlqQKQ0bgRWDPAKDbiI3Bg0BAwEBAgEBAgICaRwMhCFfPgZ5EFEhNgYOBYMhAYFpAxQBqHyDcYQFDYIZCQGHUIQrgVc/gRABhWiBcYEEhQ4Cn0EuBwKBEYEJBIRchwKDIAsYgiSHNIcljkGGEQGDQ4FcI4FVMxokgzsJghsag0ODRWGGND4BMgGMDoJNAQE X-IPAS-Result: A2EjAAAO4PJb/xwBYJliGgEBAQEBAgEBAQEHAgEBAQGBVAIBAQEBCwGCA2ZwOYdChS2LHYQ6hlqQKQ0bgRWDPAKDbiI3Bg0BAwEBAgEBAgICaRwMhCFfPgZ5EFEhNgYOBYMhAYFpAxQBqHyDcYQFDYIZCQGHUIQrgVc/gRABhWiBcYEEhQ4Cn0EuBwKBEYEJBIRchwKDIAsYgiSHNIcljkGGEQGDQ4FcI4FVMxokgzsJghsag0ODRWGGND4BMgGMDoJNAQE X-IronPort-AV: E=Sophos;i="5.56,253,1539640800"; d="scan'208";a="12041296" Received: from mail-mtaka28.fraunhofer.de ([153.96.1.28]) by mail-edgeKA27.fraunhofer.de with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Nov 2018 11:27:35 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0ClAADN3/JbfRBhWMBiHAEBAQQBAQcEAQGBVAQBAQsBgmlPITmMb5YxkCkNG4RRAoQPNwYNAQMBAQIBAQIUAQEWOiMMhT0DA3kQUSE2Bg4FgyEBgWkDFah7h3YNghkJAYdQhgI/gRABhWiBcYEEhQ4Cn0EuBwKBEYEJBIRchwKDIAsYgiSHNIcljkGJVYFcIYFWMxokgzsJghsag0ODRWGGND4DMAGMDoJNAQE X-IronPort-AV: E=Sophos;i="5.56,253,1539640800"; d="scan'208";a="19171994" Received: from fgdemucivp01ltm.xch.fraunhofer.de (HELO FGDEMUCIMP11EXC.ads.fraunhofer.de) ([192.88.97.16]) by mail-mtaKA28.fraunhofer.de with ESMTP/TLS/AES256-SHA; 22 Nov 2018 11:27:35 +0100 Received: from muc-nb-035.aisec.fraunhofer.de (10.80.233.50) by FGDEMUCIMP11EXC.ads.fraunhofer.de (10.80.232.42) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 22 Nov 2018 11:27:32 +0100 From: Lukas Auer <lukas.auer@aisec.fraunhofer.de> To: <u-boot@lists.denx.de> Date: Thu, 22 Nov 2018 11:26:16 +0100 Message-ID: <20181122102637.17361-8-lukas.auer@aisec.fraunhofer.de> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181122102637.17361-1-lukas.auer@aisec.fraunhofer.de> References: <20181122102637.17361-1-lukas.auer@aisec.fraunhofer.de> MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-11.0.0.4179-8.200.1013-24238.005 X-TM-AS-Result: No--1.026700-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Subject: [U-Boot] [PATCH v4 07/28] riscv: enable -fdata-sections X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
General fixes / cleanup for RISC-V and improvements to qemu-riscv
|
expand
|
diff --git a/arch/riscv/config.mk b/arch/riscv/config.mk index 97e2d41c3d..ff4fe64001 100644 --- a/arch/riscv/config.mk +++ b/arch/riscv/config.mk @@ -27,7 +27,8 @@ CONFIG_STANDALONE_LOAD_ADDR = 0x00000000 LDFLAGS_STANDALONE += -T $(srctree)/examples/standalone/riscv.lds PLATFORM_CPPFLAGS += -ffixed-gp -fpic -PLATFORM_RELFLAGS += -fno-common -gdwarf-2 -ffunction-sections +PLATFORM_RELFLAGS += -fno-common -gdwarf-2 -ffunction-sections \ + -fdata-sections LDFLAGS_u-boot += --gc-sections -static -pie EFI_CRT0 := crt0_riscv_efi.o