avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [patch #9400] Add avrxmega3 multilibs


From: Georg-Johann Lay
Subject: [avr-libc-dev] [patch #9400] Add avrxmega3 multilibs
Date: Wed, 5 Jul 2017 15:58:49 -0400 (EDT)
User-agent: Opera/9.80 (Windows NT 5.0; U; de) Presto/2.6.30 Version/10.63

URL:
  <http://savannah.nongnu.org/patch/?9400>

                 Summary: Add avrxmega3 multilibs
                 Project: AVR C Runtime Library
            Submitted by: gjlayde
            Submitted on: Wed 05 Jul 2017 07:58:48 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Hi, as lined out in

http://lists.gnu.org/archive/html/avr-libc-dev/2017-06/msg00000.html

this patch adds multilib support for the 2 new variants needed for avrxmega3
familiy (like ATtiny816).  No devices are added.  Without this patch, the
tools will generate wrong code because non-existing multilibs will silently
use default variant (avr2).

The according Binutils feature is here:
https://sourceware.org/PR21472

The according GCC feature is here:
https://gcc.gnu.org/PR81072



        Add multilib support for avrxmega3 + avrxmega3/short-calls.

        * configure.ac (CHECK_AVR_DEVICE): Add one for avrxmega3.
        (AM_CONDITIONAL): Add one for HAS_avrxmega3.
        (AC_CONFIG_FILES): Add avr/lib/avrxmega3/Makefile,
        avr/lib/avrxmega3/short-calls/Makefile.

        * devtools/gen-avr-lib-tree.sh (CFLAGS_SHORT_CALLS): New.
        (AVRXMEGA3_DEV_INFO): New.
        (AVRXMEGA3SC_DEV_INFO): New.
        (AVR_ARH_INFO): Add entries avrxmega3, avrxmega3/short-calls.

        * include/avr/pgmspace.h (__AVR_HAVE_RAMPD__): Fix comment.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 05 Jul 2017 07:58:48 PM UTC  Name: alibc-avrxmega3.diff  Size: 3kB  
By: gjlayde

<http://savannah.nongnu.org/patch/download.php?file_id=41128>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9400>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]