buildsys: don't garbage collect sections while linking
authorMichal Sekletar <msekleta@redhat.com>
Tue, 3 Sep 2019 08:05:42 +0000 (10:05 +0200)
committerThe Plumber <50238977+systemd-rhel-bot@users.noreply.github.com>
Mon, 21 Oct 2019 09:22:12 +0000 (11:22 +0200)
commit9f259b46b760b2aa08ac1fe76fe61df514e2768f
tree1932286ed376bf4cd8a8253a3df511781f318169
parent985837dab9c892858a92ae50043843307f5e0714
buildsys: don't garbage collect sections while linking

gc-sections is actually very aggressive and garbage collects ELF
sections used by annobin gcc plugin and annocheck then reports gaps in
coverage. Let's drop that linker flag.

RHEL-only

Resolves: #1748258
meson.build