Răsfoiți Sursa

!437 [BSP] Add uRPC section in link file.
Merge pull request !437 from bernard/bernard_rt-smart

bernard 4 ani în urmă
părinte
comite
1b2917c960

+ 6 - 0
bsp/imx6ull-artpi-smart/link.lds

@@ -39,6 +39,12 @@ SECTIONS
         __rt_init_start = .;
         KEEP(*(SORT(.rti_fn*)))
         __rt_init_end = .;
+
+        /* section information for uRPC */
+        . = ALIGN(4);
+        __uRPCSvcTab_start = .;
+        KEEP(*(uRPCSvcTab))
+        __uRPCSvcTab_end = .;
     } =0
     __text_end = .;
 

+ 6 - 0
bsp/imx6ull-artpi-smart/link_smart.lds

@@ -48,6 +48,12 @@ SECTIONS
         __rt_init_end = .;
         . = ALIGN(16);
 
+        /* section information for uRPC */
+        . = ALIGN(4);
+        __uRPCSvcTab_start = .;
+        KEEP(*(uRPCSvcTab))
+        __uRPCSvcTab_end = .;
+
         . = ALIGN(16);
         _etext = .;
     }