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/51345] [avr] Devices with 8-bit SP need their own multilib(s)
Date: Mon, 02 Jan 2012 12:52:00 -0000	[thread overview]
Message-ID: <bug-51345-4-reMU2m6ZCT@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-51345-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51345

--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-01-02 12:52:00 UTC ---
Author: gjl
Date: Mon Jan  2 12:51:57 2012
New Revision: 182797

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182797
Log:
contrib/
    PR target/51345
    * gcc_update (files_and_dependencies): Add
    gcc/config/avr/t-multilib, gcc/config/avr/multilib.h.

libgcc/
    PR target/51345
    * config/avr/lib1funcs.S: Remove FIXME comments.
    (SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
gcc/    
    PR target/51345
    * config.gcc (tm_file target=avr]): Add avr/avr-multilib.h
    (tmake_file target=avr): Add avr/t-multilib.

    * config/avr/avr-c.c (avr_cpu_cpp_builtins): Use AVR_HAVE_8BIT_SP
    to built-in define __AVR_HAVE_8BIT_SP__, __AVR_HAVE_16BIT_SP__.
    * config/avr/genmultilib.awk: New file.
    * config/avr/t-multilib: New auto-generated file.
    * config/avr/multilib.h: New auto-generated file.
    * config/avr/t-avr (AVR_MCUS): New variable.
    (genopt.sh): Use it.
    (s-mlib): Depend on t-multilib.
    (t-multilib, multilib.h): New dependencies.
    (s-avr-mlib): New rule to build t-multilib, multilib.h from AVR_MCUS.
    (MULTILIB_OPTIONS): Remove.
    (MULTILIB_MATCHES): Remove.
    (MULTILIB_DIRNAMES): Remove.
    (MULTILIB_EXCEPTIONS): Remove:
    * config/avr/genopt.sh: Don't use hard coded file name;
    pass AVR_MCUS from t-avr instead.


Added:
    trunk/gcc/config/avr/genmultilib.awk
    trunk/gcc/config/avr/multilib.h
    trunk/gcc/config/avr/t-multilib
Modified:
    trunk/contrib/ChangeLog
    trunk/contrib/gcc_update
    trunk/gcc/ChangeLog
    trunk/gcc/config.gcc
    trunk/gcc/config/avr/avr-c.c
    trunk/gcc/config/avr/avr-mcus.def
    trunk/gcc/config/avr/genopt.sh
    trunk/gcc/config/avr/t-avr
    trunk/libgcc/ChangeLog
    trunk/libgcc/config/avr/lib1funcs.S


  parent reply	other threads:[~2012-01-02 12:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-29 14:35 [Bug target/51345] New: " gjl at gcc dot gnu.org
2011-11-29 14:44 ` [Bug target/51345] " gjl at gcc dot gnu.org
2011-12-02 19:15 ` gjl at gcc dot gnu.org
2011-12-06 15:06 ` gjl at gcc dot gnu.org
2011-12-28 12:27 ` gjl at gcc dot gnu.org
2012-01-02 12:52 ` gjl at gcc dot gnu.org [this message]
2012-01-04 15:29 ` gjl at gcc dot gnu.org
2012-03-24 21:09 ` gjl at gcc dot gnu.org
2012-03-28 10:32 ` gjl at gcc dot gnu.org
2012-03-28 11:05 ` gjl at gcc dot gnu.org
2012-05-31 17:42 ` 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-51345-4-reMU2m6ZCT@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: link
Be 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).