CVS: packaging/patches binutils-ld_scripts.patch, 1.1, 1.2

Chris Liechti <[email protected]> Thu, 29 May 2008 01:07:52 -0700
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/packaging/patches
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7279

Modified Files:
	binutils-ld_scripts.patch 
Log Message:
support for sorting variables (less holes) with -fdata-sections (Grant)


Index: binutils-ld_scripts.patch
===================================================================
RCS file: /cvsroot/mspgcc/packaging/patches/binutils-ld_scripts.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- binutils-ld_scripts.patch	26 May 2008 23:57:40 -0000	1.1
+++ binutils-ld_scripts.patch	29 May 2008 08:07:47 -0000	1.2
@@ -120,7 +120,7 @@
      ${RELOCATING+ PROVIDE (__data_start = .) ; }
      ${RELOCATING+. = ALIGN(2);}
      *(.data)
-+    *(.data.*)
++    *(SORT_BY_ALIGNMENT(.data.*))
      ${RELOCATING+. = ALIGN(2);}
      *(.gnu.linkonce.d*)
      ${RELOCATING+. = ALIGN(2);}
@@ -141,7 +141,7 @@
    {
      ${RELOCATING+ PROVIDE (__bss_start = .) ; }
      *(.bss)
-+    *(.bss.*)
++    *(SORT_BY_ALIGNMENT(.bss.*))
      *(COMMON)
      ${RELOCATING+ PROVIDE (__bss_end = .) ; }
      ${RELOCATING+ _end = . ;  }
@@ -267,7 +267,7 @@
    {  
      ${RELOCATING+ PROVIDE (__data_start = .) ; }
      *(.data)
-+    *(.data.*)
++    *(SORT_BY_ALIGNMENT(.data.*))
      *(.gnu.linkonce.d*)
      ${RELOCATING+. = ALIGN(2);}
      ${RELOCATING+ _edata = . ; }
@@ -281,7 +281,7 @@
    {
      ${RELOCATING+ PROVIDE (__bss_start = .) ; }
      *(.bss)
-+    *(.bss.*)
++    *(SORT_BY_ALIGNMENT(.bss.*))
      *(COMMON)
      ${RELOCATING+ PROVIDE (__bss_end = .) ; }
      ${RELOCATING+ _end = . ;  }
@@ -293,7 +293,7 @@
    {
      ${RELOCATING+ PROVIDE (__noinit_start = .) ; }
      *(.noinit)
-+    *(.noinit.*)
++    *(SORT_BY_ALIGNMENT(.noinit.*))
      *(COMMON)
      ${RELOCATING+ PROVIDE (__noinit_end = .) ; }
      ${RELOCATING+ _end = . ;  }


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/