This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: C6x: Fix another problem with rela. and rel. sections
On Thu, 23 Sep 2010, Bernd Schmidt wrote:
> On 09/23/2010 01:18 AM, Joseph S. Myers wrote:
>
> > Is it possible to test this in the linker testsuite? That is, can the bug
> > be exercised starting with objects where each object only contains REL or
> > only contains RELA relocations, or do you need a single input containing
> > both (which the GNU assembler won't generate)? (Specify -mgenerate-rel in
> > #source rather than #as in the .d file to have it apply only to some of
> > the input files.) If it can be tested, a test should be added to
> > ld-tic6x.
>
> Here's a test I came up with, based on existing tests. It compiles the
> first file with -mgenerate-rel; the first half of the regexps is copied
> from one existing .d file and the second half from another. Ok?
This test is OK.
--
Joseph S. Myers
joseph@codesourcery.com