This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C6x: Fix another problem with rela. and rel. sections


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?


Bernd

Attachment: newtest.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]