summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/shared/start/linkcmds.base
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-08-12 09:44:07 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-08-12 10:10:17 +0200
commit21a36ed19b68bc0b5338eb661028c706cdbbb6ee (patch)
treee8a03b3f6eb372d3fa2e85f80fc67697bd69a7a3 /bsps/powerpc/shared/start/linkcmds.base
parentpsxtimer_face01: Improve coverage and documentation (diff)
downloadrtems-21a36ed19b68bc0b5338eb661028c706cdbbb6ee.tar.bz2
bsps: Fix .data.rel.ro placement
The .data.rel.ro* linker input section pattern accidentally matches with writeable data those symbol name starts with "ro". Close #4701.
Diffstat (limited to '')
-rw-r--r--bsps/powerpc/shared/start/linkcmds.base2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/powerpc/shared/start/linkcmds.base b/bsps/powerpc/shared/start/linkcmds.base
index 21fa729e38..9cbe338cb0 100644
--- a/bsps/powerpc/shared/start/linkcmds.base
+++ b/bsps/powerpc/shared/start/linkcmds.base
@@ -180,7 +180,7 @@ SECTIONS {
KEEP (*(.jcr))
} > REGION_RODATA AT > REGION_RODATA_LOAD
.data.rel.ro : ALIGN_WITH_INPUT {
- *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro* .gnu.linkonce.d.rel.ro.*)
+ *(.data.rel.ro.local* .gnu.linkonce.d.rel.ro.local.*) *(.data.rel.ro .data.rel.ro.* .gnu.linkonce.d.rel.ro.*)
} > REGION_RODATA AT > REGION_RODATA_LOAD
.fixup : ALIGN_WITH_INPUT {
*(.fixup)