> -----Original Message----- > From: avr-gcc-list-bounces+eric.weddington=atmel....@nongnu.org [mailto:avr- > gcc-list-bounces+eric.weddington=atmel....@nongnu.org] On Behalf Of Georg- > Johann Lay > Sent: Monday, June 18, 2012 11:31 AM > To: Bob Paddock > Cc: AVR-GCC > Subject: Re: [avr-gcc-list] Link Time Optimization vs __builtin_unreachable() > and .signature? >
> > LTO has removed .signature, resulting in avr-objdump giving an error > > about .signature not being found. > > I don't know about the guts of .signature. > > Maybe it has the wrong section flags or needs a KEEP in the linker > script. If it's not referenced from C code (is it?) then it can > be thrown away. If there is an object in .signature that is > needed but never used, use __attribute__((__used__)) to indicate > it is used despite not referenced. > IIRC, It's not referenced from the C code, but we would like to keep it in the final ELF file. Maybe the __used__ attribute is what is needed. That, and the linker script should be double checked. Eric _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list