This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: avr-g++ and exception handling
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Kövesdi György <kgy at deverto dot hu>
- Cc: binutils at sourceware dot org
- Date: Thu, 27 Sep 2007 10:30:12 +0930
- Subject: Re: avr-g++ and exception handling
- References: <200709261720.23762.kgy@deverto.hu>
On Wed, Sep 26, 2007 at 05:20:23PM +0200, Kövesdi György wrote:
> section .bss [00001da0 -> 00002266] overlaps section .gcc_except_table
> [00001da0 -> 00001db4]
>
> According to gcc experts, it is a linker script problem. In the linker script
> there is no such section mentioned.
Indeed it is a linker script problem. The linker script specifies the
vma of .bss, placing .bss immediately after .data, but the linker
places the orphan .gcc_except_table after .data. I don't think there
is any good reason to specify the vma on any of the sections in the
linker script (and even more peculiarly, lma on .data). Also, I
wonder whether __data_load_end should include orphan sections like
.gcc_except_table.
--
Alan Modra
Australia Development Lab, IBM