public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "gjl at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65296] [avr] fix various issues with specs file generation Date: Tue, 10 Mar 2015 09:51:00 -0000 [thread overview] Message-ID: <bug-65296-4-BscvdEDW9W@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-65296-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65296 --- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- Author: gjl Date: Tue Mar 10 09:50:41 2015 New Revision: 221316 URL: https://gcc.gnu.org/viewcvs?rev=221316&root=gcc&view=rev Log: PR target/65296 * config.gcc (extra_options) [avr]: Remove. (extra_gcc_objs) [avr]: Use driver-avr.o, avr-devices.o. (tm_file) [avr]: Add avr/specs.h after avr/avr.h. (tm_defines) [avr-*-rtems*]: Add WITH_RTEMS. * config/avr/avr.opt (config/avr/avr-arch.h): Remove include. (-mmcu=): Add Var and MissingArgError properties. (-march=): Remove. * config/avr/genmultilib.awk: Use -mmcu= instead of -march=. * config/avr/t-multilib: Regenerate. * config/avr/specs.h: New file. * config/avr/driver-avr.c: New file. * config/avr/genopt.sh: Remove file. * config/avr/avr-tables.opt: Remove file. * config/avr/predicates.md (avr_current_arch): Rename to avr_arch. * config/avr/avr-c.c: Same. * avr-arch.h: Same. (avr_current_device): Remove proto. * config/avr/avr.h (avr_current_arch): Rename to avr_arch. (AVR_HAVE_8BIT_SP): Don't depend on avr_current_device. (EXTRA_SPEC_FUNCTIONS): Define. (avr_devicespecs_file): New specs function proto. (DRIVER_SELF_SPECS): Use device-specs-file spec function. * config/avr/avr.c (avr_current_arch): Rename to avr_arch. (avr_current_device): Remove definition and usage. (avr_set_core_architecture): New static function. (avr_option_override): Use it. * config/avr/avr-devices.c (diagnostic.h, avr-arch.h): Include them. (mcu_name): New static array. (comparator, avr_archs_str, avr_mcus_str): New static functions. (avr_inform_devices, avr_inform_core_architectures): New functions. * config/avr/gen-avr-mmcu-specs.c (avr-arch.h, specs.h): Include. (avrlibc.h) [WITH_AVRLIBC]: Include. (../rtems.h, rtems.h) [WITH_RTEMS]: Include. (print_mcu): Rewrite from scratch. * config/avr/avrlibc.h (LIB_SPEC, LIBGCC_SPEC, STARTFILE_SPEC): Forward to avr-specific specs defined in device-specs file. * config/avr/t-avr (driver-avr.o): New rule. (avr-devices.o): Depend on avr-arch.h. (avr-mcus): No more depend on avr-tables.opt. (avr-tables.opt): Remove rule. (install-device-specs): Use INSTALL_DATA, not INSTALL_PROGRAM. Added: trunk/gcc/config/avr/driver-avr.c trunk/gcc/config/avr/specs.h Removed: trunk/gcc/config/avr/avr-tables.opt trunk/gcc/config/avr/genopt.sh Modified: trunk/gcc/ChangeLog trunk/gcc/config.gcc trunk/gcc/config/avr/avr-arch.h trunk/gcc/config/avr/avr-c.c trunk/gcc/config/avr/avr-devices.c trunk/gcc/config/avr/avr-mcus.def trunk/gcc/config/avr/avr.c trunk/gcc/config/avr/avr.h trunk/gcc/config/avr/avr.opt trunk/gcc/config/avr/avrlibc.h trunk/gcc/config/avr/gen-avr-mmcu-specs.c trunk/gcc/config/avr/gen-avr-mmcu-texi.c trunk/gcc/config/avr/genmultilib.awk trunk/gcc/config/avr/predicates.md trunk/gcc/config/avr/t-avr trunk/gcc/config/avr/t-multilib
next prev parent reply other threads:[~2015-03-10 9:51 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-03 11:00 [Bug target/65296] New: " gjl at gcc dot gnu.org 2015-03-03 11:03 ` [Bug target/65296] " gjl at gcc dot gnu.org 2015-03-03 11:31 ` gjl at gcc dot gnu.org 2015-03-10 9:51 ` gjl at gcc dot gnu.org [this message] 2015-03-11 18:36 ` gjl at gcc dot gnu.org 2015-03-11 18:51 ` gjl at gcc dot gnu.org 2015-03-17 10:34 ` gjl at gcc dot gnu.org 2015-03-23 19:33 ` gjl at gcc dot gnu.org 2015-04-09 11:37 ` gjl at gcc dot gnu.org 2015-04-17 13:54 ` gjl at gcc dot gnu.org 2015-04-23 17:08 ` gjl at gcc dot gnu.org 2015-04-27 11:43 ` gjl at gcc dot gnu.org 2015-04-27 11:50 ` gjl at gcc dot gnu.org 2015-04-27 11:53 ` gjl at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-65296-4-BscvdEDW9W@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).