2015-11-26  Morten Engelhardt Olsen <Morten_engelhardt.Olsen@atmel.com>

	patch #8810: Fix LFUSE_DEFAULT for tiny24a/44a
	* inclue/avr/iotn24a.h: Add missing FUSE_CKSEL3 to LFUSE_DEFAULT
	definition.
	* include/avr/iotn44a.h: Likewise.

2015-10-07  Mike Rice <mike@mikerice.name>
	bug #36303: Wrong hour for EU Summertime
	* include/util/eu_dst.h: Corrected hour to 2 AM UTC

2015-10-07  Georg-Johann Lay <avr@gjlay.de>

	patch #8556: Fix atexit.c
	* libc/stdlib/atexit.c (__atexit_fini): Rename to...
	(atexit_fini): ...this.  Make static, naked, and used.
	Move to section .fini8.  Outsource worker code to...
	(atexit_finido): ...this new function.
	(atexit_p): Renamed from __atexit_p.  Make static.

2015-10-06  Georg-Johann Lay <avr@gjlay.de>

	patch #8728: Use __extension__ with long long
	* include/stdio.h: Use __extension__ when using long long.

2015-10-06  Joern Rennecke <joern.rennecke@embecosm.com>

	patch #8564: Add dwarf debug info alternative, build printf with debug info
	* configure.ac (--enable-debug-info=): Add dwarf alternative.
	* libc/stdio/Rules.am (PRINTF_CFLAGS): Add @CDEBUG@.

2015-10-06  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	patch #8731: Header file for atmega644a
	* include/avr/io.h: include new header iom644a.h for ATmega644A.
	* include/avr/Makefile.am (avr_HEADERS): add iom644a.h.
	* include/avr/iom644a.h: New file.

2015-08-20  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	patch #8718: Enable EEPROM memory map only for devices with
	EEPROM Data Memory Mapping Enable bit (EEMAPEN)
	* libc/misc/eerd_byte.S (eeprom_read_byte): Enable EEPROM map
	only when NVM_EEMAPEN_bm is defined.
	* libc/misc/eerd_block.S (eeprom_read_block): Likewise.
	* libc/misc/eewr_byte.S (eeprom_write_byte): Likewise.
	* libc/misc/readme_eeprom.txt: Update comments for default EEPROM map.

2015-08-17  Praveen Kumar Kaushik
            Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	patch #8716: Enable setjmp/longjmp functions for AVR_TINY architecture
	* include/setjmp.h (_JBLEN): Update for AVR_TINY arch conditionally.
	* libc/stdlib/setjmp.S: Enable setjmp and longjmp for AVR_TINY
	(setjmp, longjmp): Update call-saved registers for AVR_TINY

2015-08-06  Morten Engelhardt Olsen <Morten_engelhardt.Olsen@atmel.com>

	Fix typos and incorrect defines in header files.
	* include/avr/io90pwm216.h: corrted typo in comment.
	* include/avr/iousbxx6_7.h: Add ADHSM bit definition to ADCSRB.
	* include/avr/iom165a.h: Remove BODSE and BODS.
	* include/avr/io2323.h: Move sleep mode definitions to correct place.
	* include/avr/io90pwm316.h: corrected typo in comment.
	(PIM1): Add pin definitions.
	* include/avr/iom16a.h: Add SPI_STC_vect. Keep old name for backward
	compatibility.
	* include/avr/iom324.h: Remove duplicate sleep mode definitions.
	* include/avr/iotn861a.h (PWM1X): Define.

2015-08-06  Morten Engelhardt Olsen <Morten_engelhardt.Olsen@atmel.com>

	* include/avr/iox32a4.h: Renamed member LOCKBITS to LOCK_BITS.
	(ADC_CH_MUXPOS_enum): Add missed pinmux positions.
	* include/avr/iox32d4.h: Likewise.
	* include/avr/iox16a4.h: Likewise.
	* include/avr/iox16d4.h: Likewise.
	(ADC_CH_MUXNEG_enum): correct pinmux values.
	* include/avr/iox128a1.h: Renamed member LOCKBITS to LOCK_BITS.
	* include/avr/iox128a3.h: Likewise.
	* include/avr/iox128d3.h: Likewise.
	* include/avr/iox192a3.h: Likewise.
	* include/avr/iox192d3.h: Likewise.
	* include/avr/iox256a3.h: Likewise.
	* include/avr/iox256a3b.h: Likewise.
	* include/avr/iox256d3.h: Likewise.
	* include/avr/iox64a1.h: Likewise.
	* include/avr/iox64a3.h: Likewise.
	* include/avr/iox64d3.h: Likewise.

2015-07-29  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

    * include/avr/wdt.h: Fix typo in documentation.

2015-07-22  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	bug #45551: Power-save mode not supported for ATtiny167
	* include/avr/iotn167.h (SLEEP_MODE_PWR_SAVE): Define for power save
	sleep mode.

2015-07-22  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	bug #45539: iom32u4.h defines reserved IO address (TIMSK2 (0x70),
	TIMSK5 (0x73) etc)
	* include/avr/iom32u4.h: Remove defines for reserved IO
	register addresses.

2015-06-22  Jethro <jethro.donaldson@gmail.com>
            Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	bug #44977: Incorrect PORT_t and CRC_t definitions for ATxmega64A1U
	and 128A1U
	bug #44279: incorrect USB_TRNCOMPL_vect_num in iox64a1u.h, iox128a1u.h
	* include/avr/iox64a1u.h (CRC_t): Add reserved slot as member.
	(PORT_t): Add member for REMAP.
	(NVM_EE_vect, NVM_SPM_vect,USB_TRNCOMPL_vect): Update vector number.
	(_VECTORS_SIZE): Update size.
	* include/avr/iox128a1u.h: Likewise.

2015-06-19  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	bug #43011: Bug in struct definition of __reg_UCSR1C and
	__reg_UCSR0C in iom128rfa1.h
	* include/avr/iom128rfa1.h (struct __reg_UCSR0C, struct __reg_UCSR1C):
	Remove SPI mode only bitfields.
	(UCPHA0,UDORD0,UCPHA1,UDORD1): Remove duplicates.

2015-06-18  Georg-Johann Lay <avr@gjlay.de>
            Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	bug #43828: wdt.h: Wrong inline assembler arguments
	* include/avr/wdt.h (wdt_enable/wdt_disable): Update constraints for
	inline asm operands

2015-05-07  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	bug #44869: trunk doesn't work with gcc 5.1.0-RC-20150412
	* configure.ac (HAS_GCC_5_1): Define if avr-gcc version is 5.1.0
	(--enable-device-lib): Add configure option.
	(HAS_DEV_LIB): Define if enabled by --enable-device-lib or avr-gcc
	version is >= 5.1.0.
	* devtools/Device.am (AVR_TARGET_CRT, AVR_INSTALL_DIR): Define
	based on avr-gcc version.
	(avr_LIBRARIES): Likewise.
	* devtools/gen-avr-lib-tree.sh: Use old crt name.
	* libc/Makefile.am: Include misc sub-directory if device library is
	not enabled.
	* libc/misc/Rules.am: Include eeprom function name mangling if device
	library is not enabled.

2015-04-15  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	bug #44574: Place device-specific libraries in their multilib directory.
	* configure.ac (AC_CONFIG_FILES): Replace dev directory with architecture
	directory where device specific lib (lib<device>.a) and startup object
	file (crt<device>.o) to be installed.
	* devtools/Devices.am (avr_LIBRARIES): Change device library name to
	lib<device>.a.
	* devtools/gen-avr-lib-tree.sh (AVR12_DEV_INFO): Remove tiny stack devices
	as they are part of AVR12TS_DEV_INFO.
	(AVR25_DEV_INFO): Ditto.
	Change startup object file name to crt<device>.o and install location to
	multilib (architecture) directory.

2015-04-08  Martin Nowak <code@dawg.eu>
            Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	bug #33698: Explicit use of RJMP/RCALL can cause "relocation truncated
	to fit: R_AVR_13_PCREL" linker error
	* common/macros.inc: Use __AVR_HAVE_JMP_CALL__ instead of __AVR_MEGA__
	to define XJMP/XCALL macros.
	* libm/fplib/asmdef.h: Define XJMP and XCALL with rjmp/rcall or jmp/call
	based on jmp/call instruction availability.
	* libc/stdlib/ctype.S: Use XJMP/XCALL instead of explicit rjmp/rcall for
	external functions.
	* libm/fplib/acos.S: Ditto.
	* libm/fplib/addsf3.S: Ditto.
	* libm/fplib/addsf3x.S: Ditto.
	* libm/fplib/asin.S: Ditto.
	* libm/fplib/atan.S: Ditto.
	* libm/fplib/atan2.S: Ditto.
	* libm/fplib/cbrt.S: Ditto.
	* libm/fplib/ceil.S: Ditto.
	* libm/fplib/cmpsf2.S: Ditto.
	* libm/fplib/cos.S: Ditto.
	* libm/fplib/cosh.S: Ditto.
	* libm/fplib/divsf3.S: Ditto.
	* libm/fplib/divsf3x.S: Ditto.
	* libm/fplib/exp.S: Ditto.
	* libm/fplib/fdim.S: Ditto.
	* libm/fplib/fixsfdi.S: Ditto.
	* libm/fplib/fixsfsi.S: Ditto.
	* libm/fplib/fixunssfsi.S: Ditto.
	* libm/fplib/floatdisf.S: Ditto.
	* libm/fplib/floor.S: Ditto.
	* libm/fplib/fma.S: Ditto.
	* libm/fplib/fmod.S: Ditto.
	* libm/fplib/fp_arccos.S: Ditto.
	* libm/fplib/fp_powser.S: Ditto.
	* libm/fplib/fp_powsodd.S: Ditto.
	* libm/fplib/fp_rempio2.S: Ditto.
	* libm/fplib/fp_sinus.S: Ditto.
	* libm/fplib/fp_trunc.S: Ditto.
	* libm/fplib/frexp.S: Ditto.
	* libm/fplib/gesf2.S: Ditto.
	* libm/fplib/hypot.S: Ditto.
	* libm/fplib/inverse.S: Ditto.
	* libm/fplib/isinf.S: Ditto.
	* libm/fplib/isnan.S: Ditto.
	* libm/fplib/ldexp.S: Ditto.
	* libm/fplib/log.S: Ditto.
	* libm/fplib/log10.S: Ditto.
	* libm/fplib/lrint.S: Ditto.
	* libm/fplib/lround.S: Ditto.
	* libm/fplib/modf.S: Ditto.
	* libm/fplib/mulsf3.S: Ditto.
	* libm/fplib/mulsf3x.S: Ditto.
	* libm/fplib/pow.S: Ditto.
	* libm/fplib/round.S: Ditto.
	* libm/fplib/sin.S: Ditto.
	* libm/fplib/sinh.S: Ditto.
	* libm/fplib/sqrt.S: Ditto.
	* libm/fplib/square.S: Ditto.
	* libm/fplib/tan.S: Ditto.
	* libm/fplib/tanh.S: Ditto.
	* libm/fplib/trunc.S: Ditto.
	* libm/fplib/unordsf2.S: Ditto.

2015-03-18  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>

	bug #44514: Wrong build option '-mtiny-stack' instead of '-msp8'
	* devtools/gen-avr-lib-tree.sh (CFLAGS_TINY_STACK): Change
	-mtiny-stack to -msp8.

2015-03-18  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>

	bug #43044: memory sections require __attribute__ ((used))
	* doc/api/sections.dox: Add __attribute__ ((used)) and
	a brief explanation of why it is needed.

2015-03-09  Georg-Johann Lay <avr@gjlay.de>

	bug #34719: Check for right build compiler
	* configure.ac (CC): Use `${CC} -dumpmachine` to query for
	right cross compiler instead of checking CC.

2015-03-09  Pitchumani Sivanupandi <pitchumani.s@atmel.com>

	bug #44140: wdt_disable() macro clobbers prescaller bits ...
	* include/avr/wdt.h (wdt_disable): Add WD reset before changing.
	Prescaler bits are not overwritten while setting WDCE and WDE.

2015-02-25  Joern Rennecke  <joern.rennecke@embecosm.com>
            Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>

	Patch #8610: Remove eeprom function name mangling
	* include/avr/eeprom.h: Remove _EEPROM_SUFFIX definition and eeprom
	function name mangling.
	(EEARL): define with EEAR.
	* libc/misc/eedef.h: Remove eeprom function name mangling.

2015-02-23  Joern Rennecke  <joern.rennecke@embecosm.com>

    Patch #8587: Move device specific functions to libdev.a
	* configure.ac: (AC_CONFIG_FILES): Place all devices under avr/lib/dev.
	Remove device duplicates. Remove device specific lib for tiny-stack.
	* devtools/Device.am (VPATH): Add $(top_srcdir)/libc/misc.
	($(top_srcdir)/libc/misc/Rules.am): Include.
	(avr_LIBRARIES, libdev_a_SOURCES): New library.
	* devtools/gen-avr-lib-tree.sh (AVR12_DEV_INFO): Remove duplicate devices.
	(AVR3_DEV_INFO, AVR31_DEV_INFO): Likewise.
	Place all devices under avr/lib/dev.
	* libc/misc/Rules.am: Remove eeprom file name mangling.

2015-02-23  Joern Rennecke  <joern.rennecke@embecosm.com>
		    Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>

	patch #8565:
	* include/avr/io.h: Use __AVR_DEV_LIB_NAME__ as a fallback.

2015-02-05  Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
            Pitchumani Sivanupandi <pitchumani.s@atmel.com>

    * include/avr/wdt.h: Add conditional branch to enable/disable wdt
    for devices that has CCP.

2015-01-06  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	* include/avr/iox128a3.h: Fix an obvious long-standing
	typo: TC_EVACT_FRQ_gc was misspelled as TC_EVACT_FRW_gc
	(keep old name for backwards compatibility anyway)
	* include/avr/iox16a4.h: (Dito.)
	* include/avr/iox16d4.h: (Dito.)
	* include/avr/iox192a3.h: (Dito.)
	* include/avr/iox256a3b.h: (Dito.)
	* include/avr/iox256a3.h: (Dito.)
	* include/avr/iox32a4.h: (Dito.)
	* include/avr/iox32d4.h: (Dito.)
	* include/avr/iox64a3.h: (Dito.)
