2009-03-05  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	* configure.ac: Bump version, prepare for relase 1.6.5.

2009-03-05  Dmitry Xmelkov  <dmix@gmail.ru>

	* include/math.h: signbit(): remove note about implementation.
	isinf(), modf(): add precaution about GCC inline realization.
	* NEWS: add note about signbit() function.

2009-03-04  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	* tests/simulate/other/malloc-01.c: Merge the basic malloc and
	realloc test cases from HEAD.
	* tests/simulate/other/realloc-01.c: (Ditto.)

2009-03-04  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	* libc/stdlib/malloc.c: Fix a bug found by the testsuite script
	other/malloc-01.c: when being close to the top of heap, make sure
	the pointers don't wrap before calculating the available space.

2009-03-04  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/io90scr100.h: Yet another update.

2009-03-04  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/io90scr100.h: Updated header file based on new XML
	device file.

2009-03-04  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	Submitted by Lou Amadio:
	bug #25723: Realloc corrupts free list when growing into
	the next free item
	* libc/stdlib/realloc.c: Fix calculation of freelist.
	* tests/simulate/regression/bug-25723.c: Testscript to demonstrate
	the bug as well as its fix.

2009-03-02  Eric B. Weddington  <eric.weddington@atmel.com>

	* crt1/gcrt1.S (__init): Clear RAMPD, RAMPX, RAMPY, RAMPZ registers
	conditional on __AVR_HAVE_RAMPD__.
	* include/avr/common.h (AVR_RAMPD_REG, AVR_RAMPD_ADDR, AVR_RAMPX_REG,
	AVR_RAMPX_ADDR, AVR_RAMPY_REG, AVR_RAMPY_ADDR): Add definitions.

2009-03-02  Eric B. Weddington  <eric.weddington@atmel.com>

	* crt1/gcrt1.S (__do_copy_data): Make clearing of RAMPZ at end
	conditional on __AVR_HAVE_RAMPD__ (currently avrxmega3, avrxmega5,
	and avrxmega7 architectures). These architectures can access > 64K RAM,
	hence RAMPZ is required to be cleared.

2009-03-01  Eric B. Weddington  <eric.weddington@atmel.com>

	Fix for bug #25120.
	* include/avr/pgmspace.h (__ELPM_xmega__, __ELPM_word_xmega__,
	__ELPM_dword_xmega__, __ELPM_float_xmega__): Add new macros.
	(__ELPM, __ELPM_word, __ELPM_dword, __ELPM_float): Add new conditional
	definitions based on __AVR_HAVE_RAMPD__ (i.e. avrxmega3, avrxmega5,
	and avrxmega7 architectures).
	* NEWS: Add item to fixed bug list.

2009-03-01  Dmitry Xmelkov  <dmix@gmail.ru>

	* libc/stdlib/setjmp.S: longjmp(): optimize stack pointer writing
	in case of XMEGA devices.

2009-02-25  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	* include/util/delay.h (_delay_us): Swap _delay_us() and
	_delay_ms() so when _delay_us() wants to fall back to _delay_ms(),
	the function call can actually be inlined by the compiler.

2009-02-19  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	* include/avr/iom128rfa1.h: Fix some C syntax errors
	that have sneaked in during the last update.

2009-02-19  Eric B. Weddington  <eric.weddington@atmel.com>

	* configure.ac: Add support for ATmega16U4.
	* devtools/gen-avr-lib-tree.sh: Same.
	* include/avr/Makefile.am: Same.
	* include/avr/io.h: Same.
	* doc/api/main_page.dox: Same.
	* doc/api/using-tools.dox: Same.
	* include/avr/power.h: Same.
	* include/avr/wdt.h: Same.
	* include/avr/sleep.h: Same.
	* include/avr/iom16u4.h: New file.
	* NEWS: Add item.

2009-02-19  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/sleep.h: Add sleeping BOD API.
	* NEWS: Add news item.

2009-02-19  Eric B. Weddington  <eric.weddington@atmel.com>

	Fix bug #25645.
	* include/avr/iox256a3b.h: Change PR register to PRGEN because this
	conflicts with a #defined symbol.
	* include/avr/iox256a3.h: Same.
	* include/avr/iox128a3.h: Same.
	* include/avr/iox128a1.h: Same.
	* include/avr/iox64a3.h: Same.
	* include/avr/iox64a1.h: Same.
	* NEWS: Add item to fixed bug list.

2009-02-19  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	Contributed by Bob Paddock:
	(part of) patch #6720: FAQ update. Add EEPROM section, baud rate section.
	Correct spelling.
	* doc/api/faq.dox: Spelling fixes, remove trailing white space.

2009-02-19  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	Contributed by Bob Paddock:
	(part of) patch #6720: FAQ update. Add EEPROM section, baud rate section.
	Correct spelling.
	* doc/api/faq.dox (faq_eeprom_corruption, faq_wrong_baud_rate): new
	entries.

2009-02-18  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	* include/avr/power.h: Add ATmega128RFA1.
	* include/avr/sleep.h: (Ditto.)

2009-02-16  Eric B. Weddington  <eric.weddington@atmel.com>

	Fix repository breakage. Thanks to Anatoly.
	* configure.ac: Test for xmega2 architecture. Fix architecture type.
	* devtools/gen-avr-lib-tree.sh: Add missing semicolons.

2009-02-13  Eric B. Weddington  <eric.weddington@atmel.com>

	Fix bug #25261.
	* include/avr/iotn48.h: Add register TWHSR. Deprecate register TWIHSR.
	* NEWS: Add item to fixed bug list.

2009-02-13  Eric B. Weddington  <eric.weddington@atmel.com>

	Fix bug #25535.
	* include/avr/iotn88.h: Remove AREFD, REFS1 bit definitions.
	* include/avr/iotn48.h: Same.
	* NEWS: Add item.

2009-02-13  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/sleep.h: Add support for ATxmega32D4, ATxmega16A4,
	ATxmega16D4.

2009-02-13  Eric B. Weddington  <eric.weddington@atmel.com>

	* configure.ac: Add support for ATxmega32D4, ATxmega16A4, ATxmega16D4.
	* devtools/gen-avr-lib-tree.sh: Same.
	* include/Makefile.am: Same.
	* include/io.h: Same.
	* doc/api/main_page.dox: Same.
	* doc/api/using-tools.dox: Same.
	* include/avr/power.h: Same.
	* include/avr/wdt.h: Same.
	* NEWS: Same.
	* devtools/gen-avr-lib-tree.sh (CFLAGS_SPACE_NO_CALL): Add. Optimize for
	space but without -mcall-prologues flag.
	(AVR6_DEV_INFO) Use CFLAGS_SPACE_NO_CALL.
	(AVRXMEGA6_DEV_INFO) Use CFLAGS_SPACE_NO_CALL on devices with 256K+ flash.

2009-02-12  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	* include/avr/iom128rfa1.h: Fix some buglets noticed
	by Eric:
	  - the __NOSTRUCT__ logic was broken
	  - _VECTORS_SIZE was off by one vector
	  - the *_vect_num definitions were missing

2009-02-11  Eric B. Weddington  <eric.weddington@atmel.com>

	Partial fix for bug #25535.
	* include/avr/iotn88.h: Remove SM2 bit definition.
	* include/avr/iotn48.h: Same.

2009-02-11  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	* doc/api/assembler.dox: Add missing 3rd copyright clause.
	* doc/api/malloc.dox: (Ditto.)
	* doc/api/faq.dox: (Ditto.)

2009-02-11  Eric B. Weddington  <eric.weddington@atmel.com>

	Fix bug #25131.
	* include/avr/iotn2313.h: Fix LFUSE_DEFAULT definition.

2009-02-11  Eric B. Weddington  <eric.weddington@atmel.com>

	Make definition of XRAMEND more consistent across all I/O header files.
	* include/avr/io.h: Add missing word in documentation on XRAMEND.
	* include/avr/iousb82.h: Change XRAMEND definition from a constant to
	RAMEND.
	* include/avr/iousb162.h: Same.
	* include/avr/iotn84.h: Same.
	* include/avr/iotn85.h: Same.
	* include/avr/iotn861.h: Same.
	* include/avr/iotn44.h: Same.
	* include/avr/iotn45.h: Same.
	* include/avr/iotn461.h: Same.
	* include/avr/iotn22.h: Same.
	* include/avr/iotn2313.h: Same.
	* include/avr/iotn24.h: Same.
	* include/avr/iotn25.h: Same.
	* include/avr/iotn26.h: Same.
	* include/avr/iotn261.h: Same.
	* include/avr/iotn13.h: Same.
	* include/avr/iom8hva.h: Same.
	* include/avr/iom88.h: Same.
	* include/avr/iom8535.h: Same.
	* include/avr/iom8.h: Same.
	* include/avr/iom6490.h: Same.
	* include/avr/iom649.h: Same.
	* include/avr/iom6450.h: Same.
	* include/avr/iom645.h: Same.
	* include/avr/iom644.h: Same.
	* include/avr/iom48.h: Same.
	* include/avr/iom406.h: Same.
	* include/avr/iotn43u.h: Same.
	* include/avr/iom3290.h: Same.
	* include/avr/iom329.h: Same.
	* include/avr/iom325.h: Same.
	* include/avr/iom3250.h: Same.
	* include/avr/iom32.h: Same.
	* include/avr/iom323.h: Same.
	* include/avr/iom324.h: Same.
	* include/avr/iom16hva.h: Same.
	* include/avr/iom169.h: Same.
	* include/avr/iom169p.h: Same.
	* include/avr/iom168.h: Same.
	* include/avr/iom165.h: Same.
	* include/avr/iom165p.h: Same.
	* include/avr/iom164.h: Same.
	* include/avr/iom163.h: Same.
	* include/avr/iom16.h: Same.
	* include/avr/io90pwmx.h: Same.
	* include/avr/io90pwm1.h: Same.
	* include/avr/io86r401.h: Same.
	* include/avr/io8535.h: Same.
	* include/avr/io8534.h: Same.
	* include/avr/io76c711.h: Same.
	* include/avr/io4434.h: Same.
	* include/avr/io4433.h: Same.
	* include/avr/io43u35x.h: Same.
	* include/avr/io43u32x.h: Same.
	* include/avr/io2343.h: Same.
	* include/avr/io2333.h: Same.
	* include/avr/io2323.h: Same.
	* include/avr/io2313.h: Same.
	* include/avr/iotn88.h: Change XRAMEND definition to just RAMEND.
	* include/avr/iotn48.h: Same.
	* include/avr/iotn167.h: Same.
	* include/avr/iotn13a.h: Same.
	* include/avr/iom88p.h: Same.
	* include/avr/iom48p.h: Same.
	* include/avr/iom32hvb.h: Same.
	* include/avr/iom328p.h: Same.
	* include/avr/iom168p.h: Same.
	* include/avr/iom1284p.h: Same.
	* include/avr/ioa6289.h: Same.
	* include/avr/io90scr100.h: Same.
	* include/avr/io90pwm3b.h: Same.
	* include/avr/io90pwm316.h: Same.
	* include/avr/io90pwm2b.h: Same.
	* include/avr/io90pwm216.h: Same.
	* include/avr/iom32u6.h: Fix XRAMEND definition to be XRAMSIZE - 1.
	* include/avr/iom32u4.h: Same.

2009-02-07  Anatoly Sokolov  <aesok@post.ru>

	* include/avr/iotnx4.h: Add RSIG bit definition.
	* include/avr/iotnx5.h: Same.

2009-02-06  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/iotnx4.h: Add BODS and BODSE bit definitions.
	* include/avr/iotnx5.h: Same.
	* include/avr/iomxx4.h: Define BODS and BODSE only if not ATmega644.

2009-02-06  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/iom1284p.h: Fix OCROA_0..OCROA_7 to OCR0A_0..OCR0A_7.
	* include/avr/iom328p.h: Same.
	* include/avr/iom168p.h: Same.
	* include/avr/iom88p.h: Same.
	* include/avr/iom48p.h: Same.
	* include/avr/iotn48.h: Same.
	* include/avr/iom32u6.h: Same.
	* include/avr/io90scr100.h: Same.
	* include/avr/iom128rfa1.h: Same.

2009-02-06  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/sleep.h: Add support for AT90PWM81.

2009-02-06  Eric B. Weddington  <eric.weddington@atmel.com>

	* xml/avrgcc-header: Add Id line. Always add *PAGE_SIZE constant
	definitions for xmega devices. Fix definition of XRAMEND constant for
	classic AVR devices.
	* include/avr/iox128a1.h: Add *PAGE_SIZE constants.
	* include/avr/iox16a4.h: Same.
	* include/avr/iox16d4.h: Same.
	* include/avr/iox32a4.h: Same.
	* include/avr/iox32d4.h: Same.
	* include/avr/iox64a1.h: Same.
	* include/avr/iox64a3.h: Same.
	* include/avr/iox128a3.h: Same.
	* include/avr/iox256a3.h: Same.
	* include/avr/iox256a3b.h: Same.

2009-02-06  Joerg Wunsch <j.gnu@uriah.heep.sax.de>

	* configure.ac: Add the ATmega128RFA1 device.
	* devtools/gen-avr-lib-tree.sh: (Ditto.)
	* include/avr/Makefile.am: (Ditto.)
	* include/avr/io.h: (Ditto.)
	* include/avr/wdt.h: (Ditto.)
	* include/avr/iom128rfa1.h: (Ditto.)

2009-02-04  Eric B. Weddington  <eric.weddington@atmel.com>

	* bootstrap: Remove autoconf and automake version checks.
	* configure.ac (AC_INIT): Make this call be first in script according
	to docs.
	(AC_PREREQ): Change minimum autoconf version to 2.59.
	(AM_INIT_AUTOMAKE) Check for minimum automake version of 1.8

2009-02-01  Eric B. Weddington  <eric.weddington@atmel.com>

	* configure.ac: Add support for AT90PWM81.
	* devtools/gen-avr-lib-tree.sh: Same.
	* doc/api/main_page.dox: Same.
	* doc/api/using-tools.dox: Same.
	* include/avr/Makefile.am: Same.
	* include/avr/io.h: Same.
	* include/avr/power.h: Same.
	* include/avr/wdt.h: Same.
	* NEWS: Add news items.

2009-02-01  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/iox32d4.h: New file.
	* include/avr/iox16a4.h: New file.
	* include/avr/iox16d4.h: New file.

2009-02-01  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/io90pwm81.h: New file.

2009-01-29  Eric B. Weddington  <eric.weddington@atmel.com>

	* configure.ac: Add support for ATA6289.
	* devtools/gen-avr-lib-tree.sh: Same.
	* doc/api/main_page.dox: Same.
	* doc/api/using-tools.dox: Same.
	* include/avr/Makefile.am: Same.
	* include/avr/io.h: Same.
	* include/avr/sleep.h: Same.
	* include/avr/wdt.h: Same.
	* include/avr/ioa6289.h: New file.
	* NEWS: Add news item.

2009-01-26  Eric B. Weddington  <eric.weddington@atmel.com>

	* configure.ac: Add support for ATmega64M1, ATmega64C1, ATmega16M1.
	* devtools/gen-avr-lib-tree.sh: Same.
	* doc/api/main_page.dox: Same.
	* doc/api/using-tools.dox: Same.
	* include/avr/Makefile.am: Same.
	* include/avr/io.h: Same.
	* include/avr/power.h: Same.
	* include/avr/sleep.h: Same.
	* include/avr/wdt.h: Same.
	* NEWS: Add news items.

2009-01-26  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/io90pwm2b.h: Bit definitions OCR0_0..OCR0_7 were
	duplicated. Change to OCR0A_0..OCR0A_0 and OCR0B_0..OCR0B_7. Add
	old definitions back in for backwards compatibility.
	* include/avr/io90pwm3b.h: Same.

2009-01-26  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/iom64m1.h: New file.
	* include/avr/iom64c1.h: New file.
	* include/avr/iom16m1.h: New file.

2009-01-26  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/iom32m1.h: File has been regenerated from updated XML file.
	SPM_PAGESIZE fix, new bit definitions, new 16-bit combined registers, 
	22 renamed definitions, remove DAOE bitfield, fix bit definitions, 
	new register PCICR, renamed EEPROM bit definitions, miscellaneous 
	whitespace changes.
	* include/avr/iom32c1.h: File has been regenerated from updated XML file.
	Fix line endings to be Unix line endings, SPM_PAGESIZE fix, fix bit
	definitions, remove DAOE bitfield, new register PCICR, renamed
	EEPROM bit definitions, miscellaneous whitespace changes.
	* include/avr/iox32a4.h: File has been regenerated from updated XML file.
	PR.PR register renamed to PR.PRGEN. Fix missing AES definitions for 
	PRGEN register.

2009-01-24  Eric B. Weddington  <eric.weddington@atmel.com>

	* configure.ac: Add support for ATxmega32A4.
	* devtools/gen-avr-lib-tree.sh: Same.
	* doc/api/main_page.dox: Same.
	* doc/api/using-tools.dox: Same.
	* include/avr/Makefile.am: Same.
	* include/avr/io.h: Same.
	* include/avr/power.h: Same.
	* include/avr/sleep.h: Same.
	* include/avr/wdt.h: Same.
	* NEWS: Add news item.

2009-01-23  Eric B. Weddington  <eric.weddington@atmel.com>

	* include/avr/iox32a4.h: New file.

2009-01-23  Eric B. Weddington  <eric.weddington@atmel.com>

	* Makefile.am (EXTRA_DIST): Add ChangeLog-2008.

2009-01-22  Eric B. Weddington  <eric.weddington@atmel.com>

	* configure.ac: Add support for ATtiny87.
	* devtools/gen-avr-lib-tree.sh: Same.
	* doc/api/main_page.dox: Same.
	* doc/api/using-tools.dox: Same.
	* include/avr/Makefile.am: Same.
	* include/avr/io.h: Same.
	* include/avr/power.h: Same.
	* include/avr/sleep.h: Same.
	* include/avr/wdt.h: Same.
	* include/avr/iotn87.h: New file.
	* NEWS: Add news item.

For older changes see ChangeLog-2008
