Allow emit-relocs with gc-sections

Cary Coutant ccoutant@gmail.com
Thu Jul 12 19:03:00 GMT 2018


> * object.cc (Sized_relobj_file<size, big_endian>::do_layout): Check
>   if it is pass two or single pass when allowing emit relocs.
> * testsuite/Makefile.am (gc_icf_emit_relocs_test): New test.
> * testsuite/gc_icf_emit_relocs_test.cc: New test source.
> * testsuite/gc_icf_emit_relocs_test.sh: New test.

This is OK. Thanks!

-cary



More information about the Binutils mailing list