@@ -17,26 +17,26 @@ SECTIONS {
1717 /* secureshield secure code, rodata, data */
1818 . = ALIGN (4 );
1919 _f_rom_secureshieldruntime = .;
20- KEEP (*(.rom .secureshield .secure ))
20+ KEEP (*(.rom .secureshield .secure . rom . secureshield . secure .* ))
2121
2222
2323 /* the following are secureshield application configuration */
2424 _f_cfg_secureshield = .;
2525 /* secureshield container configuration tables */
2626 . = ALIGN (32 );
2727 __secureshield_cfgtbl_start = .;
28- KEEP (*(.keep .secureshield .cfgtbl ))
28+ KEEP (*(.keep .secureshield .cfgtbl . keep . secureshield . cfgtbl .* ))
2929 . = ALIGN (32 );
3030 __secureshield_cfgtbl_end = .;
3131
3232 /* pointers to secureshield secure shields configuration tables */
3333 /* note: no further alignment here, we need to have the exact list of pointers */
3434 __secureshield_cfgtbl_ptr_start = .;
35- KEEP (*(.keep .secureshield .cfgtbl_ptr_first ))
36- KEEP (*(.keep .secureshield .cfgtbl_ptr ))
35+ KEEP (*(.keep .secureshield .cfgtbl_ptr_first . keep . secureshield . cfgtbl_ptr_first .* ))
36+ KEEP (*(.keep .secureshield .cfgtbl_ptr . keep . secureshield . cfgtbl_ptr .* ))
3737 __secureshield_cfgtbl_ptr_end = .;
3838
39- KEEP (*(.keep .secureshield .ac_table ))
39+ KEEP (*(.keep .secureshield .ac_table . keep . secureshield . ac_table .* ))
4040
4141 . = ALIGN (32 );
4242 _e_cfg_secureshield = .;
@@ -62,8 +62,8 @@ SECTIONS {
6262 /* secureshield runtime data */
6363 . = ALIGN (4 );
6464 _f_ram_secureshieldruntime = .;
65- KEEP (*(.ram .secureshield .secure ))
66- KEEP (*(.ram .secureshield .stack ))
65+ KEEP (*(.ram .secureshield .secure . ram . secureshield . secure .* ))
66+ KEEP (*(.ram .secureshield .stack . ram . secureshield . stack .* ))
6767#if SECURESHIELD_VERSION == 1
6868 _e_ram_secureshieldruntime = _f_ram_secureshieldruntime + CONTAINER_SIZE_ALIGNMENT (. - _f_ram_secureshieldruntime);
6969#elif SECURESHIELD_VERSION == 2
@@ -88,21 +88,22 @@ SECTIONS {
8888 .init_bootstrap :{
8989 _f_text_background_container = .;
9090 _f_init = .;
91- KEEP (*(.init_vector ))
92- KEEP (*(.init_bootstrap ))
91+ KEEP (*(.init_vector . init_vector .* ))
92+ KEEP (*(.init_bootstrap . init_bootstrap .* ))
9393 _e_init = .;
9494 }
9595
9696 .vector ALIGN (1024 ) : {
9797 _f_vector = .;
98- *(.vector )
98+ *(.vector . vector .* )
9999 _e_vector = .;
100100 }
101101
102102 /* . = ALIGN(SECURESHIELD_CONTAINER_ALIGNMENT); */
103103 .text ALIGN (4 ) : {
104104 _f_text = .;
105105 *(TYPE text)
106+ *(.text *)
106107 _e_text = .;
107108 }
108109
0 commit comments