summaryrefslogtreecommitdiffstats
path: root/skiboot.lds.S
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-04-14 22:50:40 +1000
committerStewart Smith <stewart@linux.ibm.com>2019-04-17 09:26:40 +1000
commit065877fc59de64ae22b4677667ce42db609ffdf5 (patch)
tree8f0b096527b02bbe2ca4efe48f3cb4bdfbb9bc2d /skiboot.lds.S
parent6b08928fb487f4303099ab112ffc23f37a236413 (diff)
downloadblackbird-skiboot-065877fc59de64ae22b4677667ce42db609ffdf5.tar.gz
blackbird-skiboot-065877fc59de64ae22b4677667ce42db609ffdf5.zip
build/lds: place remaining sections according to defaults
Place remaining orphan linker sections according to default script as described by `ld --verbose`. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'skiboot.lds.S')
-rw-r--r--skiboot.lds.S15
1 files changed, 11 insertions, 4 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S
index 967fdbf3..ef7db23a 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -99,7 +99,7 @@ SECTIONS
_stext = .;
.text : {
*(.text*)
- *(.sfpr)
+ *(.sfpr .glink)
}
_etext = .;
@@ -161,10 +161,15 @@ SECTIONS
*(.rela*)
__rela_dyn_end = .;
}
+ .plt : { *(.plt) *(.iplt) }
- .hash : { *(.hash) }
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
+ .hash : { *(.hash) }
+ .gnu.hash : { *(.gnu.hash) }
+ .dynsym : { *(.dynsym) }
+ .dynstr : { *(.dynstr) }
+ .gnu.version : { *(.gnu.version) }
+ .gnu.version_d : { *(.gnu.version_d) }
+ .gnu.version_r : { *(.gnu.version_r) }
. = ALIGN(0x10);
.sym_map : {
@@ -201,6 +206,7 @@ SECTIONS
_sbss = .;
.bss : {
+ *(.dynbss)
*(.bss*)
}
. = ALIGN(0x10000);
@@ -219,6 +225,7 @@ SECTIONS
/* Discards */
/DISCARD/ : {
+ *(.note.GNU-stack)
*(.comment)
*(.eh_frame)
*(.interp)
OpenPOWER on IntegriCloud