[PATCH 7/7] score: Update _Copyright_Notice

Sebastian Huber sebastian.huber at embedded-brains.de
Tue May 5 14:23:32 UTC 2020


Add the _Copyright_Notice to a special linker set to prevent a garbage
collection of this item.
---
 cpukit/sapi/src/exinit.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/cpukit/sapi/src/exinit.c b/cpukit/sapi/src/exinit.c
index 623d4022c8..db0d1fb70d 100644
--- a/cpukit/sapi/src/exinit.c
+++ b/cpukit/sapi/src/exinit.c
@@ -38,9 +38,8 @@
 #include <rtems/score/todimpl.h>
 #include <rtems/score/wkspace.h>
 
-const char _Copyright_Notice[] =
-"COPYRIGHT (c) 1989-2008.\n\
-On-Line Applications Research Corporation (OAR).\n";
+RTEMS_SECTION(".rtemsroset.copyright") const char _Copyright_Notice[] =
+  "Copyright (C) 1989, 2020 RTEMS Project and contributors";
 
 static Objects_Information *
 _Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ];
-- 
2.16.4



More information about the devel mailing list