]> git.saurik.com Git - apple/ld64.git/blob - ld64-134.9/unit-tests/test-cases/stack_size_no_addr/comment.txt
5933975b5e593336ba4e3e26885d7e41c0865aff
[apple/ld64.git] / ld64-134.9 / unit-tests / test-cases / stack_size_no_addr / comment.txt
1 Test the ld commands -stack_addr, -stack_size
2
3
4 -stack_addr value
5 Specifies the initial address of the stack pointer value, where value is a hexadecimal number rounded to the segment alignment. The default segment alignment is the target pagesize (currently, 1000 hexadecimal for the PowerPC and for i386). If -stack_size is specified and -stack_addr is not, a default stack address specific for the architecture being linked will be used and its value printed as a warning message. This creates a segment named __UNIXSTACK. Note that the initial stack address will be either at the high address of the segment or the low address of the segment depending on which direction the stack grows for the architecture being linked.
6
7
8 -stack_size value
9 Specifies the size of the stack segment value, where value is a hexadecimal number rounded to the segment alignment. The default segment alignment is the target pagesize (currently, 1000 hexadecimal for the PowerPC and for i386). If -stack_addr is specified and -stack_size is not, a default stack size specific for the architecture being linked will be used and its value printed as a warning message. This creates a segment named __UNIXSTACK .
10
11