This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: avr-g++ and exception handling


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]