summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/gen5200/start/linkcmds.gen5200_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/gen5200/start/linkcmds.gen5200_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 'bsps/powerpc/gen5200/start/linkcmds.gen5200_base')
-rw-r--r--bsps/powerpc/gen5200/start/linkcmds.gen5200_base2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/powerpc/gen5200/start/linkcmds.gen5200_base b/bsps/powerpc/gen5200/start/linkcmds.gen5200_base
index ecf33f3fe2..3e6e4b84f0 100644
--- a/bsps/powerpc/gen5200/start/linkcmds.gen5200_base
+++ b/bsps/powerpc/gen5200/start/linkcmds.gen5200_base
@@ -204,7 +204,7 @@ SECTIONS {
KEEP (*(.eh_frame))
*(.gcc_except_table .gcc_except_table.*)
KEEP (*(.jcr))
- *(.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.*)
*(.fixup)
*(.got1)
*(.got2)