-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Code Generation Tools
-
CODEGEN-15637
-
-
-
default
-
In the linker command file, use the SECTIONS directive's GROUP option to force multiple output sections to be allocated contiguously in the order listed.
The attached linker command file has these lines ...
--honor_cmdfile_order
SECTIONS
{
.main : ...
.text : ...
.rodata : ...
.data : ...
}
Build it ...
% c29clang main.c test.cmd
Inspect test.map. It shows the output sections are in the order: .main .rodata .data .text . This does not match the order in the linker command file.