This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Allow emit-relocs with gc-sections
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Sriraman Tallam <tmsriram at google dot com>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, Han Shen <shenhan at google dot com>, Brett Chalabian <bchala at google dot com>, binutils <binutils at sourceware dot org>
- Date: Thu, 12 Jul 2018 09:53:46 -0700
- Subject: Re: Allow emit-relocs with gc-sections
- References: <CAAs8HmzcCNommgOa4cxF15TipvHMpgeH+TqyFiTmpnudU-YACw@mail.gmail.com> <CAAs8HmyNB_yM_oYvYniB2zpL6AGGxqkSJCqAxM2BaGtmoq=+Fw@mail.gmail.com> <CAAs8Hmwam2UxGJfhbfF_GER2iJEobTMfmh4j8k8yOeGK6Fozbw@mail.gmail.com>
> * 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