[RTEMS Project] #3866: Add support for GCC 10 noinit attribute

RTEMS trac trac at rtems.org
Sun Feb 9 16:40:17 UTC 2020


#3866: Add support for GCC 10 noinit attribute
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  enhancement      |      Status:  assigned
 Priority:  normal           |   Milestone:  5.1
Component:  bsps             |     Version:  5
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber):

 clang doesn't support this attribute. I added an enhancement request for
 this:

 https://bugs.llvm.org/show_bug.cgi?id=44811

 As a workaround for clang and GCC < 10 you can use the section attribute.
 The key issue is to have support for .noinit section in the linker command
 files.

--
Ticket URL: <http://devel.rtems.org/ticket/3866#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list