ebcb40e5e1
port, which is also in sync with winavr/avrstudio. Among other things, this adds support for atmega328... which means new arduino boards should work.
17 lines
683 B
Plaintext
17 lines
683 B
Plaintext
$OpenBSD: patch-ld_emultempl_avrelf_em,v 1.3 2010/06/27 20:58:10 ckuethe Exp $
|
|
--- ld/emultempl/avrelf.em.orig Sat Jun 26 11:23:28 2010
|
|
+++ ld/emultempl/avrelf.em Sat Jun 26 11:31:17 2010
|
|
@@ -71,8 +71,10 @@ avr_elf_${EMULATION_NAME}_before_allocation (void)
|
|
|
|
gld${EMULATION_NAME}_before_allocation ();
|
|
|
|
- /* We only need stubs for the avr6 family. */
|
|
- if (strcmp ("${EMULATION_NAME}","avr6"))
|
|
+ /* We only need stubs for avr6, avrxmega6, and avrxmega7. */
|
|
+ if (strcmp ("${EMULATION_NAME}","avr6")
|
|
+ && strcmp ("${EMULATION_NAME}","avrxmega6")
|
|
+ && strcmp ("${EMULATION_NAME}","avrxmega7") )
|
|
avr_no_stubs = TRUE;
|
|
|
|
avr_elf_set_global_bfd_parameters ();
|