Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 825008 Details for
Bug 1031336
avr-binutils support for ATtiny4/ATtiny5/ATtiny9/ATtiny10
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
avr-binutils 2.23.1 patch for ATtiny4/5/9/10 support
avr-binutils-2.23.1-tiny10.patch (text/plain), 20.78 KB, created by
Ignacio Vazquez-Abrams
on 2013-11-16 23:22:31 UTC
(
hide
)
Description:
avr-binutils 2.23.1 patch for ATtiny4/5/9/10 support
Filename:
MIME Type:
Creator:
Ignacio Vazquez-Abrams
Created:
2013-11-16 23:22:31 UTC
Size:
20.78 KB
patch
obsolete
>This patch includes ATtiny4/5/9/10 patches from Atmel, available at >http://distribute.atmel.no/tools/opensource/avr-gcc/binutils-2.20.1/ . >It specifically includes code from 52-binutils-2.20.1-avrtiny10.patch, >57-binutils-2.20.1-at90pwm161.patch, and 60-binutils-2.20.1-bug13789.patch. > >diff -up avr-binutils-2.23.1/binutils-2.23.1/bfd/archures.c.tiny10 avr-binutils-2.23.1/binutils-2.23.1/bfd/archures.c >--- avr-binutils-2.23.1/binutils-2.23.1/bfd/archures.c.tiny10 2012-09-04 08:53:41.000000000 -0400 >+++ avr-binutils-2.23.1/binutils-2.23.1/bfd/archures.c 2013-11-16 17:46:53.759578073 -0500 >@@ -391,6 +391,7 @@ DESCRIPTION > .#define bfd_mach_avr5 5 > .#define bfd_mach_avr51 51 > .#define bfd_mach_avr6 6 >+.#define bfd_mach_avrtiny10 100 > .#define bfd_mach_avrxmega1 101 > .#define bfd_mach_avrxmega2 102 > .#define bfd_mach_avrxmega3 103 >diff -up avr-binutils-2.23.1/binutils-2.23.1/bfd/bfd-in2.h.tiny10 avr-binutils-2.23.1/binutils-2.23.1/bfd/bfd-in2.h >--- avr-binutils-2.23.1/binutils-2.23.1/bfd/bfd-in2.h.tiny10 2012-09-04 08:53:41.000000000 -0400 >+++ avr-binutils-2.23.1/binutils-2.23.1/bfd/bfd-in2.h 2013-11-16 17:47:28.826548372 -0500 >@@ -2120,6 +2120,7 @@ enum bfd_architecture > #define bfd_mach_avr5 5 > #define bfd_mach_avr51 51 > #define bfd_mach_avr6 6 >+#define bfd_mach_avrtiny10 100 > #define bfd_mach_avrxmega1 101 > #define bfd_mach_avrxmega2 102 > #define bfd_mach_avrxmega3 103 >diff -up avr-binutils-2.23.1/binutils-2.23.1/bfd/cpu-avr.c.tiny10 avr-binutils-2.23.1/binutils-2.23.1/bfd/cpu-avr.c >--- avr-binutils-2.23.1/binutils-2.23.1/bfd/cpu-avr.c.tiny10 2012-01-31 12:54:35.000000000 -0500 >+++ avr-binutils-2.23.1/binutils-2.23.1/bfd/cpu-avr.c 2013-11-16 17:49:01.739469675 -0500 >@@ -136,23 +136,26 @@ static const bfd_arch_info_type arch_inf > /* 3-Byte PC. */ > N (22, bfd_mach_avr6, "avr:6", FALSE, & arch_info_struct[10]), > >+ /* attiny 10 */ >+ N (16, bfd_mach_avrtiny10, "avr:100", FALSE, & arch_info_struct[11]), >+ > /* Xmega 1 */ >- N (24, bfd_mach_avrxmega1, "avr:101", FALSE, & arch_info_struct[11]), >+ N (24, bfd_mach_avrxmega1, "avr:101", FALSE, & arch_info_struct[12]), > > /* Xmega 2 */ >- N (24, bfd_mach_avrxmega2, "avr:102", FALSE, & arch_info_struct[12]), >+ N (24, bfd_mach_avrxmega2, "avr:102", FALSE, & arch_info_struct[13]), > > /* Xmega 3 */ >- N (24, bfd_mach_avrxmega3, "avr:103", FALSE, & arch_info_struct[13]), >+ N (24, bfd_mach_avrxmega3, "avr:103", FALSE, & arch_info_struct[14]), > > /* Xmega 4 */ >- N (24, bfd_mach_avrxmega4, "avr:104", FALSE, & arch_info_struct[14]), >+ N (24, bfd_mach_avrxmega4, "avr:104", FALSE, & arch_info_struct[15]), > > /* Xmega 5 */ >- N (24, bfd_mach_avrxmega5, "avr:105", FALSE, & arch_info_struct[15]), >+ N (24, bfd_mach_avrxmega5, "avr:105", FALSE, & arch_info_struct[16]), > > /* Xmega 6 */ >- N (24, bfd_mach_avrxmega6, "avr:106", FALSE, & arch_info_struct[16]), >+ N (24, bfd_mach_avrxmega6, "avr:106", FALSE, & arch_info_struct[17]), > > /* Xmega 7 */ > N (24, bfd_mach_avrxmega7, "avr:107", FALSE, NULL) >diff -up avr-binutils-2.23.1/binutils-2.23.1/bfd/elf32-avr.c.tiny10 avr-binutils-2.23.1/binutils-2.23.1/bfd/elf32-avr.c >--- avr-binutils-2.23.1/binutils-2.23.1/bfd/elf32-avr.c.tiny10 2012-07-24 17:44:44.000000000 -0400 >+++ avr-binutils-2.23.1/binutils-2.23.1/bfd/elf32-avr.c 2013-11-16 17:39:58.208929989 -0500 >@@ -1372,6 +1372,10 @@ bfd_elf_avr_final_write_processing (bfd > case bfd_mach_avrxmega7: > val = E_AVR_MACH_XMEGA7; > break; >+ >+ case bfd_mach_avrtiny10: >+ val = E_AVR_MACH_AVRTINY10; >+ break; > } > > elf_elfheader (abfd)->e_machine = EM_AVR; >@@ -1462,6 +1466,10 @@ elf32_avr_object_p (bfd *abfd) > case E_AVR_MACH_XMEGA7: > e_set = bfd_mach_avrxmega7; > break; >+ >+ case E_AVR_MACH_AVRTINY10: >+ e_set = bfd_mach_avrtiny10; >+ break; > } > } > return bfd_default_set_arch_mach (abfd, bfd_arch_avr, >diff -up avr-binutils-2.23.1/binutils-2.23.1/gas/config/tc-avr.c.tiny10 avr-binutils-2.23.1/binutils-2.23.1/gas/config/tc-avr.c >--- avr-binutils-2.23.1/binutils-2.23.1/gas/config/tc-avr.c.tiny10 2012-06-11 10:26:41.000000000 -0400 >+++ avr-binutils-2.23.1/binutils-2.23.1/gas/config/tc-avr.c 2013-11-16 17:41:28.946853153 -0500 >@@ -89,6 +89,7 @@ static struct mcu_type_s mcu_types[] = > {"avrxmega5", AVR_ISA_XMEGA, bfd_mach_avrxmega5}, > {"avrxmega6", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, > {"avrxmega7", AVR_ISA_XMEGA, bfd_mach_avrxmega7}, >+ {"avrtiny10", AVR_ISA_AVRTINY10, bfd_mach_avrtiny10}, > {"at90s1200", AVR_ISA_1200, bfd_mach_avr1}, > {"attiny11", AVR_ISA_AVR1, bfd_mach_avr1}, > {"attiny12", AVR_ISA_AVR1, bfd_mach_avr1}, >@@ -274,6 +275,12 @@ static struct mcu_type_s mcu_types[] = > {"atxmega256d3", AVR_ISA_XMEGA, bfd_mach_avrxmega6}, > {"atxmega128a1", AVR_ISA_XMEGA, bfd_mach_avrxmega7}, > {"atxmega128a1u", AVR_ISA_XMEGA, bfd_mach_avrxmega7}, >+ {"attiny4", AVR_ISA_AVRTINY10, bfd_mach_avrtiny10}, >+ {"attiny5", AVR_ISA_AVRTINY10, bfd_mach_avrtiny10}, >+ {"attiny9", AVR_ISA_AVRTINY10, bfd_mach_avrtiny10}, >+ {"attiny10", AVR_ISA_AVRTINY10, bfd_mach_avrtiny10}, >+ {"attiny20", AVR_ISA_AVRTINY10, bfd_mach_avrtiny10}, >+ {"attiny40", AVR_ISA_AVRTINY10, bfd_mach_avrtiny10}, > {NULL, 0, 0} > }; > >@@ -455,6 +462,7 @@ md_show_usage (FILE *stream) > " avrxmega5 - XMEGA, > 64K, <= 128K FLASH, > 64K RAM\n" > " avrxmega6 - XMEGA, > 128K, <= 256K FLASH, <= 64K RAM\n" > " avrxmega7 - XMEGA, > 128K, <= 256K FLASH, > 64K RAM\n" >+ " avrtiny10 - tiny devices with 16 gp registers\n" > " or immediate microcontroller name.\n")); > fprintf (stream, > _(" -mall-opcodes accept all AVR opcodes, even if not supported by MCU\n" >@@ -802,6 +810,17 @@ avr_operand (struct avr_opcodes_s *opcod > op_mask = avr_get_constant (str, 31); > str = input_line_pointer; > } >+ if (strcmp(avr_mcu->name, "avrtiny10") == 0 >+ || strcmp(avr_mcu->name, "attiny10") == 0 >+ || strcmp(avr_mcu->name, "attiny4") == 0 >+ || strcmp(avr_mcu->name, "attiny5") == 0 >+ || strcmp(avr_mcu->name, "attiny9") == 0 >+ || strcmp(avr_mcu->name, "attiny20") == 0 >+ || strcmp(avr_mcu->name, "attiny40") == 0) >+ { >+ if(op_mask < 16) >+ as_bad (_("register number above 15 required")); >+ } > > if (op_mask <= 31) > { >diff -up avr-binutils-2.23.1/binutils-2.23.1/include/elf/avr.h.tiny10 avr-binutils-2.23.1/binutils-2.23.1/include/elf/avr.h >--- avr-binutils-2.23.1/binutils-2.23.1/include/elf/avr.h.tiny10 2012-05-16 10:52:16.000000000 -0400 >+++ avr-binutils-2.23.1/binutils-2.23.1/include/elf/avr.h 2013-11-16 17:49:35.504441076 -0500 >@@ -41,6 +41,7 @@ > #define E_AVR_MACH_AVR5 5 > #define E_AVR_MACH_AVR51 51 > #define E_AVR_MACH_AVR6 6 >+#define E_AVR_MACH_AVRTINY10 100 > #define E_AVR_MACH_XMEGA1 101 > #define E_AVR_MACH_XMEGA2 102 > #define E_AVR_MACH_XMEGA3 103 >diff -up avr-binutils-2.23.1/binutils-2.23.1/include/opcode/avr.h.tiny10 avr-binutils-2.23.1/binutils-2.23.1/include/opcode/avr.h >--- avr-binutils-2.23.1/binutils-2.23.1/include/opcode/avr.h.tiny10 2012-06-07 12:43:36.000000000 -0400 >+++ avr-binutils-2.23.1/binutils-2.23.1/include/opcode/avr.h 2013-11-16 17:42:38.891793921 -0500 >@@ -70,7 +70,7 @@ > AVR_ISA_SRAM | AVR_ISA_MEGA | AVR_ISA_MUL | \ > AVR_ISA_ELPM | AVR_ISA_ELPMX | AVR_ISA_SPM | \ > AVR_ISA_BRK | AVR_ISA_EIND | AVR_ISA_MOVW) >- >+#define AVR_ISA_AVRTINY10 (AVR_ISA_1200 | AVR_ISA_BRK | AVR_ISA_SRAM) > #define REGISTER_P(x) ((x) == 'r' \ > || (x) == 'd' \ > || (x) == 'w' \ >@@ -159,8 +159,8 @@ AVR_INSN (sez, "", "1001010000011000 > AVR_INSN (bclr, "S", "100101001SSS1000", 1, AVR_ISA_1200, 0x9488) > AVR_INSN (bset, "S", "100101000SSS1000", 1, AVR_ISA_1200, 0x9408) > >-AVR_INSN (icall,"", "1001010100001001", 1, AVR_ISA_2xxx, 0x9509) >-AVR_INSN (ijmp, "", "1001010000001001", 1, AVR_ISA_2xxx, 0x9409) >+AVR_INSN (icall,"", "1001010100001001", 1, AVR_ISA_SRAM, 0x9509) >+AVR_INSN (ijmp, "", "1001010000001001", 1, AVR_ISA_SRAM, 0x9409) > > AVR_INSN (lpm, "?", "1001010111001000", 1, AVR_ISA_TINY1,0x95c8) > AVR_INSN (lpm, "r,z", "1001000ddddd010+", 1, AVR_ISA_LPMX, 0x9004) >@@ -260,8 +260,8 @@ AVR_INSN (dec, "r", "1001010rrrrr1010 > AVR_INSN (inc, "r", "1001010rrrrr0011", 1, AVR_ISA_1200, 0x9403) > AVR_INSN (lsr, "r", "1001010rrrrr0110", 1, AVR_ISA_1200, 0x9406) > AVR_INSN (neg, "r", "1001010rrrrr0001", 1, AVR_ISA_1200, 0x9401) >-AVR_INSN (pop, "r", "1001000rrrrr1111", 1, AVR_ISA_2xxx, 0x900f) >-AVR_INSN (push, "r", "1001001rrrrr1111", 1, AVR_ISA_2xxx, 0x920f) >+AVR_INSN (pop, "r", "1001000rrrrr1111", 1, AVR_ISA_SRAM, 0x900f) >+AVR_INSN (push, "r", "1001001rrrrr1111", 1, AVR_ISA_SRAM, 0x920f) > AVR_INSN (ror, "r", "1001010rrrrr0111", 1, AVR_ISA_1200, 0x9407) > AVR_INSN (swap, "r", "1001010rrrrr0010", 1, AVR_ISA_1200, 0x9402) > >@@ -279,8 +279,8 @@ AVR_INSN (fmul, "a,a", "000000110ddd1rrr > AVR_INSN (fmuls,"a,a", "000000111ddd0rrr", 1, AVR_ISA_MUL, 0x0380) > AVR_INSN (fmulsu,"a,a","000000111ddd1rrr", 1, AVR_ISA_MUL, 0x0388) > >-AVR_INSN (sts, "i,r", "1001001ddddd0000", 2, AVR_ISA_2xxx, 0x9200) >-AVR_INSN (lds, "r,i", "1001000ddddd0000", 2, AVR_ISA_2xxx, 0x9000) >+AVR_INSN (sts, "i,r", "1001001ddddd0000", 2, AVR_ISA_SRAM, 0x9200) >+AVR_INSN (lds, "r,i", "1001000ddddd0000", 2, AVR_ISA_SRAM, 0x9000) > > /* Special case for b+0, `e' must be next entry after `b', > b={Y=1,Z=0}, ee={X=11,Y=10,Z=00}, !=1 if -e or e+ or X. */ >diff -up avr-binutils-2.23.1/binutils-2.23.1/ld/configure.tgt.tiny10 avr-binutils-2.23.1/binutils-2.23.1/ld/configure.tgt >--- avr-binutils-2.23.1/binutils-2.23.1/ld/configure.tgt.tiny10 2012-09-04 08:53:47.000000000 -0400 >+++ avr-binutils-2.23.1/binutils-2.23.1/ld/configure.tgt 2013-11-16 17:39:58.216929983 -0500 >@@ -118,7 +118,7 @@ arm*-*-uclinux*) targ_emul=armelf_linux > arm-*-vxworks) targ_emul=armelf_vxworks ;; > arm*-*-conix*) targ_emul=armelf ;; > avr-*-*) targ_emul=avr2 >- targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7" >+ targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7 avrtiny10" > ;; > bfin-*-elf) targ_emul=elf32bfin; > targ_extra_emuls="elf32bfinfd" >diff -up avr-binutils-2.23.1/binutils-2.23.1/ld/emulparams/avrtiny10.sh.tiny10 avr-binutils-2.23.1/binutils-2.23.1/ld/emulparams/avrtiny10.sh >--- avr-binutils-2.23.1/binutils-2.23.1/ld/emulparams/avrtiny10.sh.tiny10 2013-11-16 17:39:58.216929983 -0500 >+++ avr-binutils-2.23.1/binutils-2.23.1/ld/emulparams/avrtiny10.sh 2013-11-16 17:50:37.327388709 -0500 >@@ -0,0 +1,13 @@ >+ARCH=avr:100 >+MACHINE= >+SCRIPT_NAME=avrtiny10 >+OUTPUT_FORMAT="elf32-avr" >+MAXPAGESIZE=1 >+EMBEDDED=yes >+TEMPLATE_NAME=elf32 >+ >+TEXT_ORIGIN=0x0 >+TEXT_LENGTH=4K >+DATA_ORIGIN=0x0800040 >+DATA_LENGTH=0x1F >+EXTRA_EM_FILE=avrelf >diff -up avr-binutils-2.23.1/binutils-2.23.1/ld/Makefile.am.tiny10 avr-binutils-2.23.1/binutils-2.23.1/ld/Makefile.am >--- avr-binutils-2.23.1/binutils-2.23.1/ld/Makefile.am.tiny10 2012-09-04 08:53:47.000000000 -0400 >+++ avr-binutils-2.23.1/binutils-2.23.1/ld/Makefile.am 2013-11-16 17:51:45.542330927 -0500 >@@ -172,6 +172,7 @@ ALL_EMULATION_SOURCES = \ > eavrxmega5.o \ > eavrxmega6.o \ > eavrxmega7.o \ >+ eavrtiny10.o \ > ecoff_i860.c \ > ecoff_sparc.c \ > ecrisaout.c \ >@@ -847,6 +848,10 @@ eavrxmega7.c: $(srcdir)/emulparams/avrxm > $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ > ${GEN_DEPENDS} > ${GENSCRIPTS} avrxmega7 "$(tdir_avr2)" >+eavrtiny10.c: $(srcdir)/emulparams/avrtiny10.sh \ >+ $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avrtiny10.sc \ >+ ${GEN_DEPENDS} >+ ${GENSCRIPTS} avrtiny10 "$(tdir_avr2)" > ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \ > $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS} > ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)" >diff -up avr-binutils-2.23.1/binutils-2.23.1/ld/Makefile.in.tiny10 avr-binutils-2.23.1/binutils-2.23.1/ld/Makefile.in >--- avr-binutils-2.23.1/binutils-2.23.1/ld/Makefile.in.tiny10 2013-11-16 17:44:23.811705068 -0500 >+++ avr-binutils-2.23.1/binutils-2.23.1/ld/Makefile.in 2013-11-16 17:46:10.783614471 -0500 >@@ -479,6 +479,7 @@ ALL_EMULATION_SOURCES = \ > eavrxmega5.o \ > eavrxmega6.o \ > eavrxmega7.o \ >+ eavrtiny10.o \ > ecoff_i860.c \ > ecoff_sparc.c \ > ecrisaout.c \ >@@ -1098,6 +1099,7 @@ distclean-compile: > @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr5.Po@am__quote@ > @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr51.Po@am__quote@ > @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavr6.Po@am__quote@ >+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eavrtiny10.Po@am__quote@ > @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecoff_i860.Po@am__quote@ > @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecoff_sparc.Po@am__quote@ > @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ecrisaout.Po@am__quote@ >@@ -2317,6 +2319,10 @@ eavrxmega7.c: $(srcdir)/emulparams/avrxm > $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ > ${GEN_DEPENDS} > ${GENSCRIPTS} avrxmega7 "$(tdir_avr2)" >+eavrtiny10.c: $(srcdir)/emulparams/avrtiny10.sh \ >+ $(srcdir)/emultempl/avrelf.em $(ELF_DEPS) $(srcdir)/scripttempl/avr.sc \ >+ ${GEN_DEPENDS} >+ ${GENSCRIPTS} avrtiny10 "$(tdir_avr2)" > ecoff_i860.c: $(srcdir)/emulparams/coff_i860.sh \ > $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/i860coff.sc ${GEN_DEPENDS} > ${GENSCRIPTS} coff_i860 "$(tdir_coff_i860)" >diff -up avr-binutils-2.23.1/binutils-2.23.1/ld/scripttempl/avrtiny10.sc.tiny10 avr-binutils-2.23.1/binutils-2.23.1/ld/scripttempl/avrtiny10.sc >--- avr-binutils-2.23.1/binutils-2.23.1/ld/scripttempl/avrtiny10.sc.tiny10 2013-11-16 17:54:44.829179050 -0500 >+++ avr-binutils-2.23.1/binutils-2.23.1/ld/scripttempl/avrtiny10.sc 2013-11-16 17:54:36.700185937 -0500 >@@ -0,0 +1,240 @@ >+cat <<EOF >+OUTPUT_FORMAT("${OUTPUT_FORMAT}","${OUTPUT_FORMAT}","${OUTPUT_FORMAT}") >+OUTPUT_ARCH(${ARCH}) >+ >+MEMORY >+{ >+ text (rx) : ORIGIN = $TEXT_ORIGIN, LENGTH = $TEXT_LENGTH >+ data (rw!x) : ORIGIN = $DATA_ORIGIN, LENGTH = $DATA_LENGTH >+ lock (rw!x) : ORIGIN = 0x3F00, LENGTH = 2 >+ signature (rw!x) : ORIGIN = 0x3FC0, LENGTH = 4 >+/* REVISIT: fuse(rw!x) : */ >+} >+ >+SECTIONS >+{ >+ /* Read-only sections, merged into text segment: */ >+ ${TEXT_DYNAMIC+${DYNAMIC}} >+ .hash ${RELOCATING-0} : { *(.hash) } >+ .dynsym ${RELOCATING-0} : { *(.dynsym) } >+ .dynstr ${RELOCATING-0} : { *(.dynstr) } >+ .gnu.version ${RELOCATING-0} : { *(.gnu.version) } >+ .gnu.version_d ${RELOCATING-0} : { *(.gnu.version_d) } >+ .gnu.version_r ${RELOCATING-0} : { *(.gnu.version_r) } >+ >+ .rel.init ${RELOCATING-0} : { *(.rel.init) } >+ .rela.init ${RELOCATING-0} : { *(.rela.init) } >+ .rel.text ${RELOCATING-0} : >+ { >+ *(.rel.text) >+ ${RELOCATING+*(.rel.text.*)} >+ ${RELOCATING+*(.rel.gnu.linkonce.t*)} >+ } >+ .rela.text ${RELOCATING-0} : >+ { >+ *(.rela.text) >+ ${RELOCATING+*(.rela.text.*)} >+ ${RELOCATING+*(.rela.gnu.linkonce.t*)} >+ } >+ .rel.fini ${RELOCATING-0} : { *(.rel.fini) } >+ .rela.fini ${RELOCATING-0} : { *(.rela.fini) } >+ .rel.rodata ${RELOCATING-0} : >+ { >+ *(.rel.rodata) >+ ${RELOCATING+*(.rel.rodata.*)} >+ ${RELOCATING+*(.rel.gnu.linkonce.r*)} >+ } >+ .rela.rodata ${RELOCATING-0} : >+ { >+ *(.rela.rodata) >+ ${RELOCATING+*(.rela.rodata.*)} >+ ${RELOCATING+*(.rela.gnu.linkonce.r*)} >+ } >+ .rel.data ${RELOCATING-0} : >+ { >+ *(.rel.data) >+ ${RELOCATING+*(.rel.data.*)} >+ ${RELOCATING+*(.rel.gnu.linkonce.d*)} >+ } >+ .rela.data ${RELOCATING-0} : >+ { >+ *(.rela.data) >+ ${RELOCATING+*(.rela.data.*)} >+ ${RELOCATING+*(.rela.gnu.linkonce.d*)} >+ } >+ .rel.ctors ${RELOCATING-0} : { *(.rel.ctors) } >+ .rela.ctors ${RELOCATING-0} : { *(.rela.ctors) } >+ .rel.dtors ${RELOCATING-0} : { *(.rel.dtors) } >+ .rela.dtors ${RELOCATING-0} : { *(.rela.dtors) } >+ .rel.got ${RELOCATING-0} : { *(.rel.got) } >+ .rela.got ${RELOCATING-0} : { *(.rela.got) } >+ .rel.bss ${RELOCATING-0} : { *(.rel.bss) } >+ .rela.bss ${RELOCATING-0} : { *(.rela.bss) } >+ .rel.plt ${RELOCATING-0} : { *(.rel.plt) } >+ .rela.plt ${RELOCATING-0} : { *(.rela.plt) } >+ >+ /* Internal text space or external memory. */ >+ .text ${RELOCATING-0} : ${RELOCATING+ AT (0x0)} >+ { >+ *(.vectors) >+ KEEP(*(.vectors)) >+ >+ /* For data that needs to reside in the lower 64k of progmem. */ >+ *(.progmem.gcc*) >+ *(.progmem*) >+ ${RELOCATING+. = ALIGN(2);} >+ >+ ${CONSTRUCTING+ __trampolines_start = . ; } >+ /* The jump trampolines for the 16-bit limited relocs will reside here. */ >+ *(.trampolines) >+ *(.trampolines*) >+ ${CONSTRUCTING+ __trampolines_end = . ; } >+ >+ /* For future tablejump instruction arrays for 3 byte pc devices. >+ We don't relax jump/call instructions within these sections. */ >+ *(.jumptables) >+ *(.jumptables*) >+ >+ /* For code that needs to reside in the lower 128k progmem. */ >+ *(.lowtext) >+ *(.lowtext*) >+ >+ ${CONSTRUCTING+ __ctors_start = . ; } >+ ${CONSTRUCTING+ *(.ctors) } >+ ${CONSTRUCTING+ __ctors_end = . ; } >+ ${CONSTRUCTING+ __dtors_start = . ; } >+ ${CONSTRUCTING+ *(.dtors) } >+ ${CONSTRUCTING+ __dtors_end = . ; } >+ KEEP(SORT(*)(.ctors)) >+ KEEP(SORT(*)(.dtors)) >+ >+ /* From this point on, we don't bother about wether the insns are >+ below or above the 16 bits boundary. */ >+ *(.init0) /* Start here after reset. */ >+ KEEP (*(.init0)) >+ *(.init1) >+ KEEP (*(.init1)) >+ *(.init2) /* Clear __zero_reg__, set up stack pointer. */ >+ KEEP (*(.init2)) >+ *(.init3) >+ KEEP (*(.init3)) >+ *(.init4) /* Initialize data and BSS. */ >+ KEEP (*(.init4)) >+ *(.init5) >+ KEEP (*(.init5)) >+ *(.init6) /* C++ constructors. */ >+ KEEP (*(.init6)) >+ *(.init7) >+ KEEP (*(.init7)) >+ *(.init8) >+ KEEP (*(.init8)) >+ *(.init9) /* Call main(). */ >+ KEEP (*(.init9)) >+ *(.text) >+ ${RELOCATING+. = ALIGN(2);} >+ *(.text.*) >+ ${RELOCATING+. = ALIGN(2);} >+ *(.fini9) /* _exit() starts here. */ >+ KEEP (*(.fini9)) >+ *(.fini8) >+ KEEP (*(.fini8)) >+ *(.fini7) >+ KEEP (*(.fini7)) >+ *(.fini6) /* C++ destructors. */ >+ KEEP (*(.fini6)) >+ *(.fini5) >+ KEEP (*(.fini5)) >+ *(.fini4) >+ KEEP (*(.fini4)) >+ *(.fini3) >+ KEEP (*(.fini3)) >+ *(.fini2) >+ KEEP (*(.fini2)) >+ *(.fini1) >+ KEEP (*(.fini1)) >+ *(.fini0) /* Infinite loop after program termination. */ >+ KEEP (*(.fini0)) >+ ${RELOCATING+ _etext = . ; } >+ } ${RELOCATING+ > text} >+ >+ .data ${RELOCATING-0} : ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text))} >+ { >+ ${RELOCATING+ PROVIDE (__data_start = .) ; } >+ *(.data) >+ *(.data*) >+ *(.rodata) /* We need to include .rodata here if gcc is used */ >+ *(.rodata*) /* with -fdata-sections. */ >+ *(.gnu.linkonce.d*) >+ ${RELOCATING+. = ALIGN(2);} >+ ${RELOCATING+ _edata = . ; } >+ ${RELOCATING+ PROVIDE (__data_end = .) ; } >+ } ${RELOCATING+ > data} >+ >+ .bss ${RELOCATING-0} :${RELOCATING+ AT (ADDR (.bss))} >+ { >+ ${RELOCATING+ PROVIDE (__bss_start = .) ; } >+ *(.bss) >+ *(.bss*) >+ *(COMMON) >+ ${RELOCATING+ PROVIDE (__bss_end = .) ; } >+ } ${RELOCATING+ > data} >+ >+ ${RELOCATING+ __data_load_start = LOADADDR(.data); } >+ ${RELOCATING+ __data_load_end = __data_load_start + SIZEOF(.data); } >+ >+ /* Global data not cleared after reset. */ >+ .noinit ${RELOCATING-0}: >+ { >+ ${RELOCATING+ PROVIDE (__noinit_start = .) ; } >+ *(.noinit*) >+ ${RELOCATING+ PROVIDE (__noinit_end = .) ; } >+ ${RELOCATING+ _end = . ; } >+ ${RELOCATING+ PROVIDE (__heap_start = .) ; } >+ } ${RELOCATING+ > data} >+ >+ .lock ${RELOCATING-0}: >+ { >+ KEEP(*(.lock*)) >+ } ${RELOCATING+ > lock} >+ >+ .signature ${RELOCATING-0}: >+ { >+ KEEP(*(.signature*)) >+ } ${RELOCATING+ > signature} >+ >+ /* Stabs debugging sections. */ >+ .stab 0 : { *(.stab) } >+ .stabstr 0 : { *(.stabstr) } >+ .stab.excl 0 : { *(.stab.excl) } >+ .stab.exclstr 0 : { *(.stab.exclstr) } >+ .stab.index 0 : { *(.stab.index) } >+ .stab.indexstr 0 : { *(.stab.indexstr) } >+ .comment 0 : { *(.comment) } >+ >+ /* DWARF debug sections. >+ Symbols in the DWARF debugging sections are relative to the beginning >+ of the section so we begin them at 0. */ >+ >+ /* DWARF 1 */ >+ .debug 0 : { *(.debug) } >+ .line 0 : { *(.line) } >+ >+ /* GNU DWARF 1 extensions */ >+ .debug_srcinfo 0 : { *(.debug_srcinfo) } >+ .debug_sfnames 0 : { *(.debug_sfnames) } >+ >+ /* DWARF 1.1 and DWARF 2 */ >+ .debug_aranges 0 : { *(.debug_aranges) } >+ .debug_pubnames 0 : { *(.debug_pubnames) } >+ >+ /* DWARF 2 */ >+ .debug_info 0 : { *(.debug_info) *(.gnu.linkonce.wi.*) } >+ .debug_abbrev 0 : { *(.debug_abbrev) } >+ .debug_line 0 : { *(.debug_line) } >+ .debug_frame 0 : { *(.debug_frame) } >+ .debug_str 0 : { *(.debug_str) } >+ .debug_loc 0 : { *(.debug_loc) } >+ .debug_macinfo 0 : { *(.debug_macinfo) } >+} >+EOF >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1031336
: 825008