Re: Migration of cross compiler to GCC 3.4.6

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

 



Mohamed Shafi <shafitvm@xxxxxxxxx> writes:

> The avr backend in GCC 3.4.6 has the target hook
> TARGET_ASM_NAMED_SECTION declared in avr.h
> but not in avr.c
> 
> TARGET_ASM_NAMED_SECTION is performing the default
> action set by GCC
> 
> Is this the reason why its not moved into avr.c?

You would have to ask the author of avr.h.

It will probably work to define TARGET_ASM_NAMED_SECTION in avr.h, but
there is no reason to do so.  That macro, like all the TARGET_* macros
from target-def.h, will only be used when TARGET_INITIALIZER is used,
and that is in avr.c as it should be.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux