aboutsummaryrefslogtreecommitdiff
path: root/skiboot.lds.S
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2020-04-27 21:08:05 +1000
committerOliver O'Halloran <oohall@gmail.com>2020-06-11 12:52:55 +1000
commite40441198832e8fd69ddca9e75c466085b6ddf6c (patch)
tree01fd16d8cfcff2f606d468e878291d368513ae16 /skiboot.lds.S
parent0deffc80773cc63386846b794b7f1e702212b8f1 (diff)
downloadskiboot-e40441198832e8fd69ddca9e75c466085b6ddf6c.zip
skiboot-e40441198832e8fd69ddca9e75c466085b6ddf6c.tar.gz
skiboot-e40441198832e8fd69ddca9e75c466085b6ddf6c.tar.bz2
skiboot.lds.S: remove dynsym/dynstr and plt
skiboot is static so these are always empty. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'skiboot.lds.S')
-rw-r--r--skiboot.lds.S12
1 files changed, 4 insertions, 8 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S
index 3431f1f..eed26ea 100644
--- a/skiboot.lds.S
+++ b/skiboot.lds.S
@@ -163,10 +163,6 @@ SECTIONS
__platforms_end = .;
}
- /* Do I need to keep these ? */
- .dynsym : { *(.dynsym) }
- .dynstr : { *(.dynstr) }
-
/* Relocations */
. = ALIGN(0x10);
.dynamic : {
@@ -181,12 +177,8 @@ SECTIONS
*(.rela*)
__rela_dyn_end = .;
}
- .plt : { *(.plt) *(.iplt) }
-
.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) }
@@ -252,5 +244,9 @@ SECTIONS
*(.eh_frame)
*(.interp)
*(.fini_array.*)
+ *(.dynsym)
+ *(.dynstr)
+ *(.plt)
+ *(.iplt)
}
}