[rtems commit] bsps/powerpc: Add and use bsp_text input section
Sebastian Huber
sebh at rtems.org
Mon Dec 3 12:14:53 UTC 2012
Module: rtems
Branch: master
Commit: c383372f3f4090605d0765fdb007d386f6a2129e
Changeset: http://git.rtems.org/rtems/commit/?id=c383372f3f4090605d0765fdb007d386f6a2129e
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Nov 13 15:01:24 2012 +0100
bsps/powerpc: Add and use bsp_text input section
---
.../powerpc/mpc55xxevb/startup/exc-vector-base.S | 4 ++--
.../libbsp/powerpc/shared/startup/linkcmds.base | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/exc-vector-base.S b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/exc-vector-base.S
index 644b7a8..ed8dcf3 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/exc-vector-base.S
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/startup/exc-vector-base.S
@@ -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
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
index 253a025..261b52a 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
@@ -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)
More information about the vc
mailing list