gcc/libgcc/config/avr
Georg-Johann Lay ea3f2b240f re PR target/63223 ([avr] Make jumptables work with -Wl,--section-start,.text=)
gcc/
	PR target/63223
	* config/avr/avr.md (*tablejump.3byte-pc): New insn.
	(*tablejump): Restrict to !AVR_HAVE_EIJMP_EICALL.  Add void clobber.
	(casesi): Expand to *tablejump.3byte-pc if AVR_HAVE_EIJMP_EICALL.
libgcc/
	PR target/63223
	* config/avr/libgcc.S (__tablejump2__): Rewrite to use RAMPZ, ELPM
	and R24 as needed.  Make work for all devices and .text locations.
	(__do_global_ctors, __do_global_dtors): Use word addresses.
	(__tablejump__, __tablejump_elpm__): Remove functions.
	* t-avr (LIB1ASMFUNCS): Remove _tablejump, _tablejump_elpm.
	Add _tablejump2.
	(XICALL, XIJMP): New macros.

From-SVN: r215152
2014-09-11 08:08:17 +00:00
..
avr-lib.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
lib1funcs-fixed.S Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
lib1funcs.S re PR target/63223 ([avr] Make jumptables work with -Wl,--section-start,.text=) 2014-09-11 08:08:17 +00:00
lib2-object.mk re PR target/54222 ([avr] Implement fixed-point support) 2013-02-08 10:13:37 +00:00
lib2funcs.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
t-avr re PR target/63223 ([avr] Make jumptables work with -Wl,--section-start,.text=) 2014-09-11 08:08:17 +00:00
t-avrlibc re PR target/54461 ([avr] add configure option for better AVR-Libc integration) 2012-09-05 08:47:50 +00:00
t-rtems config.host (avr-*-rtems*): Add config/avr/t-rtems. 2011-11-05 05:45:12 +01:00