ARM: avoid marking decompressor .stack section as having contents
The .stack section doesn't contain any contents, and doesn't require initialization either. Rather than marking the output section with 'NOLOAD' but still having it exist in the object files, mark it with %nobits which avoids the assembler marking the section with 'CONTENTS'. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
1142b71d85
commit
b0c4d4ee4e
2 changed files with 2 additions and 2 deletions
|
@ -1084,6 +1084,6 @@ memdump: mov r12, r0
|
||||||
reloc_end:
|
reloc_end:
|
||||||
|
|
||||||
.align
|
.align
|
||||||
.section ".stack", "w"
|
.section ".stack", "aw", %nobits
|
||||||
user_stack: .space 4096
|
user_stack: .space 4096
|
||||||
user_stack_end:
|
user_stack_end:
|
||||||
|
|
|
@ -57,7 +57,7 @@ SECTIONS
|
||||||
.bss : { *(.bss) }
|
.bss : { *(.bss) }
|
||||||
_end = .;
|
_end = .;
|
||||||
|
|
||||||
.stack (NOLOAD) : { *(.stack) }
|
.stack : { *(.stack) }
|
||||||
|
|
||||||
.stab 0 : { *(.stab) }
|
.stab 0 : { *(.stab) }
|
||||||
.stabstr 0 : { *(.stabstr) }
|
.stabstr 0 : { *(.stabstr) }
|
||||||
|
|
Loading…
Add table
Reference in a new issue