[PATCH] powerpc/shared/linkcmds.base: Add .rela.rtemsroset and .rela.rtemsrwset

Joel Sherrill joel at rtems.org
Mon Jan 16 19:24:38 UTC 2017


---
 c/src/lib/libbsp/arm/shared/startup/linkcmds.base     | 2 ++
 c/src/lib/libbsp/m68k/shared/startup/linkcmds.base    | 2 ++
 c/src/lib/libbsp/or1k/shared/startup/linkcmds.base    | 2 ++
 c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base | 2 ++
 c/src/lib/libbsp/sparc/shared/startup/linkcmds.base   | 2 ++
 5 files changed, 10 insertions(+)

diff --git a/c/src/lib/libbsp/arm/shared/startup/linkcmds.base b/c/src/lib/libbsp/arm/shared/startup/linkcmds.base
index d7e60db..61f2b6f 100644
--- a/c/src/lib/libbsp/arm/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/arm/shared/startup/linkcmds.base
@@ -249,6 +249,8 @@ SECTIONS {
 		*(.rela.dtors)
 		*(.rela.got)
 		*(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
+		*(.rela.rtemsroset*)
+		*(.rela.rtemsrwset*)
 		PROVIDE_HIDDEN (__rel_iplt_start = .);
 		PROVIDE_HIDDEN (__rel_iplt_end = .);
 		PROVIDE_HIDDEN (__rela_iplt_start = .);
diff --git a/c/src/lib/libbsp/m68k/shared/startup/linkcmds.base b/c/src/lib/libbsp/m68k/shared/startup/linkcmds.base
index 634fbaf..0e888e1 100644
--- a/c/src/lib/libbsp/m68k/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/m68k/shared/startup/linkcmds.base
@@ -181,6 +181,8 @@ SECTIONS {
 		*(.rela.dtors)
 		*(.rela.got)
 		*(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
+		*(.rela.rtemsroset*)
+		*(.rela.rtemsrwset*)
 		PROVIDE_HIDDEN (__rel_iplt_start = .);
 		PROVIDE_HIDDEN (__rel_iplt_end = .);
 		PROVIDE_HIDDEN (__rela_iplt_start = .);
diff --git a/c/src/lib/libbsp/or1k/shared/startup/linkcmds.base b/c/src/lib/libbsp/or1k/shared/startup/linkcmds.base
index 31bb92d..3d90159 100644
--- a/c/src/lib/libbsp/or1k/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/or1k/shared/startup/linkcmds.base
@@ -219,6 +219,8 @@ SECTIONS {
                *(.rela.dtors)
                *(.rela.got)
                *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
+               *(.rela.rtemsroset*)
+               *(.rela.rtemsrwset*)
                PROVIDE_HIDDEN (__rel_iplt_start = .);
                PROVIDE_HIDDEN (__rel_iplt_end = .);
                PROVIDE_HIDDEN (__rela_iplt_start = .);
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
index 296dd6d..072bde1 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/powerpc/shared/startup/linkcmds.base
@@ -227,6 +227,8 @@ SECTIONS {
 		*(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*)
 		*(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*)
 		*(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
+		*(.rela.rtemsroset*)
+		*(.rela.rtemsrwset*)
 		PROVIDE_HIDDEN (__rel_iplt_start = .);
 		PROVIDE_HIDDEN (__rel_iplt_end = .);
 		PROVIDE_HIDDEN (__rela_iplt_start = .);
diff --git a/c/src/lib/libbsp/sparc/shared/startup/linkcmds.base b/c/src/lib/libbsp/sparc/shared/startup/linkcmds.base
index 6cc44c1..4e39142 100644
--- a/c/src/lib/libbsp/sparc/shared/startup/linkcmds.base
+++ b/c/src/lib/libbsp/sparc/shared/startup/linkcmds.base
@@ -148,6 +148,8 @@ SECTIONS
       *(.rela.dtors)
       *(.rela.got)
       *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
+      *(.rela.rtemsroset*)
+      *(.rela.rtemsrwset*)
     } >ram
   .data :
   {
-- 
1.8.3.1




More information about the devel mailing list