Where your statics go depends on whether they are zero-initialized. zero-initialized static data goes in .BSS (Block Started by Symbol), non-zero-initialized data goes in .DATA
More Related Contents:
- What’s the difference between __PRETTY_FUNCTION__, __FUNCTION__, __func__?
- What is special about numbers starting with zero?
- Best compiler warning level for C/C++ compilers? [closed]
- Can placement new for arrays be used in a portable way?
- What does it mean when a numeric constant in C/C++ is prefixed with a 0?
- Qt: can’t find -lGL error
- Do unused functions get optimized out?
- How to create a static library with g++?
- Why does C need “struct” keyword and not C++?
- Unexpected order of evaluation (compiler bug?) [duplicate]
- Can I separate C++ main function and classes from Objective-C and/or C routines at compile and link?
- Atomic operations, std::atomic and ordering of writes
- Compile-time assertion?
- Why don’t the C or C++ standards explicitly define char as signed or unsigned?
- Template within template: why “`>>’ should be `> >’ within a nested template argument list”
- What do C and Assembler actually compile to? [closed]
- Understanding return value optimization and returning temporaries – C++
- what is/are the purpose(s) of inline?
- Declaring and initializing a variable in a Conditional or Control statement in C++
- Portability of #warning preprocessor directive
- Update GCC on OSX
- Automatically adding Enter/Exit Function Logs to a Project
- Understanding stack frame of function call in C/C++? [closed]
- What issues can I expect compiling C code with a C++ compiler?
- Template instantiation details of GCC and MS compilers
- “No newline at end of file” compiler warning
- C++ string literal data type storage
- Two classes that refer to each other
- How are GCC and g++ bootstrapped?
- _iterator_debug_level value ‘0’ doesn’t match value ‘2’