rename _end to __bss_end__

Currently, _end is used for end of BSS section.  We want _end to mean
end of u-boot image, so we rename _end to __bss_end__ first.

Signed-off-by: Po-Yu Chuang <ratbert@faraday-tech.com>
master
Po-Yu Chuang 14 years ago committed by Albert Aribaud
parent 55f7934d2b
commit 44c6e6591c
  1. 2
      arch/arm/cpu/arm1136/start.S
  2. 2
      arch/arm/cpu/arm1136/u-boot.lds
  3. 2
      arch/arm/cpu/arm1176/start.S
  4. 2
      arch/arm/cpu/arm1176/u-boot.lds
  5. 2
      arch/arm/cpu/arm720t/start.S
  6. 2
      arch/arm/cpu/arm720t/u-boot.lds
  7. 2
      arch/arm/cpu/arm920t/ep93xx/u-boot.lds
  8. 2
      arch/arm/cpu/arm920t/start.S
  9. 2
      arch/arm/cpu/arm920t/u-boot.lds
  10. 2
      arch/arm/cpu/arm925t/start.S
  11. 2
      arch/arm/cpu/arm925t/u-boot.lds
  12. 2
      arch/arm/cpu/arm926ejs/start.S
  13. 2
      arch/arm/cpu/arm926ejs/u-boot.lds
  14. 2
      arch/arm/cpu/arm946es/start.S
  15. 2
      arch/arm/cpu/arm946es/u-boot.lds
  16. 2
      arch/arm/cpu/arm_intcm/start.S
  17. 2
      arch/arm/cpu/arm_intcm/u-boot.lds
  18. 2
      arch/arm/cpu/armv7/start.S
  19. 2
      arch/arm/cpu/armv7/u-boot.lds
  20. 2
      arch/arm/cpu/ixp/start.S
  21. 2
      arch/arm/cpu/ixp/u-boot.lds
  22. 2
      arch/arm/cpu/lh7a40x/start.S
  23. 2
      arch/arm/cpu/lh7a40x/u-boot.lds
  24. 2
      arch/arm/cpu/pxa/start.S
  25. 2
      arch/arm/cpu/pxa/u-boot.lds
  26. 2
      arch/arm/cpu/s3c44b0/start.S
  27. 2
      arch/arm/cpu/s3c44b0/u-boot.lds
  28. 2
      arch/arm/cpu/sa1100/start.S
  29. 2
      arch/arm/cpu/sa1100/u-boot.lds
  30. 2
      arch/avr32/cpu/start.S
  31. 2
      arch/avr32/include/asm/sections.h
  32. 4
      arch/avr32/lib/board.c
  33. 4
      arch/m68k/lib/board.c
  34. 6
      arch/nios2/cpu/start.S
  35. 2
      arch/nios2/cpu/u-boot.lds
  36. 4
      arch/powerpc/cpu/74xx_7xx/start.S
  37. 2
      arch/powerpc/cpu/74xx_7xx/u-boot.lds
  38. 4
      arch/powerpc/cpu/mpc512x/start.S
  39. 2
      arch/powerpc/cpu/mpc512x/u-boot.lds
  40. 4
      arch/powerpc/cpu/mpc5xx/start.S
  41. 2
      arch/powerpc/cpu/mpc5xx/u-boot.lds
  42. 4
      arch/powerpc/cpu/mpc5xxx/start.S
  43. 2
      arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds
  44. 2
      arch/powerpc/cpu/mpc5xxx/u-boot.lds
  45. 4
      arch/powerpc/cpu/mpc8220/start.S
  46. 2
      arch/powerpc/cpu/mpc8220/u-boot.lds
  47. 4
      arch/powerpc/cpu/mpc824x/start.S
  48. 2
      arch/powerpc/cpu/mpc824x/u-boot.lds
  49. 4
      arch/powerpc/cpu/mpc8260/start.S
  50. 2
      arch/powerpc/cpu/mpc8260/u-boot.lds
  51. 4
      arch/powerpc/cpu/mpc83xx/start.S
  52. 2
      arch/powerpc/cpu/mpc83xx/u-boot.lds
  53. 4
      arch/powerpc/cpu/mpc85xx/start.S
  54. 2
      arch/powerpc/cpu/mpc85xx/u-boot-nand.lds
  55. 2
      arch/powerpc/cpu/mpc85xx/u-boot-nand_spl.lds
  56. 2
      arch/powerpc/cpu/mpc85xx/u-boot.lds
  57. 4
      arch/powerpc/cpu/mpc86xx/start.S
  58. 2
      arch/powerpc/cpu/mpc86xx/u-boot.lds
  59. 4
      arch/powerpc/cpu/mpc8xx/start.S
  60. 4
      arch/powerpc/cpu/ppc4xx/start.S
  61. 2
      arch/powerpc/cpu/ppc4xx/u-boot.lds
  62. 4
      arch/powerpc/lib/board.c
  63. 2
      arch/sh/cpu/sh2/u-boot.lds
  64. 2
      arch/sh/cpu/sh3/u-boot.lds
  65. 2
      arch/sh/cpu/sh4/u-boot.lds
  66. 2
      board/BuS/EB+MCF-EV123/u-boot.lds
  67. 2
      board/LEOX/elpt860/u-boot.lds
  68. 2
      board/LEOX/elpt860/u-boot.lds.debug
  69. 2
      board/RPXClassic/u-boot.lds
  70. 2
      board/RPXClassic/u-boot.lds.debug
  71. 2
      board/RPXlite/u-boot.lds
  72. 2
      board/RPXlite/u-boot.lds.debug
  73. 2
      board/RPXlite_dw/u-boot.lds
  74. 2
      board/RPXlite_dw/u-boot.lds.debug
  75. 2
      board/RRvision/u-boot.lds
  76. 2
      board/actux1/u-boot.lds
  77. 2
      board/actux2/u-boot.lds
  78. 2
      board/actux3/u-boot.lds
  79. 2
      board/adder/u-boot.lds
  80. 2
      board/altera/nios2-generic/u-boot.lds
  81. 2
      board/amcc/acadia/u-boot-nand.lds
  82. 2
      board/amcc/bamboo/u-boot-nand.lds
  83. 2
      board/amcc/canyonlands/u-boot-nand.lds
  84. 2
      board/amcc/kilauea/u-boot-nand.lds
  85. 2
      board/amcc/sequoia/u-boot-nand.lds
  86. 2
      board/amcc/sequoia/u-boot-ram.lds
  87. 2
      board/amirix/ap1000/u-boot.lds
  88. 2
      board/astro/mcf5373l/u-boot.lds
  89. 2
      board/atmel/atngw100/u-boot.lds
  90. 2
      board/atmel/atstk1000/u-boot.lds
  91. 2
      board/c2mon/u-boot.lds
  92. 2
      board/c2mon/u-boot.lds.debug
  93. 2
      board/cm5200/u-boot.lds
  94. 2
      board/cobra5272/u-boot.lds
  95. 2
      board/cogent/u-boot.lds
  96. 2
      board/cogent/u-boot.lds.debug
  97. 2
      board/cray/L1/u-boot.lds.debug
  98. 2
      board/dave/PPChameleonEVB/u-boot.lds
  99. 2
      board/earthlcd/favr-32-ezkit/u-boot.lds
  100. 2
      board/eltec/mhpc/u-boot.lds
  101. Some files were not shown because too many files have changed in this diff Show More

@ -102,7 +102,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -76,7 +76,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -121,7 +121,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
/* IRQ stack memory (calculated at run-time) + 8 bytes */
.globl IRQ_STACK_START_IN

@ -65,7 +65,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -91,7 +91,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -66,7 +66,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -55,5 +55,5 @@ SECTIONS
. = ALIGN(4);
__bss_start = .;
.bss : { *(.bss) }
_end = .;
__bss_end__ = .;
}

@ -87,7 +87,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -75,7 +75,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -97,7 +97,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -70,7 +70,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -131,7 +131,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -67,7 +67,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -103,7 +103,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -67,7 +67,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -99,7 +99,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -67,7 +67,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -79,7 +79,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -70,7 +70,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -110,7 +110,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -67,7 +67,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -87,7 +87,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -67,7 +67,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -104,7 +104,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -67,7 +67,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -78,7 +78,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -67,7 +67,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -88,7 +88,7 @@ _bss_start_ofs:
.globl _bss_end_ofs
_bss_end_ofs:
.word _end - _start
.word __bss_end__ - _start
#ifdef CONFIG_USE_IRQ
/* IRQ stack memory (calculated at run-time) */

@ -70,7 +70,7 @@ SECTIONS
__bss_start = .;
*(.bss)
. = ALIGN(4);
_end = .;
__bss_end__ = .;
}
/DISCARD/ : { *(.dynstr*) }

@ -244,7 +244,7 @@ relocate_code:
/* zero out .bss */
mov r0, 0
mov r1, 0
lda.w r9, _end
lda.w r9, __bss_end__
sub r9, r8
1: st.d r10++, r0
sub r9, 8

@ -27,6 +27,6 @@
extern char _text[], _etext[];
extern char _data[], __data_lma[], _edata[], __edata_lma[];
extern char __got_start[], __got_lma[], __got_end[];
extern char _end[];
extern char __bss_end__[];
#endif /* __ASM_AVR32_SECTIONS_H */

@ -118,7 +118,7 @@ static int display_banner (void)
printf ("\n\n%s\n\n", version_string);
printf ("U-Boot code: %08lx -> %08lx data: %08lx -> %08lx\n",
(unsigned long)_text, (unsigned long)_etext,
(unsigned long)_data, (unsigned long)_end);
(unsigned long)_data, (unsigned long)__bss_end__);
return 0;
}
@ -190,7 +190,7 @@ void board_init_f(ulong board_type)
* - stack
*/
addr = CONFIG_SYS_SDRAM_BASE + sdram_size;
monitor_len = _end - _text;
monitor_len = __bss_end__ - _text;
/*
* Reserve memory for u-boot code, data and bss.

@ -76,7 +76,7 @@ static char *failed = "*** failed ***\n";
#include <environment.h>
extern ulong __init_end;
extern ulong _end;
extern ulong __bss_end__;
extern void timer_init(void);
@ -252,7 +252,7 @@ board_init_f (ulong bootflag)
* - monitor code
* - board info struct
*/
len = (ulong)&_end - CONFIG_SYS_MONITOR_BASE;
len = (ulong)&__bss_end__ - CONFIG_SYS_MONITOR_BASE;
addr = CONFIG_SYS_SDRAM_BASE + gd->ram_size;

@ -100,12 +100,12 @@ _cur: movhi r5, %hi(_cur - _start)
3:
/* ZERO BSS/SBSS -- bss and sbss are assumed to be adjacent
* and between __bss_start and _end.
* and between __bss_start and __bss_end__.
*/
movhi r5, %hi(__bss_start)
ori r5, r5, %lo(__bss_start)
movhi r6, %hi(_end)
ori r6, r6, %lo(_end)
movhi r6, %hi(__bss_end__)
ori r6, r6, %lo(__bss_end__)
beq r5, r6, 5f
4: stwio r0, 0(r5)

@ -103,7 +103,7 @@ SECTIONS
*(.scommon)
}
. = ALIGN(4);
_end = .;
__bss_end__ = .;
PROVIDE (end = .);
/* DEBUG -- symbol table, string table, etc. etc.

@ -77,7 +77,7 @@
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
END_GOT
@ -722,7 +722,7 @@ in_ram:
* Now clear BSS segment
*/
lwz r3,GOT(__bss_start)
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
cmplw 0, r3, r4
beq 6f

@ -87,6 +87,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -79,7 +79,7 @@
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
END_GOT
@ -626,7 +626,7 @@ clear_bss:
* Now clear BSS segment
*/
lwz r3,GOT(__bss_start)
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
cmplw 0, r3, r4
beq 6f

@ -82,7 +82,7 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}
ENTRY(_start)

@ -70,7 +70,7 @@
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
END_GOT
@ -466,7 +466,7 @@ clear_bss:
* Now clear BSS segment
*/
lwz r3,GOT(__bss_start)
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
cmplw 0, r3, r4
beq 6f

@ -91,7 +91,7 @@ SECTIONS
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
. = env_start;
.ppcenv :

@ -70,7 +70,7 @@
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
END_GOT
@ -681,7 +681,7 @@ clear_bss:
* Now clear BSS segment
*/
lwz r3,GOT(__bss_start)
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
cmplw 0, r3, r4
beq 6f

@ -91,6 +91,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -85,6 +85,6 @@ SECTIONS
*(.sbss*)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -69,7 +69,7 @@
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
END_GOT
@ -654,7 +654,7 @@ clear_bss:
* Now clear BSS segment
*/
lwz r3,GOT(__bss_start)
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
cmplw 0, r3, r4
beq 6f

@ -84,6 +84,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -77,7 +77,7 @@
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
#if defined(CONFIG_FADS)
GOT_ENTRY(environment)
@ -596,7 +596,7 @@ clear_bss:
* Now clear BSS segment
*/
lwz r3,GOT(__bss_start)
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
cmplw 0, r3, r4
beq 6f

@ -85,6 +85,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -70,7 +70,7 @@
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
#if defined(CONFIG_HYMOD)
GOT_ENTRY(environment)
@ -927,7 +927,7 @@ clear_bss:
*/
lwz r4,GOT(environment)
#else
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
#endif
cmplw 0, r3, r4

@ -84,6 +84,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -72,7 +72,7 @@
START_GOT
GOT_ENTRY(_GOT2_TABLE_)
GOT_ENTRY(__bss_start)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
#ifndef CONFIG_NAND_SPL
GOT_ENTRY(_FIXUP_TABLE_)
@ -977,7 +977,7 @@ clear_bss:
*/
lwz r4,GOT(environment)
#else
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
#endif
cmplw 0, r3, r4

@ -83,7 +83,7 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}
ENTRY(_start)

@ -66,7 +66,7 @@
#endif
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
END_GOT
@ -1050,7 +1050,7 @@ clear_bss:
* Now clear BSS segment
*/
lwz r3,GOT(__bss_start)
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
cmplw 0,r3,r4
beq 6f

@ -101,6 +101,6 @@ SECTIONS
} :bss
. = ALIGN(4);
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -62,6 +62,6 @@ SECTIONS
*(.sbss*)
*(.bss*)
}
_end = .;
__bss_end__ = .;
}
ASSERT(__init_end <= 0xfff00ffc, "NAND bootstrap too big");

@ -125,6 +125,6 @@ SECTIONS
} :bss
. = ALIGN(4);
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -66,7 +66,7 @@
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
END_GOT
@ -740,7 +740,7 @@ in_ram:
* Now clear BSS segment
*/
lwz r3,GOT(__bss_start)
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
cmplw 0, r3, r4
beq 6f

@ -88,6 +88,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -77,7 +77,7 @@
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
END_GOT
@ -597,7 +597,7 @@ clear_bss:
* Now clear BSS segment
*/
lwz r3,GOT(__bss_start)
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
cmplw 0, r3, r4
beq 6f

@ -248,7 +248,7 @@
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_end__)
GOT_ENTRY(__bss_start)
END_GOT
#endif /* CONFIG_NAND_SPL */
@ -1624,7 +1624,7 @@ clear_bss:
* Now clear BSS segment
*/
lwz r3,GOT(__bss_start)
lwz r4,GOT(_end)
lwz r4,GOT(__bss_end__)
cmplw 0, r3, r4
beq 7f

@ -140,6 +140,6 @@ SECTIONS
} :bss
. = ALIGN(4);
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -123,7 +123,7 @@ DECLARE_GLOBAL_DATA_PTR;
#endif
extern ulong __init_end;
extern ulong _end;
extern ulong __bss_end__;
ulong monitor_flash_len;
#if defined(CONFIG_CMD_BEDBUG)
@ -403,7 +403,7 @@ void board_init_f (ulong bootflag)
* - monitor code
* - board info struct
*/
len = (ulong)&_end - CONFIG_SYS_MONITOR_BASE;
len = (ulong)&__bss_end__ - CONFIG_SYS_MONITOR_BASE;
/*
* Subtract specified amount of memory to hide so that it won't

@ -91,5 +91,5 @@ SECTIONS
}
PROVIDE (bss_end = .);
PROVIDE (_end = .);
PROVIDE (__bss_end__ = .);
}

@ -98,5 +98,5 @@ SECTIONS
}
PROVIDE (bss_end = .);
PROVIDE (_end = .);
PROVIDE (__bss_end__ = .);
}

@ -95,5 +95,5 @@ SECTIONS
}
PROVIDE (bss_end = .);
PROVIDE (_end = .);
PROVIDE (__bss_end__ = .);
}

@ -134,6 +134,6 @@ SECTIONS
. = ALIGN(4);
_ebss = .;
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -109,6 +109,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -134,6 +134,6 @@ SECTIONS
*(.bss)
*(COMMON)
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -90,6 +90,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -130,6 +130,6 @@ SECTIONS
*(.bss)
*(COMMON)
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -90,6 +90,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -130,6 +130,6 @@ SECTIONS
*(.bss)
*(COMMON)
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -90,6 +90,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -130,6 +130,6 @@ SECTIONS
*(.bss)
*(COMMON)
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -95,6 +95,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -66,5 +66,5 @@ SECTIONS
*(.bss)
. = ALIGN(4);
}
_end =.;
__bss_end__ =.;
}

@ -71,5 +71,5 @@ SECTIONS
*(.bss)
. = ALIGN(4);
}
_end =.;
__bss_end__ =.;
}

@ -71,5 +71,5 @@ SECTIONS
*(.bss)
. = ALIGN(4);
}
_end =.;
__bss_end__ =.;
}

@ -86,7 +86,7 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}
ENTRY(_start)

@ -104,7 +104,7 @@ SECTIONS
*(.scommon)
}
. = ALIGN(4);
_end = .;
__bss_end__ = .;
PROVIDE (end = .);
/* DEBUG -- symbol table, string table, etc. etc.

@ -98,6 +98,6 @@ SECTIONS
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -99,6 +99,6 @@ SECTIONS
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -99,6 +99,6 @@ SECTIONS
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -98,6 +98,6 @@ SECTIONS
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -99,6 +99,6 @@ SECTIONS
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -90,6 +90,6 @@ SECTIONS
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -90,6 +90,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -137,6 +137,6 @@ SECTIONS
. = ALIGN(4);
_ebss = .;
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -68,5 +68,5 @@ SECTIONS
*(.bss.*)
}
. = ALIGN(8);
_end = .;
__bss_end__ = .;
}

@ -68,5 +68,5 @@ SECTIONS
*(.bss.*)
}
. = ALIGN(8);
_end = .;
__bss_end__ = .;
}

@ -98,6 +98,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -130,6 +130,6 @@ SECTIONS
*(.bss)
*(COMMON)
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -115,6 +115,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -137,6 +137,6 @@ SECTIONS
. = ALIGN(4);
_ebss = .;
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -94,6 +94,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -130,6 +130,6 @@ SECTIONS
*(.bss)
*(COMMON)
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -130,6 +130,6 @@ SECTIONS
*(.bss)
*(COMMON)
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -123,6 +123,6 @@ SECTIONS
} :bss
. = ALIGN(4);
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

@ -66,5 +66,5 @@ SECTIONS
*(.bss.*)
}
. = ALIGN(8);
_end = .;
__bss_end__ = .;
}

@ -90,6 +90,6 @@ SECTIONS
*(COMMON)
. = ALIGN(4);
}
_end = . ;
__bss_end__ = . ;
PROVIDE (end = .);
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save