This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: m68k padding between methods at ld time
- From: Goswin von Brederlow <goswin-v-b at web dot de>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 28 Sep 2009 10:52:41 +0200
- Subject: Re: m68k padding between methods at ld time
- References: <4ABF9919.2070909@oarcorp.com>
Joel Sherrill <joel.sherrill@oarcorp.com> writes:
> Hi,
>
> 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
>
> This is with pre-release snapshots and the CVS head
> for the source check.
>
> Thanks.
>
> --joel
What is the problem with that? If someone jumps between functions it
would return instead of running into the following function. Seems
more sane.
MfG
Goswin