diff options
author | Stewart Smith <stewart@linux.ibm.com> | 2018-11-08 17:28:14 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-11-08 20:50:36 -0600 |
commit | 971a1a0a620a8133c02206571f37a869c2cc06ef (patch) | |
tree | 17bec7e5eaf0869ee76556b65058b05dcb9c2c6c /skiboot.lds.S | |
parent | 324365f3aa9bcd55048f3ae7b77d5dff8658a8de (diff) | |
download | blackbird-skiboot-971a1a0a620a8133c02206571f37a869c2cc06ef.tar.gz blackbird-skiboot-971a1a0a620a8133c02206571f37a869c2cc06ef.zip |
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 <stewart@linux.ibm.com>
Diffstat (limited to 'skiboot.lds.S')
-rw-r--r-- | skiboot.lds.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/skiboot.lds.S b/skiboot.lds.S index 8fae2084..8d09b40e 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 = .; |