]> git.pld-linux.org Git - packages/crossavr-binutils.git/blob - 500-binutils-avrtc530-backported.patch
- release 2 (x32 rebuild)
[packages/crossavr-binutils.git] / 500-binutils-avrtc530-backported.patch
1 diff -Naurp ld/scripttempl/avr7.sc ld/scripttempl/avr7.sc
2 --- ld/scripttempl/avr7.sc      2013-03-22 16:10:14.000000000 +0530
3 +++ ld/scripttempl/avr7.sc      2013-03-22 16:19:16.000000000 +0530
4 @@ -161,7 +161,7 @@ SECTIONS
5    .data        ${RELOCATING-0} : ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text))}
6    {
7      ${RELOCATING+ PROVIDE (__data_start = .) ; }
8 -    *(.data)
9 +    KEEP (*(.data))
10      *(.data*)
11      *(.rodata)  /* We need to include .rodata here if gcc is used */
12      *(.rodata*) /* with -fdata-sections.  */
13 @@ -195,7 +195,7 @@ SECTIONS
14  
15    .eeprom ${RELOCATING-0}:
16    {
17 -    *(.eeprom*)
18 +    KEEP (*(.eeprom*))
19      ${RELOCATING+ __eeprom_end = . ; }
20    } ${RELOCATING+ > eeprom}
21  
22 diff -Naurp ld/scripttempl/avr.sc ld/scripttempl/avr.sc
23 --- ld/scripttempl/avr.sc       2013-03-22 16:10:00.000000000 +0530
24 +++ ld/scripttempl/avr.sc       2013-03-22 16:19:13.000000000 +0530
25 @@ -199,7 +199,7 @@ SECTIONS
26  
27    .eeprom ${RELOCATING-0}:
28    {
29 -    *(.eeprom*)
30 +    KEEP (*(.eeprom*))
31      ${RELOCATING+ __eeprom_end = . ; }
32    } ${RELOCATING+ > eeprom}
33  
This page took 0.059682 seconds and 3 git commands to generate.