[PATCH v3 6/7] ld: Add tests for -z nosectionheader and --strip-section-headers
H.J. Lu
hjl.tools@gmail.com
Tue Jun 6 17:26:26 GMT 2023
On Mon, Jun 5, 2023 at 11:51 PM Alan Modra <amodra@gmail.com> wrote:
>
> 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.
WIll fix it.
>
> > + }
> > +
> > + 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
--
H.J.
More information about the Binutils
mailing list