Skip to content
Snippets Groups Projects
Commit d0b5d9da authored by Albert ARIBAUD's avatar Albert ARIBAUD
Browse files

arm: make _end compiler-generated


This prevents references to _end from generating absolute
relocation records.

This change is binary invariant for ARM targets.

Signed-off-by: default avatarAlbert ARIBAUD <albert.u.boot@aribaud.net>
parent 62bbc2f2
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,12 @@ SECTIONS
*(.__rel_dyn_end)
}
_end = .;
.end :
{
*(.__end)
}
_image_binary_end = .;
/*
* Deprecated: this MMU section is used by pxa at present but
......@@ -108,7 +113,7 @@ SECTIONS
KEEP(*(.__bss_end));
}
.dynsym _end : { *(.dynsym) }
.dynsym _image_binary_end : { *(.dynsym) }
.dynbss : { *(.dynbss) }
.dynstr : { *(.dynstr*) }
.dynamic : { *(.dynamic*) }
......
......@@ -54,7 +54,12 @@ SECTIONS
. = ALIGN(0x800);
_end = .;
.end :
{
*(.__end)
}
_image_binary_end = .;
.bss __rel_dyn_start (OVERLAY) : {
__bss_start = .;
......@@ -63,7 +68,7 @@ SECTIONS
__bss_end = .;
}
.dynsym _end : { *(.dynsym) }
.dynsym _image_binary_end : { *(.dynsym) }
.dynbss : { *(.dynbss) }
.dynstr : { *(.dynstr*) }
.dynamic : { *(.dynamic*) }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment