[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Linking and unused functions.
From: |
David Gay |
Subject: |
Re: [avr-gcc-list] Linking and unused functions. |
Date: |
Thu, 04 Mar 2004 08:48:49 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030927 |
<x-flowed>
David Gay wrote:
Ebert, Rolf wrote:
On the other hand, -ffunction-sections and -Wl,--gc-sections is a
documented
feature of gcc. It is very useful, especially in the embedded world.
It would be even more useful if -fdata-sections didn't abort the
compiler... (avr-gcc's config/avr/avr.c:avr_unique_section function has
a nice abort to detect when you use that flag ;-)) Anybody likely to fix
this anytime soon? (hint, hint)
FWIW, commenting
#undef TARGET_ASM_UNIQUE_SECTION
#define TARGET_ASM_UNIQUE_SECTION avr_unique_section
in gcc/config/avr/avr.c
gets rid of the crash, and everything seems to work... But I have no idea why
avr_unique_section was added in the first place.
All this with gcc-3.3.2, btw.
David Gay
address@hidden
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list
</x-flowed>
- Re: [avr-gcc-list] Linking and unused functions., (continued)
- Re: [avr-gcc-list] Linking and unused functions., E. Weddington, 2004/03/03
- Re: [avr-gcc-list] Linking and unused functions., Theodore A. Roth, 2004/03/03
- Re: [avr-gcc-list] Linking and unused functions., Alan Kilian, 2004/03/03
- RE: [avr-gcc-list] Linking and unused functions., Ebert, Rolf, 2004/03/04
- Re: [avr-gcc-list] Linking and unused functions., Bernd Trog, 2004/03/06