PATCH: fix crash when --gc-section discard the TLS segment

Hans-Peter Nilsson hp@bitrange.com
Tue Nov 20 15:52:00 GMT 2007


On Tue, 20 Nov 2007, Nick Clifton wrote:
> > ld/testsuite:
> > 2007-11-16  Tristan Gingold  <gingold@adacore.com>
> > 
> >         * ld-elf/tls_gc.s: New test.
> >         * ld-elf/elf.exp: Add tls_gc test.
> 
> Also approved and applied.

I guess not completely, since there's no ld-elf/tls_gc.s in my 
checkout.  This causes for cris-elf:

Running /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-elf/elf.exp ...
ERROR:  /tmp/hpautotest-binutils/bsrc/src/ld/testsuite/ld-elf/tls_gc.s: assembly failed

But... even if the code was there, is this test supposed to be 
run for cris-elf which has no binutils TLS support?

brgds, H-P



More information about the Binutils mailing list