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: m68hc11 trampolines


On Mon, 2012-02-13 at 13:02 +1030, Alan Modra wrote:
> On Thu, Feb 09, 2012 at 11:23:01PM +1030, Alan Modra wrote:
> > On Fri, Dec 30, 2011 at 02:12:54AM +0000, James Murray wrote:
> > > What does this mean and what needs doing to get the m68hc11 trampoline
> > > code back?
> > 
> > Try this.
> 

That's certainly more involved than the workaround I'd been using:

------------------------

diff -Nuar -x '.#*' -x CVS src-old/include/elf/m68hc11.h
src/include/elf/m68hc11.h
--- src-old/include/elf/m68hc11.h	2011-02-01 01:09:13.000000000 +0000
+++ src/include/elf/m68hc11.h	2012-01-02 00:33:35.000000000 +0000
@@ -86,10 +93,10 @@
 /* Special values for the st_other field in the symbol table.  These
    are used for 68HC12 to identify far functions (must be called with
    'call' and returns with 'rtc').  */
-#define STO_M68HC12_FAR 0x80
+#define STO_M68HC12_FAR 0x81 // was 0x80
 
 /* Identify interrupt handlers.  This is used by the debugger to
    correctly compute the stack frame.  */
-#define STO_M68HC12_INTERRUPT 0x40
+#define STO_M68HC12_INTERRUPT 0x41 // was 0x40
      
 #endif

------------------------

(I've not yet completed cleaning up my other work yet.)

regards

James Murray


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