summaryrefslogtreecommitdiffstats
path: root/src/occ_gpe0/link.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/occ_gpe0/link.cmd')
-rw-r--r--src/occ_gpe0/link.cmd14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/occ_gpe0/link.cmd b/src/occ_gpe0/link.cmd
index 344c060..96eec61 100644
--- a/src/occ_gpe0/link.cmd
+++ b/src/occ_gpe0/link.cmd
@@ -72,7 +72,7 @@ SECTIONS
////////////////////////////////
// All non-vector code goes here
////////////////////////////////
- .text : { *(.text) . = ALIGN(128); } > sram
+ .text : { *(.text*) . = ALIGN(128); } > sram
////////////////////////////////
// Read-only Data
@@ -85,12 +85,12 @@ SECTIONS
// offsets.
_SDA2_BASE_ = .;
- .sdata2 . : { *(.sdata2) . = ALIGN(128); } > sram
- .sbss2 . : { *(.sbss2 ) . = ALIGN(128); } > sram
+ .sdata2 . : { *(.sdata2* ) . = ALIGN(128); } > sram
+ .sbss2 . : { *(.sbss2* ) . = ALIGN(128); } > sram
// Other read-only data.
- .rodata . : { *(.rodata*) *(.got2) . = ALIGN(128); } > sram
+ .rodata . : { *(.rodata*) *(.got2*) . = ALIGN(128); } > sram
__READ_ONLY_DATA_LEN__ = . - _RODATA_SECTION_BASE;
__WRITEABLE_DATA_ADDR__ = .;
@@ -107,14 +107,14 @@ SECTIONS
// offsets.
_SDA_BASE_ = .;
- .sdata . : { *(.sdata) . = ALIGN(128); } > sram
- .sbss . : { *(.sbss) . = ALIGN(128); } > sram
+ .sdata . : { *(.sdata*) . = ALIGN(128); } > sram
+ .sbss . : { *(.sbss*) . = ALIGN(128); } > sram
// Other read-write data
// It's not clear why boot.S is generating empty .glink,.iplt
.rela . : { *(.rela*) . = ALIGN(128); } > sram
- .rwdata . : { *(.data) *(.bss) . = ALIGN(128); } > sram
+ .rwdata . : { *(.data*) *(.bss*) . = ALIGN(128); } > sram
// .iplt . : { *(.iplt) ALIGN(128); } > sram
_PK_INITIAL_STACK_LIMIT = .;
OpenPOWER on IntegriCloud