[Skiboot] [PATCH 08/16] skiboot.lds.S: remove dynsym/dynstr and plt
Nicholas Piggin
npiggin at gmail.com
Mon Apr 27 21:08:05 AEST 2020
skiboot is static so these are always empty.
Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
skiboot.lds.S | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/skiboot.lds.S b/skiboot.lds.S
index 3431f1f88..eed26eab0 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)
}
}
--
2.23.0
More information about the Skiboot
mailing list