Procházet zdrojové kódy

Refactor linker-generated arrays

Refactor linker-generated array code so that symbols
which were previously linker-generated are now compiler-
generated. This causes relocation records of type
R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
code which uses LGA able to run before relocation as
well as after.

Note: this affects more than ARM targets, as linker-
lists span possibly all target architectures, notably
PowerPC.

Conflicts:
	arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
	arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
	arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
	board/ait/cam_enc_4xx/u-boot-spl.lds
	board/davinci/da8xxevm/u-boot-spl-da850evm.lds
	board/davinci/da8xxevm/u-boot-spl-hawk.lds
	board/vpac270/u-boot-spl.lds

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Albert ARIBAUD před 11 roky
rodič
revize
ef123c5253
100 změnil soubory, kde provedl 101 přidání a 109 odebrání
  1. 0 1
      .gitignore
  2. 3 10
      Makefile
  3. 1 1
      arch/arm/cpu/arm920t/ep93xx/u-boot.lds
  4. 1 1
      arch/arm/cpu/armv7/am33xx/u-boot-spl.lds
  5. 1 1
      arch/arm/cpu/ixp/u-boot.lds
  6. 1 1
      arch/arm/cpu/u-boot.lds
  7. 1 1
      arch/avr32/cpu/u-boot.lds
  8. 1 1
      arch/blackfin/cpu/u-boot.lds
  9. 1 1
      arch/microblaze/cpu/u-boot.lds
  10. 1 1
      arch/mips/cpu/u-boot.lds
  11. 1 1
      arch/nds32/cpu/n1213/u-boot.lds
  12. 1 1
      arch/nios2/cpu/u-boot.lds
  13. 1 1
      arch/powerpc/cpu/74xx_7xx/u-boot.lds
  14. 1 1
      arch/powerpc/cpu/mpc512x/u-boot.lds
  15. 1 1
      arch/powerpc/cpu/mpc5xx/u-boot.lds
  16. 1 1
      arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds
  17. 1 1
      arch/powerpc/cpu/mpc5xxx/u-boot.lds
  18. 1 1
      arch/powerpc/cpu/mpc8220/u-boot.lds
  19. 1 1
      arch/powerpc/cpu/mpc824x/u-boot.lds
  20. 1 1
      arch/powerpc/cpu/mpc8260/u-boot.lds
  21. 1 1
      arch/powerpc/cpu/mpc83xx/u-boot.lds
  22. 1 1
      arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
  23. 1 1
      arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds
  24. 1 1
      arch/powerpc/cpu/mpc85xx/u-boot.lds
  25. 1 1
      arch/powerpc/cpu/mpc86xx/u-boot.lds
  26. 1 1
      arch/powerpc/cpu/ppc4xx/u-boot.lds
  27. 1 1
      arch/sandbox/cpu/u-boot.lds
  28. 1 1
      arch/sh/cpu/sh2/u-boot.lds
  29. 1 1
      arch/sh/cpu/sh3/u-boot.lds
  30. 1 1
      arch/sh/cpu/sh4/u-boot.lds
  31. 1 1
      arch/x86/cpu/u-boot.lds
  32. 1 1
      board/BuS/eb_cpu5282/u-boot.lds
  33. 1 1
      board/LEOX/elpt860/u-boot.lds
  34. 1 1
      board/RPXClassic/u-boot.lds
  35. 1 1
      board/RPXClassic/u-boot.lds.debug
  36. 1 1
      board/RPXlite/u-boot.lds
  37. 1 1
      board/RPXlite/u-boot.lds.debug
  38. 1 1
      board/RPXlite_dw/u-boot.lds
  39. 1 1
      board/RPXlite_dw/u-boot.lds.debug
  40. 1 1
      board/RRvision/u-boot.lds
  41. 1 1
      board/actux1/u-boot.lds
  42. 1 1
      board/actux2/u-boot.lds
  43. 1 1
      board/actux3/u-boot.lds
  44. 1 1
      board/adder/u-boot.lds
  45. 1 1
      board/altera/nios2-generic/u-boot.lds
  46. 1 1
      board/amcc/acadia/u-boot-nand.lds
  47. 1 1
      board/amcc/bamboo/u-boot-nand.lds
  48. 1 1
      board/amcc/canyonlands/u-boot-nand.lds
  49. 1 1
      board/amcc/kilauea/u-boot-nand.lds
  50. 1 1
      board/amcc/sequoia/u-boot-nand.lds
  51. 1 1
      board/amcc/sequoia/u-boot-ram.lds
  52. 1 1
      board/astro/mcf5373l/u-boot.lds
  53. 1 1
      board/cobra5272/u-boot.lds
  54. 1 1
      board/cogent/u-boot.lds
  55. 1 1
      board/cogent/u-boot.lds.debug
  56. 1 1
      board/cray/L1/u-boot.lds.debug
  57. 1 1
      board/dave/PPChameleonEVB/u-boot.lds
  58. 1 1
      board/dvlhost/u-boot.lds
  59. 1 1
      board/eltec/mhpc/u-boot.lds
  60. 1 1
      board/eltec/mhpc/u-boot.lds.debug
  61. 1 1
      board/emk/top860/u-boot.lds
  62. 1 1
      board/ep88x/u-boot.lds
  63. 1 1
      board/esd/dasa_sim/u-boot.lds
  64. 1 1
      board/esd/pmc440/u-boot-nand.lds
  65. 1 1
      board/esd/tasreg/u-boot.lds
  66. 1 1
      board/esteem192e/u-boot.lds
  67. 1 1
      board/evb64260/u-boot.lds
  68. 1 1
      board/fads/u-boot.lds
  69. 1 1
      board/flagadm/u-boot.lds
  70. 1 1
      board/flagadm/u-boot.lds.debug
  71. 1 1
      board/freescale/m5208evbe/u-boot.lds
  72. 1 1
      board/freescale/m52277evb/u-boot.lds
  73. 1 1
      board/freescale/m5235evb/u-boot.lds
  74. 1 1
      board/freescale/m5249evb/u-boot.lds
  75. 1 1
      board/freescale/m5253demo/u-boot.lds
  76. 1 1
      board/freescale/m5253evbe/u-boot.lds
  77. 1 1
      board/freescale/m5271evb/u-boot.lds
  78. 1 1
      board/freescale/m5272c3/u-boot.lds
  79. 1 1
      board/freescale/m5275evb/u-boot.lds
  80. 1 1
      board/freescale/m5282evb/u-boot.lds
  81. 1 1
      board/freescale/m53017evb/u-boot.lds
  82. 1 1
      board/freescale/m5329evb/u-boot.lds
  83. 1 1
      board/freescale/m5373evb/u-boot.lds
  84. 1 1
      board/freescale/m54418twr/u-boot.lds
  85. 1 1
      board/freescale/m54451evb/u-boot.lds
  86. 1 1
      board/freescale/m54455evb/u-boot.lds
  87. 1 1
      board/freescale/m547xevb/u-boot.lds
  88. 1 1
      board/freescale/m548xevb/u-boot.lds
  89. 1 1
      board/freescale/mx31ads/u-boot.lds
  90. 1 1
      board/gaisler/gr_cpci_ax2000/u-boot.lds
  91. 1 1
      board/gaisler/gr_ep2s60/u-boot.lds
  92. 1 1
      board/gaisler/gr_xc3s_1500/u-boot.lds
  93. 1 1
      board/gaisler/grsim/u-boot.lds
  94. 1 1
      board/gaisler/grsim_leon2/u-boot.lds
  95. 1 1
      board/gen860t/u-boot-flashenv.lds
  96. 1 1
      board/gen860t/u-boot.lds
  97. 1 1
      board/genietv/u-boot.lds
  98. 1 1
      board/genietv/u-boot.lds.debug
  99. 1 1
      board/hermes/u-boot.lds
  100. 1 1
      board/hermes/u-boot.lds.debug

+ 0 - 1
.gitignore

@@ -44,7 +44,6 @@
 /u-boot.dtb
 /u-boot.sb
 /u-boot.geany
-/include/u-boot.lst
 
 #
 # Generated files

+ 3 - 10
Makefile

@@ -556,10 +556,8 @@ GEN_UBOOT = \
 			$(PLATFORM_LIBS) -Wl,-Map -Wl,u-boot.map -o u-boot
 else
 GEN_UBOOT = \
-		UNDEF_LST=`$(OBJDUMP) -x $(LIBBOARD) $(LIBS) | \
-		sed  -n -e 's/.*\($(SYM_PREFIX)_u_boot_list_.*\)/-u\1/p'|sort|uniq`;\
 		cd $(LNDIR) && $(LD) $(LDFLAGS) $(LDFLAGS_$(@F)) \
-			$$UNDEF_LST $(__OBJS) \
+			$(__OBJS) \
 			--start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
 			-Map u-boot.map -o u-boot
 endif
@@ -592,11 +590,7 @@ $(SUBDIR_EXAMPLES): $(obj)u-boot
 $(LDSCRIPT):	depend
 		$(MAKE) -C $(dir $@) $(notdir $@)
 
-# The following line expands into whole rule which generates u-boot.lst,
-# the file containing u-boots LG-array linker section. This is included into
-# $(LDSCRIPT). The function make_u_boot_list is defined in helper.mk file.
-$(eval $(call make_u_boot_list, $(obj)include/u-boot.lst, $(LIBBOARD) $(LIBS)))
-$(obj)u-boot.lds: $(LDSCRIPT) $(obj)include/u-boot.lst
+$(obj)u-boot.lds: $(LDSCRIPT)
 		$(CPP) $(CPPFLAGS) $(LDPPFLAGS) -ansi -D__ASSEMBLY__ -P - <$< >$@
 
 nand_spl:	$(TIMESTAMP_FILE) $(VERSION_FILE) depend
@@ -832,7 +826,6 @@ clean:
 	       $(obj)board/matrix_vision/*/bootscript.img		  \
 	       $(obj)board/voiceblue/eeprom 				  \
 	       $(obj)u-boot.lds						  \
-	       $(obj)include/u-boot.lst			  		  \
 	       $(obj)arch/blackfin/cpu/bootrom-asm-offsets.[chs]	  \
 	       $(obj)arch/blackfin/cpu/init.{lds,elf}
 	@rm -f $(obj)include/bmp_logo.h
@@ -870,7 +863,7 @@ clobber:	tidy
 	@rm -f $(obj)nand_spl/{u-boot.{lds,lst},System.map}
 	@rm -f $(obj)nand_spl/{u-boot-nand_spl.lds,u-boot-spl,u-boot-spl.map}
 	@rm -f $(obj)spl/{u-boot-spl,u-boot-spl.bin,u-boot-spl.map}
-	@rm -f $(obj)spl/{u-boot-spl.lds,u-boot.lst}
+	@rm -f $(obj)spl/u-boot-spl.lds
 	@rm -f $(obj)MLO MLO.byteswap
 	@rm -f $(obj)SPL
 	@rm -f $(obj)tools/xway-swap-bytes

+ 1 - 1
arch/arm/cpu/arm920t/ep93xx/u-boot.lds

@@ -51,7 +51,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN(4);

+ 1 - 1
arch/arm/cpu/armv7/am33xx/u-boot-spl.lds

@@ -49,7 +49,7 @@ SECTIONS
 	.data : { *(SORT_BY_ALIGNMENT(.data*)) } >.sram
 
 	.u_boot_list : {
-		#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	} >.sram
 
 	. = ALIGN(4);

+ 1 - 1
arch/arm/cpu/ixp/u-boot.lds

@@ -49,7 +49,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN(4);

+ 1 - 1
arch/arm/cpu/u-boot.lds

@@ -52,7 +52,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN(4);

+ 1 - 1
arch/avr32/cpu/u-boot.lds

@@ -50,7 +50,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN(4);

+ 1 - 1
arch/blackfin/cpu/u-boot.lds

@@ -114,7 +114,7 @@ SECTIONS
 
 
 	.u_boot_list : {
-		#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	} >ram_data
 
 	.text_l1 :

+ 1 - 1
arch/microblaze/cpu/u-boot.lds

@@ -54,7 +54,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-		#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	.bss ALIGN(0x4):

+ 1 - 1
arch/mips/cpu/u-boot.lds

@@ -64,7 +64,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-		#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN(4);

+ 1 - 1
arch/nds32/cpu/n1213/u-boot.lds

@@ -55,7 +55,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN(4);

+ 1 - 1
arch/nios2/cpu/u-boot.lds

@@ -48,7 +48,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	/* INIT DATA sections - "Small" data (see the gcc -G option)

+ 1 - 1
arch/powerpc/cpu/74xx_7xx/u-boot.lds

@@ -65,7 +65,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
arch/powerpc/cpu/mpc512x/u-boot.lds

@@ -60,7 +60,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
arch/powerpc/cpu/mpc5xx/u-boot.lds

@@ -68,7 +68,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds

@@ -68,7 +68,7 @@ SECTIONS
   . = .;
 
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
arch/powerpc/cpu/mpc5xxx/u-boot.lds

@@ -63,7 +63,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
arch/powerpc/cpu/mpc8220/u-boot.lds

@@ -62,7 +62,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
arch/powerpc/cpu/mpc824x/u-boot.lds

@@ -63,7 +63,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
arch/powerpc/cpu/mpc8260/u-boot.lds

@@ -62,7 +62,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
arch/powerpc/cpu/mpc83xx/u-boot.lds

@@ -61,7 +61,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
arch/powerpc/cpu/mpc85xx/u-boot-nand.lds

@@ -72,7 +72,7 @@ SECTIONS
   . = .;
 
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds

@@ -54,7 +54,7 @@ SECTIONS
 	_edata  =  .;
 
 	.u_boot_list : {
-		#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN(8);

+ 1 - 1
arch/powerpc/cpu/mpc85xx/u-boot.lds

@@ -80,7 +80,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
arch/powerpc/cpu/mpc86xx/u-boot.lds

@@ -67,7 +67,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
arch/powerpc/cpu/ppc4xx/u-boot.lds

@@ -81,7 +81,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
arch/sandbox/cpu/u-boot.lds

@@ -27,7 +27,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	__u_boot_sandbox_option_start = .;

+ 1 - 1
arch/sh/cpu/sh2/u-boot.lds

@@ -74,7 +74,7 @@ SECTIONS
 
 
 	.u_boot_list : {
-		#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	PROVIDE (reloc_dst_end = .);

+ 1 - 1
arch/sh/cpu/sh3/u-boot.lds

@@ -80,7 +80,7 @@ SECTIONS
 
 
 	.u_boot_list : {
-		#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	PROVIDE (reloc_dst_end = .);

+ 1 - 1
arch/sh/cpu/sh4/u-boot.lds

@@ -77,7 +77,7 @@ SECTIONS
 
 
 	.u_boot_list : {
-		#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	PROVIDE (reloc_dst_end = .);

+ 1 - 1
arch/x86/cpu/u-boot.lds

@@ -36,7 +36,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN(4);

+ 1 - 1
board/BuS/eb_cpu5282/u-boot.lds

@@ -68,7 +68,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/LEOX/elpt860/u-boot.lds

@@ -89,7 +89,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/RPXClassic/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/RPXClassic/u-boot.lds.debug

@@ -109,7 +109,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/RPXlite/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/RPXlite/u-boot.lds.debug

@@ -109,7 +109,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/RPXlite_dw/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/RPXlite_dw/u-boot.lds.debug

@@ -109,7 +109,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/RRvision/u-boot.lds

@@ -74,7 +74,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/actux1/u-boot.lds

@@ -57,7 +57,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN (4);

+ 1 - 1
board/actux2/u-boot.lds

@@ -57,7 +57,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN (4);

+ 1 - 1
board/actux3/u-boot.lds

@@ -57,7 +57,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN (4);

+ 1 - 1
board/adder/u-boot.lds

@@ -65,7 +65,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/altera/nios2-generic/u-boot.lds

@@ -49,7 +49,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	/* INIT DATA sections - "Small" data (see the gcc -G option)

+ 1 - 1
board/amcc/acadia/u-boot-nand.lds

@@ -74,7 +74,7 @@ SECTIONS
   . = .;
 
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/amcc/bamboo/u-boot-nand.lds

@@ -75,7 +75,7 @@ SECTIONS
   . = .;
 
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/amcc/canyonlands/u-boot-nand.lds

@@ -75,7 +75,7 @@ SECTIONS
   . = .;
 
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/amcc/kilauea/u-boot-nand.lds

@@ -74,7 +74,7 @@ SECTIONS
   . = .;
 
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/amcc/sequoia/u-boot-nand.lds

@@ -75,7 +75,7 @@ SECTIONS
   . = .;
 
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/amcc/sequoia/u-boot-ram.lds

@@ -66,7 +66,7 @@ SECTIONS
   . = .;
 
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/astro/mcf5373l/u-boot.lds

@@ -72,7 +72,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/cobra5272/u-boot.lds

@@ -71,7 +71,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/cogent/u-boot.lds

@@ -73,7 +73,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/cogent/u-boot.lds.debug

@@ -109,7 +109,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/cray/L1/u-boot.lds.debug

@@ -109,7 +109,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/dave/PPChameleonEVB/u-boot.lds

@@ -77,7 +77,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/dvlhost/u-boot.lds

@@ -57,7 +57,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN (4);

+ 1 - 1
board/eltec/mhpc/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/eltec/mhpc/u-boot.lds.debug

@@ -109,7 +109,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/emk/top860/u-boot.lds

@@ -70,7 +70,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/ep88x/u-boot.lds

@@ -65,7 +65,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/esd/dasa_sim/u-boot.lds

@@ -76,7 +76,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/esd/pmc440/u-boot-nand.lds

@@ -104,7 +104,7 @@ SECTIONS
   . = .;
 
   .u_boot_list : {
-		#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/esd/tasreg/u-boot.lds

@@ -68,7 +68,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/esteem192e/u-boot.lds

@@ -77,7 +77,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/evb64260/u-boot.lds

@@ -73,7 +73,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/fads/u-boot.lds

@@ -71,7 +71,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/flagadm/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/flagadm/u-boot.lds.debug

@@ -109,7 +109,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/freescale/m5208evbe/u-boot.lds

@@ -72,7 +72,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m52277evb/u-boot.lds

@@ -71,7 +71,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m5235evb/u-boot.lds

@@ -71,7 +71,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m5249evb/u-boot.lds

@@ -71,7 +71,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m5253demo/u-boot.lds

@@ -72,7 +72,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m5253evbe/u-boot.lds

@@ -71,7 +71,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m5271evb/u-boot.lds

@@ -71,7 +71,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m5272c3/u-boot.lds

@@ -71,7 +71,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m5275evb/u-boot.lds

@@ -71,7 +71,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m5282evb/u-boot.lds

@@ -71,7 +71,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m53017evb/u-boot.lds

@@ -74,7 +74,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m5329evb/u-boot.lds

@@ -72,7 +72,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m5373evb/u-boot.lds

@@ -72,7 +72,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m54418twr/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m54451evb/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m54455evb/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m547xevb/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/m548xevb/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/freescale/mx31ads/u-boot.lds

@@ -60,7 +60,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	. = ALIGN(4);

+ 1 - 1
board/gaisler/gr_cpci_ax2000/u-boot.lds

@@ -88,7 +88,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	.data	:

+ 1 - 1
board/gaisler/gr_ep2s60/u-boot.lds

@@ -88,7 +88,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	.data	:

+ 1 - 1
board/gaisler/gr_xc3s_1500/u-boot.lds

@@ -88,7 +88,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	.data	:

+ 1 - 1
board/gaisler/grsim/u-boot.lds

@@ -87,7 +87,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	.data	:

+ 1 - 1
board/gaisler/grsim_leon2/u-boot.lds

@@ -87,7 +87,7 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-	#include <u-boot.lst>
+		KEEP(*(SORT(.u_boot_list*)));
 	}
 
 	.data	:

+ 1 - 1
board/gen860t/u-boot-flashenv.lds

@@ -73,7 +73,7 @@ SECTIONS
   . = .;
 
   .u_boot_list : {
-		#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
   . = .;

+ 1 - 1
board/gen860t/u-boot.lds

@@ -74,7 +74,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/genietv/u-boot.lds

@@ -83,7 +83,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/genietv/u-boot.lds.debug

@@ -110,7 +110,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/hermes/u-boot.lds

@@ -75,7 +75,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

+ 1 - 1
board/hermes/u-boot.lds.debug

@@ -109,7 +109,7 @@ SECTIONS
 
   . = ALIGN(4);
   .u_boot_list : {
-	#include <u-boot.lst>
+	KEEP(*(SORT(.u_boot_list*)));
   }
 
 

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů