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: RFC: adapting the testsuite for target that doesn't use .text/.data


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.

True.


* modifying each test that fails.

Not a big fan too, as this is tedious and make the test harder to read.

Agreed.


* 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 ?


Cheers
  Nick



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