m68hc11 trampolines
Jeffrey Walton
noloader@gmail.com
Tue Feb 14 23:51:00 GMT 2012
On Tue, Feb 14, 2012 at 6:08 PM, James Murray <jsm@jsm-net.demon.co.uk> wrote:
> 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
Trampolines are mutually exclusive with --noexecstack. I'd rather have
a +R +W -X stack than a trampoline.
Just sayin....
Jeff
More information about the Binutils
mailing list