[PATCH v3 6/7] ld: Add tests for -z nosectionheader and --strip-section-headers
Alan Modra
amodra@gmail.com
Tue Jun 6 06:46:27 GMT 2023
On Mon, Jun 05, 2023 at 08:32:21AM -0700, H.J. Lu wrote:
> + if ![string match "*pr25617-1a-now-no-sec-hdr.so*file in wrong format*" $got] then {
> + send_log "$got\n"
> + fail "Update pr25617-1a-now-no-sec-hdr.so ($prog_name)"
Needs a return here, otherwise you might get both a fail and a pass.
> + }
> +
> + pass "Update pr25617-1a-now-no-sec-hdr.so ($prog_name)"
> + }
> +}
> +
> +binutils_run_test ""
> +binutils_run_test objcopy
> +binutils_run_test strip
--
Alan Modra
Australia Development Lab, IBM
More information about the Binutils
mailing list