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: m68k padding between methods at ld time


Philippe De Muyter wrote:
Hi Nick and Joel,

On Tue, Sep 29, 2009 at 10:33:42AM +0100, Nick Clifton wrote:
Hi Joel,

Thanks. I do not have a tree for writing checked out at the
moment. Attached is the patch.
Just to be clear - why do you want NOP instructions rather than RTS instructions ?

And why not put there some illegal instruction so that an errant program would crash more quickly ?

I would not be opposed to that.  My only argument against it
is that of the architectures I have looked at (SPARC, x86,
and ARM), they all use nops.  Switching to an illegal instruction
on all architectures would be preferable to me.  This patch just
makes m68k consistent with the others.

--joel
Philippe


--
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
  Support Available             (256) 722-9985



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