[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] avr-g++ and exceptions
From: |
Rolf Magnus |
Subject: |
Re: [avr-gcc-list] avr-g++ and exceptions |
Date: |
Thu, 31 Aug 2006 21:01:12 +0200 |
User-agent: |
KMail/1.9.1 |
On Wednesday 30 August 2006 17:08, Joerg Wunsch wrote:
> Rolf Magnus <address@hidden> wrote:
> > - the gcc-except-table is needed at runtime. Since it has its own
> > section, it doesn't get copied to flash and then at runtime loaded
> > to RAM, like the section .data does. I tried to find a way to do it,
> > but it still doesn't work. I'm just not good enough with linker
> > scripts and that stuff.
>
> It needs to be placed between the __data_start and __data_end symbols
> in the linker script for this to happen.
How do I ensure that the program will use the right address at runtime?
> What's the exact name of the section?
.gcc_except_table
> > - the built-in setjmp/longjmp functions seem to be used instead of
> > the ones provided by avr-libc. No idea if this is actually a
> > problem.
>
> That might be a problem. Is there an option to override this?
Yes, but I got an error building the compiler when I tried that option.