m68k padding between methods at ld time

Joel Sherrill joel.sherrill@oarcorp.com
Mon Sep 28 13:30:00 GMT 2009


Nick Clifton wrote:
> Hi Joel,
>
>   
>> I have been looking at an objdump of a Coldfire application
>> and noticed that the fill pattern between methods is
>> 0x4e75 which is an rts not 0x4e71 which is a nop.
>> Is this because ld/emulparams/m68kelf.sh has this:
>>
>> NOP=0x4e754e75
>>     
>
> Yes.
>
> A patch to change this to
>
>    NOP=0x41714e71
>
> is pre-approved.
>
>   
Thanks.  I do not have a tree for writing checked out at the
moment.  Attached is the patch.

2009-09-28  Joel Sherrill <joel.sherrill@oarcorp.com>

    * emulparams/m68kelf.sh: NOP is 0x4e71 not 0x4e75.
> Cheers
>    Nick
>
>
>   


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


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m68kelf-sh.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20090928/eb4f3b63/attachment.ksh>


More information about the Binutils mailing list