powerpc: Fix writable sections being moved into the rodata region
[platform/kernel/linux-starfive.git] / arch / powerpc / kernel / vmlinux.lds.S
index 7786e3a..8c3862b 100644 (file)
@@ -142,7 +142,7 @@ SECTIONS
 #endif
 
        .data.rel.ro : AT(ADDR(.data.rel.ro) - LOAD_OFFSET) {
-               *(.data.rel.ro*)
+               *(.data.rel.ro .data.rel.ro.*)
        }
 
        .branch_lt : AT(ADDR(.branch_lt) - LOAD_OFFSET) {