Commit 8c50837f0b58ba5b2bcb1b424a2a4bfa01559fb2

Fangrui Song 2020-03-10T04:36:09

Improve read-write .eh_frame check (#546) llvm-objdump -h does not print BFD SEC_* constants like "READONLY", so the check will consider .eh_frame writable. clang 11 (since https://reviews.llvm.org/D73999) will error for mismatching section flags. Use readelf -S and check "WA" instead.