From 0da1b1db80101af9978bc21a3e5513bb41a8fd60 Mon Sep 17 00:00:00 2001 From: Manuel Stahl Date: Tue, 3 Sep 2024 12:55:48 +0200 Subject: [PATCH 1/2] Remove unused s-bbmcpa.ads from miv_rv32imaf --- riscv/microchip/miv_rv32imaf/s-bbmcpa.ads | 43 ----------------------- 1 file changed, 43 deletions(-) delete mode 100644 riscv/microchip/miv_rv32imaf/s-bbmcpa.ads diff --git a/riscv/microchip/miv_rv32imaf/s-bbmcpa.ads b/riscv/microchip/miv_rv32imaf/s-bbmcpa.ads deleted file mode 100644 index 982fb094..00000000 --- a/riscv/microchip/miv_rv32imaf/s-bbmcpa.ads +++ /dev/null @@ -1,43 +0,0 @@ ------------------------------------------------------------------------------- --- -- --- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- --- -- --- S Y S T E M . B B . M C U _ P A R A M E T E R S -- --- -- --- S p e c -- --- -- --- Copyright (C) 2018-2019, AdaCore -- --- -- --- GNAT is free software; you can redistribute it and/or modify it under -- --- terms of the GNU General Public License as published by the Free Soft- -- --- ware Foundation; either version 3, or (at your option) any later ver- -- --- sion. GNAT is distributed in the hope that it will be useful, but WITH- -- --- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -- --- or FITNESS FOR A PARTICULAR PURPOSE. -- --- -- --- As a special exception under Section 7 of GPL version 3, you are granted -- --- additional permissions described in the GCC Runtime Library Exception, -- --- version 3.1, as published by the Free Software Foundation. -- --- -- --- You should have received a copy of the GNU General Public License and -- --- a copy of the GCC Runtime Library Exception along with this program; -- --- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see -- --- . -- --- -- --- GNAT was originally developed by the GNAT team at New York University. -- --- Extensive contributions were provided by Ada Core Technologies Inc. -- --- -- --- The port of GNARL to bare board targets was initially developed by the -- --- Real-Time Systems Group at the Technical University of Madrid. -- --- -- ------------------------------------------------------------------------------- - --- This package defines MCU parameters for the PolarFire Cortex-M1 - -package System.BB.MCU_Parameters is - pragma No_Elaboration_Code_All; - pragma Preelaborate; - - Number_Of_Interrupts : constant := 32; - -end System.BB.MCU_Parameters; From 0474cafc363336f9e95b0100933dd866494ef860 Mon Sep 17 00:00:00 2001 From: Manuel Stahl Date: Thu, 24 Oct 2024 09:49:13 +0200 Subject: [PATCH 2/2] Remove duplicate switch for raise-gcc.c --- support/data/runtime_build.gpr.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/support/data/runtime_build.gpr.in b/support/data/runtime_build.gpr.in index db8d813e..7044b18e 100644 --- a/support/data/runtime_build.gpr.in +++ b/support/data/runtime_build.gpr.in @@ -40,8 +40,6 @@ project Runtime_Build is & ("-g"); for Switches ("raise-gcc.c") use Target_Options.ALL_CFLAGS & ("-fexceptions"); - for Switches ("raise-gcc.c") use Target_Options.ALL_CFLAGS - & ("-fexceptions"); for Switches ("unwind-sjlj-cert.c") use Target_Options.ALL_CFLAGS & ("-fexceptions", "-Wno-error=unused-but-set-variable");