bsps/powerpc: Add and use bsp_text input section

This commit is contained in:
Sebastian Huber
2012-11-13 15:01:24 +01:00
parent d33f743795
commit c383372f3f
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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)