diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-04-14 22:50:40 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-04-17 09:26:40 +1000 |
commit | 065877fc59de64ae22b4677667ce42db609ffdf5 (patch) | |
tree | 8f0b096527b02bbe2ca4efe48f3cb4bdfbb9bc2d | |
parent | 6b08928fb487f4303099ab112ffc23f37a236413 (diff) | |
download | skiboot-065877fc59de64ae22b4677667ce42db609ffdf5.zip skiboot-065877fc59de64ae22b4677667ce42db609ffdf5.tar.gz skiboot-065877fc59de64ae22b4677667ce42db609ffdf5.tar.bz2 |
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>
-rw-r--r-- | skiboot.lds.S | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S index 967fdbf..ef7db23 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) |