From 971a1a0a620a8133c02206571f37a869c2cc06ef Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Thu, 8 Nov 2018 17:28:14 +1100 Subject: gcov: link in ctors* as newer GCC doesn't group them all It seems that newer toolchains get us multiple ctors sections to link in rather than just one. If we discard them (as we were doing), then we don't have a working gcov build (and we get the "doesn't look sane" warning on boot). So, include ctors* and all is well. Signed-off-by: Stewart Smith --- skiboot.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skiboot.lds.S b/skiboot.lds.S index 8fae208..8d09b40 100644 --- a/skiboot.lds.S +++ b/skiboot.lds.S @@ -69,7 +69,7 @@ SECTIONS . = ALIGN(0x10); .init : { __ctors_start = .; - KEEP(*(.ctors)) + KEEP(*(.ctors*)) KEEP(*(SORT(.init_array.*))) KEEP(*(.init_array)) __ctors_end = .; -- cgit v1.1