ELF: include SHT_NOTE sections everywhere
commit1032e7175a0822c74180eb3d979cbe3b4e4c226d
authorMichael Matz <matz@suse.de>
Thu, 24 Dec 2020 05:56:46 +0000 (24 06:56 +0100)
committerMichael Matz <matz@suse.de>
Thu, 24 Dec 2020 06:01:04 +0000 (24 07:01 +0100)
tree90375b855c7ee754df7174dd4a46469eb7a76ae1
parentb56099aeb40e0b343effad80d4dc8d8e6f5719c1
ELF: include SHT_NOTE sections everywhere

... not just on the BSDs.  Sometimes e.g. .note.ABI-tag is allocated
and other sections might contain relocations referring to symbols in
them.  TCC doesn't do any special processing to them, like merging
or somesuch, it just pastes them all together in normal link-editing
behaviour.

(Seen on a recent openSUSE with glibc 2.32, when the crt1.o file
contains debug information)
tccelf.c