cmake: rename linker_final_pass.cmd to linker.cmd
Since linker_final_pass.cmd is the actual linker script being used to link the final Zephyr binary, rename it to linker.cmd. This also renames LINKER_PASS2 to LINKER_ZEPHYR_FINAL simply to clarify what it is used for, instead of ambiguous pass #n. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
c745995a2e
commit
cdd02a99a1
7 changed files with 37 additions and 35 deletions
|
@ -193,10 +193,10 @@
|
|||
SECTION_DATA_PROLOGUE(device_handles,,)
|
||||
{
|
||||
__device_handles_start = .;
|
||||
#ifdef LINKER_PASS2
|
||||
#ifdef LINKER_ZEPHYR_FINAL
|
||||
KEEP(*(SORT(.__device_handles_pass2*)));
|
||||
#else /* LINKER_PASS2 */
|
||||
#else /* LINKER_ZEPHYR_FINAL */
|
||||
KEEP(*(SORT(.__device_handles_pass1*)));
|
||||
#endif /* LINKER_PASS2 */
|
||||
#endif /* LINKER_ZEPHYR_FINAL */
|
||||
__device_handles_end = .;
|
||||
} GROUP_ROM_LINK_IN(RAMABLE_REGION, ROMABLE_REGION)
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
* }
|
||||
*/
|
||||
|
||||
#ifndef LINKER_PASS2
|
||||
#ifndef LINKER_ZEPHYR_FINAL
|
||||
SECTION_PROLOGUE(.intList,,)
|
||||
{
|
||||
KEEP(*(.irq_info))
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*(".kobject_data.text*")
|
||||
_kobject_text_area_end = .;
|
||||
_kobject_text_area_used = _kobject_text_area_end - _kobject_text_area_start;
|
||||
#ifndef LINKER_PASS2
|
||||
#ifndef LINKER_ZEPHYR_FINAL
|
||||
#ifdef CONFIG_DYNAMIC_OBJECTS
|
||||
PROVIDE(z_object_gperf_find = .);
|
||||
PROVIDE(z_object_gperf_wordlist_foreach = .);
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
{
|
||||
*(".kobject_data.data*")
|
||||
|
||||
#ifndef LINKER_PASS2
|
||||
#ifndef LINKER_ZEPHYR_FINAL
|
||||
#ifdef CONFIG_DYNAMIC_OBJECTS
|
||||
PROVIDE(_thread_idx_map = .);
|
||||
. += CONFIG_MAX_THREAD_BYTES;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue