Hi All,
We are trying to run a Test RAM Application which Runs from 0x08000000 and Loads at 0x00000000.
We are using a customized below linker script
/*----------------------------------------------------------------------------*/
/* Linker Settings */
--retain="*(.intvecs)"
/* USER CODE BEGIN (0) */
/* USER CODE END */
/*----------------------------------------------------------------------------*/
/* Memory Map */
MEMORY
{
/*
BOOT SECTION
*/
RAM_BOOT_EXV : origin = 0x08000000 length = 0x00000020
RAM_BOOT (RW) : origin = 0x08000020 length = 0x0002DFF0
STACKS (RW) : origin = 0x0802E010 length = 0x00001000
RAM_BOOT_EXV1 : origin = 0x00000000 length = 0x00000020
RAM_BOOT1 (RW) : origin = 0x00000020 length = 0x0002DFF0
NHET_RAM_0 : origin = 0xFF460000 length = 0x00020000
}
/* USER CODE BEGIN (3) */
/* USER CODE END */
/*----------------------------------------------------------------------------*/
/* Section Configuration */
SECTIONS
{.intvecs :
LOAD = RAM_BOOT_EXV, RUN = RAM_BOOT_EXV1,
{}
/*
BOOT CODE
*/
.cinit:
LOAD = RAM_BOOT, RUN = RAM_BOOT1,
{}
.text:
LOAD = RAM_BOOT, RUN = RAM_BOOT1,
{
/**(.text). = align(4);*/
}
.const:
LOAD = RAM_BOOT, RUN = RAM_BOOT1,
{
/* *(.const). = align(4);
_Code_End = .;*/
}
.bss : { _Code_End = .;} > RAM_BOOT1
.data : {} > RAM_BOOT
.HETPROG : {e_HETPROGRAM0_UN = .;} > NHET_RAM_0 /* NHET PROGRAM */
}
when we are compiling this application we are getting the below warning.
warning #10278-D: LOAD placement specified for section
".text:decompress:none:rtsv7R4_T_be_v3D16_eabi.lib<copy_decompress_none.obj>
". This section contains decompression routines required for linker
generated copy tables and C/C++ auto-initialization. Must ensure that this
section is copied to run address before the C/C++ boot code is executed or
is placed with single allocation specifier (ex. "> MEMORY").
warning #10278-D: LOAD placement specified for section
".text:rtsv7R4_T_be_v3D16_eabi.lib<memcpy_t2.obj>". This section contains
decompression routines required for linker generated copy tables and C/C++
auto-initialization. Must ensure that this section is copied to run address
before the C/C++ boot code is executed or is placed with single allocation
specifier (ex. "> MEMORY").
Can somebody please help us in resolving this warning.
Best Regards,
Priya