From d203c743ee81142d3d0cf789c9ada054a7010cd2 Mon Sep 17 00:00:00 2001 From: BernardXiong Date: Tue, 25 Jan 2022 22:57:13 +0800 Subject: [PATCH] [BSP] Add uRPC section in link files --- bsp/imx6ull-artpi-smart/link.lds | 6 ++++++ bsp/imx6ull-artpi-smart/link_smart.lds | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/bsp/imx6ull-artpi-smart/link.lds b/bsp/imx6ull-artpi-smart/link.lds index 8814055cdb..a08c26754c 100644 --- a/bsp/imx6ull-artpi-smart/link.lds +++ b/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 = .; diff --git a/bsp/imx6ull-artpi-smart/link_smart.lds b/bsp/imx6ull-artpi-smart/link_smart.lds index 7483fe83d5..6d130ed184 100644 --- a/bsp/imx6ull-artpi-smart/link_smart.lds +++ b/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 = .; } -- Gitee