Commit 9742211f authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

linker: remove APP_SMEM_SECTION() macro



Using this actually would result in a linker input section being
put between output sections which is not correct syntax.
We have never seen this simply because the generated ones would
be included instead of the in-tree ones. So remove this just in
case, instead of linker errors.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 28c35120
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
/* SPDX-License-Identifier: Apache-2.0 */

/* space holder  */
APP_SMEM_SECTION()
/* Empty file  */
+1 −2
Original line number Diff line number Diff line
/* SPDX-License-Identifier: Apache-2.0 */

/* space holder  */
APP_SMEM_SECTION()
/* Empty file */
+0 −2
Original line number Diff line number Diff line
@@ -124,8 +124,6 @@
 * their shell commands are automatically initialized by the kernel.
 */

#define APP_SMEM_SECTION() KEEP(*(SORT("data_smem_*")))

#elif defined(_ASMLANGUAGE)

/* Assembly FILES: declaration defined by the linker script */