#3866 assigned enhancement

Add support for GCC 10 noinit attribute

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 6.1
Component: bsps Version: 6
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Change History (3)

comment:1 Changed on Feb 5, 2020 at 9:47:47 PM by Chris Johns

Does clang have this support?

comment:2 Changed on Feb 9, 2020 at 4:40:17 PM 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.

comment:3 Changed on Feb 25, 2020 at 7:22:23 AM by Sebastian Huber

Milestone: 5.16.1
Version: 56
Note: See TracTickets for help on using tickets.