RFC: adapting the testsuite for target that doesn't use .text/.data

Nick Clifton nickc@redhat.com
Thu Jun 3 13:47:00 GMT 2010

Hi Tristan,

> * adding a per-target option so that the standard section name is used, like what is done on rx-elf.  I
> don't know if this option was added only for the testsuite.

It was.

> I am not a big fan of this approach as it won't work out of the box: this option shouldn't be the default,
> and therefore the testsuite won't test what the user uses.


> * modifying each test that fails.
> Not a big fan too, as this is tedious and make the test harder to read.


> * changing on the fly (ie within gas-defs.exp) the options of objdump and the result expected.
> I much prefer this one, but I'd like to know if others have different opinions.

Not quite sure what you mean here.  Are you suggesting some sort 
post-objdump filter to translate section names ?


More information about the Binutils mailing list