#!/bin/bash . $(dirname $0)/common.inc # OneTBB isn't tsan-clean nm mold | grep '__tsan_init' && skip # Binutils 2.32 injects their own .note.gnu.property section interfering with the tests test_cflags -Xassembler -mx86-used-note=no && CFLAGS="-Xassembler -mx86-used-note=no" || CFLAGS="" # This test requires the new ISA constants defined in Binutils 2.36 readelf -v | grep -E "GNU readelf .+ (2\.3[6-9]|2\.[4-9]|[3-9])" || skip cat <