]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 008-add-usersig-section.patch
- release 2 (x32 rebuild)
[packages/crossavr-binutils.git] / 008-add-usersig-section.patch
1 --- ld/scripttempl/avr.sc       2012-12-26 16:10:01.000000000 +0530
2 +++ ld/scripttempl/avr.sc       2012-12-26 16:00:54.000000000 +0530
3 @@ -10,6 +10,7 @@ MEMORY
4    fuse      (rw!x) : ORIGIN = 0x820000, LENGTH = 1K
5    lock      (rw!x) : ORIGIN = 0x830000, LENGTH = 1K
6    signature (rw!x) : ORIGIN = 0x840000, LENGTH = 1K
7 +  user_signatures (rw!x) : ORIGIN = 0x850000, LENGTH = 1K
8  }
9  
10  SECTIONS
11 @@ -220,6 +221,11 @@ SECTIONS
12      KEEP(*(.signature*))
13    } ${RELOCATING+ > signature}
14  
15 +  .user_signatures ${RELOCATING-0}:
16 +  {
17 +    KEEP(*(.user_signatures*))
18 +  } ${RELOCATING+ > user_signatures}
19 +
20    /* Stabs debugging sections.  */
21    .stab 0 : { *(.stab) }
22    .stabstr 0 : { *(.stabstr) }
This page took 0.055392 seconds and 3 git commands to generate.