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: [GAS] fix crash on erroneous directive


Hi Nathan,

You could define a symbol and then use to the right nop depending on the
symbol's value.

like this?

Yes - although it turns out that there are other targets that have nops that take arguments, do not have a nop instruction at all, or do not generate dwarf2 debug information, so the test as you had it needed a little more tweaking. I have taken care of this however, and checked the result in.


Cheers
  Nick



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