Fix SAMA5 vector linking issue

This commit is contained in:
Gregory Nutt 2013-07-24 12:51:42 -06:00
parent 77e1c27005
commit e6beda428a
4 changed files with 5 additions and 4 deletions

View File

@ -58,7 +58,8 @@
* Vector initialization block
****************************************************************************/
.globl _vector_start
.section .vectors, "ax"
.globl _vector_start
/* These will be relocated to VECTOR_BASE. */

View File

@ -56,7 +56,7 @@ SECTIONS
{
.text : {
_stext = ABSOLUTE(.);
*(.vectors)
KEEP (*(.vectors))
*(.text .text.*)
*(.fixup)
*(.gnu.warning)

View File

@ -53,7 +53,7 @@ SECTIONS
{
.text : {
_stext = ABSOLUTE(.);
*(.vectors)
KEEP (*(.vectors))
*(.text .text.*)
*(.fixup)
*(.gnu.warning)

View File

@ -81,7 +81,7 @@ SECTIONS
{
.locked : {
_slocked = ABSOLUTE(.);
*(.vectors)
KEEP (*(.vectors))
up_head.o locked.r (.text .text.*)
up_head.o locked.r (.fixup)
up_head.o locked.r (.gnu.warning)