[patch,avr]: Part2: Fix various problems with specs and specs file generation.

Sivanupandi, Pitchumani Pitchumani.Sivanupandi@atmel.com
Wed Apr 15 10:17:00 GMT 2015


> -----Original Message-----
> From: gcc-patches-owner@gcc.gnu.org [mailto:gcc-patches-
> owner@gcc.gnu.org] On Behalf Of Sivanupandi, Pitchumani
> Sent: Thursday, April 09, 2015 6:26 PM
> To: Georg-Johann Lay; Denis Chertykov
> Cc: GCC Patches; Joerg Wunsch; Selvaraj, Senthil_Kumar
> Subject: RE: [patch,avr]: Part2: Fix various problems with specs and specs
> file generation.
...
> >
> > If the device libs are moved, all the ~200 .dev/<device> directories
> > will contain just 1 file each: crt1.o.  Is it much work to tidy that
> > up?  (For example by renaming to, say, crt<device>.o and moving
> them
> > to a common place or to their natural multilib location.)
> 
> No, It is possible to do with the same patch.
> I'll rename crt1.o to crt<device>.o and move it to multilib location.

Hi Johann,

This is done.
https://savannah.nongnu.org/bugs/?44574

Attached a patch for corresponding changes in gcc.

gcc/ChangeLog
* config/avr/avr-mcus.def: Change startup and device lib name
to crt<device>.o and lib<device>.a respectively.
* config/avr/avr.opt: Update device lib name.
* config/avr/gen-avr-mmcu-specs.c (print_mcu): Update start file name
and device lib name.

Regards,
Pitchumani
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Change-crt-device-lib-name.patch
Type: application/octet-stream
Size: 1868 bytes
Desc: Change-crt-device-lib-name.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150415/6ac353c8/attachment.obj>


More information about the Gcc-patches mailing list