[rtems commit] bsps/powerpc: Add 64-bit linker sections
Sebastian Huber
sebh at rtems.org
Tue Aug 22 14:53:52 UTC 2017
Module: rtems
Branch: master
Commit: 60d077f0ba79d61414dbb0367157d84e9eb91bd0
Changeset: http://git.rtems.org/rtems/commit/?id=60d077f0ba79d61414dbb0367157d84e9eb91bd0
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Aug 10 11:38:46 2017 +0200
bsps/powerpc: Add 64-bit linker sections
Update #3082.
---
c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
index 170d790..a9b0c24 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
@@ -53,7 +53,7 @@ SECTIONS {
*(.text.unlikely .text.*_unlikely)
*(.text .stub .text.* .gnu.linkonce.t.*)
*(.gnu.warning)
- *(.glink)
+ *(.sfpr .glink)
} > REGION_TEXT AT > REGION_TEXT_LOAD
.init : ALIGN_WITH_INPUT {
KEEP (*(.init))
@@ -163,6 +163,18 @@ SECTIONS {
.dynamic : ALIGN_WITH_INPUT {
*(.dynamic)
} > REGION_RODATA AT > REGION_RODATA_LOAD
+ .opd : ALIGN_WITH_INPUT {
+ KEEP (*(.opd))
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .tm_clone_table : ALIGN_WITH_INPUT {
+ *(.tm_clone_table)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .toc1 : ALIGN_WITH_INPUT {
+ *(.toc1)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
+ .branch_lt : ALIGN_WITH_INPUT {
+ *(.branch_lt)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
.got1 : ALIGN_WITH_INPUT {
*(.got1)
} > REGION_RODATA AT > REGION_RODATA_LOAD
@@ -172,6 +184,9 @@ SECTIONS {
.got : ALIGN_WITH_INPUT {
*(.got)
} > REGION_RODATA AT > REGION_RODATA_LOAD
+ .toc : ALIGN_WITH_INPUT {
+ *(.toc)
+ } > REGION_RODATA AT > REGION_RODATA_LOAD
.plt : ALIGN_WITH_INPUT {
*(.plt)
} > REGION_RODATA AT > REGION_RODATA_LOAD
More information about the vc
mailing list