This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [patch,avr]: Part2: Fix various problems with specs and specs file generation.


> -----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

Attachment: Change-crt-device-lib-name.patch
Description: Change-crt-device-lib-name.patch


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