2017-10-03 22:31:55 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2016 Intel Corporation
|
|
|
|
* Copyright (c) 2017 Oticon A/S
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* @brief Linker command/script file
|
|
|
|
*
|
2018-05-02 19:45:23 +08:00
|
|
|
* Linker script for the POSIX (native) platform
|
2017-10-03 22:31:55 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#define _LINKER
|
|
|
|
#define _ASMLANGUAGE
|
|
|
|
|
|
|
|
#include <autoconf.h>
|
|
|
|
#include <linker/sections.h>
|
|
|
|
|
|
|
|
#include <linker/linker-defs.h>
|
|
|
|
#include <linker/linker-tool.h>
|
|
|
|
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
|
|
|
|
#include <linker/common-rom.ld>
|
|
|
|
|
|
|
|
#include <linker/common-ram.ld>
|
|
|
|
|
2018-07-29 02:42:06 +08:00
|
|
|
#include <arch/posix/native_tasks.ld>
|
2018-07-10 15:17:39 +08:00
|
|
|
|
2017-10-03 22:31:55 +08:00
|
|
|
__data_ram_end = .;
|
2018-07-10 15:17:39 +08:00
|
|
|
|
2018-05-02 19:45:23 +08:00
|
|
|
} INSERT AFTER .data;
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Note that the INSERT command actually changes the meaning of the -T command
|
|
|
|
* line switch: The script will now augment the default SECTIONS instead of
|
|
|
|
* replacing it.
|
|
|
|
*/
|