patchAVR C Runtime Library - Patches: patch #9400, Add avrxmega3 multilibs

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9400: Add avrxmega3 multilibs

Submitted by:  Georg-Johann Lay <gjlayde>
Submitted on:  Wed 05 Jul 2017 07:58:48 PM UTC  
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Fri 04 Aug 2017 08:53:05 AM UTC, comment #1: 
Pitchumani <pitchumani>
Project Member
Wed 05 Jul 2017 07:58:48 PM UTC, original submission:  

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.

Georg-Johann Lay <gjlayde>

 

Attached Files
file #41128:  alibc-avrxmega3.diff added by gjlayde (3KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pitchumani (Posted a comment)
  • -email is unavailable- added by gjlayde (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-04 pitchumani StatusNone => Done
        Open/ClosedOpen => Closed
    2017-07-05 gjlayde Attached File- => Added alibc-avrxmega3.diff, #41128

    Back to the top


    Powered by Savane 3.5