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: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2021-03-18 13:06:04 -07:00 committed by Anas Nashif
commit 9742211fe0
3 changed files with 2 additions and 6 deletions

View file

@ -1,4 +1,3 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* space holder */
APP_SMEM_SECTION()
/* Empty file */

View file

@ -1,4 +1,3 @@
/* SPDX-License-Identifier: Apache-2.0 */
/* space holder */
APP_SMEM_SECTION()
/* Empty file */

View file

@ -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 */