AOSC-Archive / autobuild3

AOSC OS package maintenance toolkit (version 3)
https://aosc.io
GNU General Public License v2.0
24 stars 17 forks source link

lib/elf: weaken constraints on DYN ELF types #124

Closed cthbleachbit closed 2 years ago

cthbleachbit commented 2 years ago

... so that new ELFs are recognized by the ELF filters.

GCC 11 starts to produce executables with type in header set to "DYN (Position-Independent Executable file)" instead of the expected "EXEC (Executable file)".

When a ELF falls through the filter, AB3 produces a warning just in case other formats show up that we don't currently handle.