data-segment Questions
1
Solved
Recently,I learned that the .bss segment stores uninitialized data. However, when I try a small program as below and use size(1) command in terminal, the .bss segment didn't change, even if I add s...
Suspiration asked 9/12, 2017 at 10:30
6
Solved
What I know is that global and static variables are stored in the .data segment, and uninitialized data are in the .bss segment. What I don't understand is why do we have dedicated segment for unin...
Chapman asked 2/3, 2012 at 14:51
2
Solved
In short, when I have multiple db sections in my .data section, the compiled addresses/labels are off when compiled by NASM. In my testing they are off by 256 bytes in the resulting Mach-O binary.
...
Aphoristic asked 9/9, 2015 at 0:27
3
I read that it depends on the compiler and operating system architecture. How do I find out the data segment and stack max size on a Linux system using GCC as compiler?
Sperrylite asked 12/9, 2015 at 18:3
4
Solved
In one of the answers to the question "Regarding the bss segment and data segment in Unix", I see the explanation on bss as follows:
Bss is special: .bss objects don't take any space in ...
Osseous asked 9/10, 2012 at 10:52
1
© 2022 - 2024 — McMap. All rights reserved.