[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] rjmp to an absolute address

From: Shaun Jackman
Subject: Re: [avr-gcc-list] rjmp to an absolute address
Date: Thu, 8 Nov 2007 15:16:30 -0700

On Nov 7, 2007 7:07 PM, Erik Christiansen <address@hidden> wrote:
> On Wed, Nov 07, 2007 at 05:04:05PM -0700, Shaun Jackman wrote:
> >
> > Is there a way in source code to use the rjmp instruction to jump to
> > an absolute address (not relative to the section offset) without using
> > a linker option or a linker script?
> Shaun,
> If the vectors are defined in assembler, then it is effortless to place
> a global label on the reset vector. (Global based on the assumption that
> the sjmp is in another file, since I figure you'd not be asking the
> question otherwise. :-)

Interrupts are disabled in the bootloader, so there are no interrupt
vectors. The bootloader binary is not linked with the application
binary, so the application's symbols are not exposed to the
bootloader's build process.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]