[Patch,avr]: Add more devices take #2: 2/2

Georg-Johann Lay gjl@gcc.gnu.org
Wed Feb 13 10:17:00 GMT 2013


And here 2/2 with the device -> arch mapping for gas.


Ok for trunk?

Johann


	* config/avr/avr.h (device_to_arch): Rename to device_to_ld.
	(avr_device_to_arch): Rename to avr_device_to_ld.
	(avr_device_to_as): New prototype.
	(EXTRA_SPEC_FUNCTIONS): Add device_to_as.
	(ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=.
	* config/avr/driver-avr.c (avr_device_to_as): New.
	(avr_device_to_arch): Rename to avr_device_to_ld.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: more-devices-2.diff
Type: text/x-patch
Size: 3251 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130213/5c16b08d/attachment.bin>


More information about the Gcc-patches mailing list