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


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


Index: emulparams/m68kelf.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/m68kelf.sh,v
retrieving revision 1.9
diff -u -r1.9 m68kelf.sh
--- emulparams/m68kelf.sh	5 Feb 2009 21:52:36 -0000	1.9
+++ emulparams/m68kelf.sh	28 Sep 2009 13:28:18 -0000
@@ -6,7 +6,7 @@
 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
 ARCH=m68k
 MACHINE=
-NOP=0x4e754e75
+NOP=0x4e714e71
 TEMPLATE_NAME=elf32
 EXTRA_EM_FILE=m68kelf
 GENERATE_SHLIB_SCRIPT=yes

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