arch: arm: cortex_r: Move kobject text

Move the kobject text area to be at the beginning of the text section to
match Cortex-M.

Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
This commit is contained in:
Bradley Bolen 2021-07-29 13:09:27 -04:00 committed by Christopher Friedt
commit 03f951c4f6

View file

@ -134,6 +134,9 @@ SECTIONS
SECTION_PROLOGUE(_TEXT_SECTION_NAME,,)
{
_image_text_start = .;
#include <linker/kobject-text.ld>
*(.text)
*(".text.*")
*(.gnu.linkonce.t.*)
@ -144,8 +147,6 @@ SECTIONS
*/
*(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)
#include <linker/kobject-text.ld>
} GROUP_LINK_IN(ROMABLE_REGION)
_image_text_end = .;