forked from Imagelibrary/rtems
bsps/powerpc: Add and use bsp_text input section
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2011 embedded brains GmbH. All rights reserved.
|
||||
* Copyright (c) 2011-2012 embedded brains GmbH. All rights reserved.
|
||||
*
|
||||
* embedded brains GmbH
|
||||
* Obere Lagerstr. 30
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
.globl mpc55xx_exc_vector_base
|
||||
|
||||
.section ".bsp_start_data", "ax"
|
||||
.section ".bsp_text", "ax"
|
||||
|
||||
#if 5510 <= MPC55XX_CHIP_TYPE && MPC55XX_CHIP_TYPE <= 5517
|
||||
.align 12
|
||||
|
||||
@@ -53,6 +53,7 @@ SECTIONS {
|
||||
|
||||
.text : {
|
||||
bsp_section_text_begin = .;
|
||||
*(SORT(.bsp_text*))
|
||||
*(.text.unlikely .text.*_unlikely)
|
||||
*(.text .stub .text.* .gnu.linkonce.t.*)
|
||||
*(.gnu.warning)
|
||||
|
||||
Reference in New Issue
Block a user