diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-09-12 07:02:26 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-12 07:02:26 -0400 |
commit | ddd559b13f6d2fe3ad68c4b3f5235fd3c2eae4e3 (patch) | |
tree | d827bca3fc825a0ac33efbcd493713be40fcc812 /include/asm-generic/vmlinux.lds.h | |
parent | cf7a2b4fb6a9b86779930a0a123b0df41aa9208f (diff) | |
parent | f17a1f06d2fa93f4825be572622eb02c4894db4e (diff) |
Merge branch 'devel-stable' into devel
Conflicts:
MAINTAINERS
arch/arm/mm/fault.c
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index a553f1041cf1..6ad76bf5fb40 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -30,9 +30,7 @@ | |||
30 | * EXCEPTION_TABLE(...) | 30 | * EXCEPTION_TABLE(...) |
31 | * NOTES | 31 | * NOTES |
32 | * | 32 | * |
33 | * __bss_start = .; | 33 | * BSS_SECTION(0, 0, 0) |
34 | * BSS_SECTION(0, 0) | ||
35 | * __bss_stop = .; | ||
36 | * _end = .; | 34 | * _end = .; |
37 | * | 35 | * |
38 | * /DISCARD/ : { | 36 | * /DISCARD/ : { |
@@ -489,7 +487,8 @@ | |||
489 | * bss (Block Started by Symbol) - uninitialized data | 487 | * bss (Block Started by Symbol) - uninitialized data |
490 | * zeroed during startup | 488 | * zeroed during startup |
491 | */ | 489 | */ |
492 | #define SBSS \ | 490 | #define SBSS(sbss_align) \ |
491 | . = ALIGN(sbss_align); \ | ||
493 | .sbss : AT(ADDR(.sbss) - LOAD_OFFSET) { \ | 492 | .sbss : AT(ADDR(.sbss) - LOAD_OFFSET) { \ |
494 | *(.sbss) \ | 493 | *(.sbss) \ |
495 | *(.scommon) \ | 494 | *(.scommon) \ |
@@ -498,12 +497,10 @@ | |||
498 | #define BSS(bss_align) \ | 497 | #define BSS(bss_align) \ |
499 | . = ALIGN(bss_align); \ | 498 | . = ALIGN(bss_align); \ |
500 | .bss : AT(ADDR(.bss) - LOAD_OFFSET) { \ | 499 | .bss : AT(ADDR(.bss) - LOAD_OFFSET) { \ |
501 | VMLINUX_SYMBOL(__bss_start) = .; \ | ||
502 | *(.bss.page_aligned) \ | 500 | *(.bss.page_aligned) \ |
503 | *(.dynbss) \ | 501 | *(.dynbss) \ |
504 | *(.bss) \ | 502 | *(.bss) \ |
505 | *(COMMON) \ | 503 | *(COMMON) \ |
506 | VMLINUX_SYMBOL(__bss_stop) = .; \ | ||
507 | } | 504 | } |
508 | 505 | ||
509 | /* | 506 | /* |
@@ -735,8 +732,10 @@ | |||
735 | INIT_RAM_FS \ | 732 | INIT_RAM_FS \ |
736 | } | 733 | } |
737 | 734 | ||
738 | #define BSS_SECTION(sbss_align, bss_align) \ | 735 | #define BSS_SECTION(sbss_align, bss_align, stop_align) \ |
739 | SBSS \ | 736 | . = ALIGN(sbss_align); \ |
737 | VMLINUX_SYMBOL(__bss_start) = .; \ | ||
738 | SBSS(sbss_align) \ | ||
740 | BSS(bss_align) \ | 739 | BSS(bss_align) \ |
741 | . = ALIGN(4); | 740 | . = ALIGN(stop_align); \ |
742 | 741 | VMLINUX_SYMBOL(__bss_stop) = .; | |