Skip to content

Commit 9a331d4

Browse files
committed
Hardfault_Handling renamed.
gprbuild doesn't recognise files with names that don't match the GNAT naming stndard, specifically s-*, as being part of the RTS, so executes a fruitless rebuild every time. * common/hardfault_handling.ads: renamed to s-harhan.ads. * common/hardfault_handling.adb: renamed to s-harhan.adb.
1 parent 53007c2 commit 9a331d4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

common/hardfault_handling.adb renamed to common/s-harhan.adb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Copyright (C) 2017-2018 Free Software Foundation, Inc.
1+
-- Copyright (C) 2017-2020 Free Software Foundation, Inc.
22
--
33
-- This file is part of the Cortex GNAT RTS project. This file is
44
-- free software; you can redistribute it and/or modify it under
@@ -25,7 +25,7 @@
2525
with Interfaces;
2626
with System.Machine_Code;
2727

28-
package body Hardfault_Handling is
28+
package body System.Hardfault_Handling is
2929

3030
procedure Handler is
3131
begin
@@ -184,4 +184,4 @@ package body Hardfault_Handling is
184184
System.Machine_Code.Asm ("bkpt #0" & ASCII.LF, Volatile => True);
185185
end Breakpoint;
186186

187-
end Hardfault_Handling;
187+
end System.Hardfault_Handling;

common/hardfault_handling.ads renamed to common/s-harhan.ads

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
-- Copyright (C) 2017 Free Software Foundation, Inc.
1+
-- Copyright (C) 2017-2020 Free Software Foundation, Inc.
22
--
33
-- This file is part of the Cortex GNAT RTS project. This file is
44
-- free software; you can redistribute it and/or modify it under
@@ -18,7 +18,7 @@
1818
-- program; see the files COPYING3 and COPYING.RUNTIME respectively.
1919
-- If not, see <http://www.gnu.org/licenses/>.
2020

21-
package Hardfault_Handling is
21+
package System.Hardfault_Handling is
2222

2323
-- Normally, we'd mark this unit as preelaborable, but that would
2424
-- mean that the binder-generated code wouldn't reference it, so
@@ -32,4 +32,4 @@ package Hardfault_Handling is
3232
External_Name => "HardFault_Handler";
3333
pragma Machine_Attribute (Handler, "naked");
3434

35-
end Hardfault_Handling;
35+
end System.Hardfault_Handling;

0 commit comments

Comments
 (0)