This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ar crashes building libgcc.a
Andrew Cagney <ac131313@redhat.com> writes:
> > Andrew Cagney <cagney@gnu.org> writes:
> >
> >>> I suspect that the binutils testsuite doesn't contain a test of
> >>
> >>>> >open-file-limit files? Any suggestions on how to add that?
> > ar rc f1.o f2.o f3.o ...
>
> s/how/where/, beyond running it, I'm not that familar with the
> testsuite layout.
The place to add the test is
binutils/testsuite/binutils-all/ar.exp
Probably easiest to just create dummy files, and assemble them using
binutils_assemble. See the symbol_table test for a test case which
assembles a file and builds an archive.
Ian