This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: m68hc11 trampolines
- From: James Murray <jsm at jsm-net dot demon dot co dot uk>
- To: binutils at sourceware dot org, Alan Modra <amodra at gmail dot com>
- Date: Tue, 14 Feb 2012 23:08:25 +0000
- Subject: Re: m68hc11 trampolines
- References: <ADFB3A72-FDFA-4402-A6D5-CADEA94D0ED2@adacore.com> <1324230304.8652.3.camel@jsm2> <81013813-59AA-4061-8C6C-727D10F02149@adacore.com> <1324323896.8652.34.camel@jsm2> <1324389068.8652.70.camel@jsm2> <6273DF63-6E89-4A92-9FEF-52CFFE3E22C6@adacore.com> <1324392565.8652.73.camel@jsm2> <1325173546.2430.127.camel@jsm2> <1325211174.2430.145.camel@jsm2> <20120209125301.GS22267@bubble.grove.modra.org> <20120213023209.GA6199@bubble.grove.modra.org>
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