基础知识求科普
一个小程序的经过编译之后的2进制代码但是VMA FILE OFF 和 ALGN以及 2进制代码下面那行的意思不明白
#include<iostream>
using namespace std;
int main()
{
cout<<"hello!"<<endl;
}
Idx Name Size VMA LMA File off Algn
0 .text 000001a3 0000000000000000 0000000000000000 00000040 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
1 .data 00000000 0000000000000000 0000000000000000 000001e4 2**2
CONTENTS, ALLOC, LOAD, DATA
2 .bss 00000001 0000000000000000 0000000000000000 000001e4 2**2
ALLOC
3 .rodata 00000007 0000000000000000 0000000000000000 000001e4 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .gnu.linkonce.t._ZSt3minImERKT_S2_S2_ 00000034 0000000000000000 0000000000000000 000001ec 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE, LINK_ONCE_DISCARD
5 .ctors 00000008 0000000000000000 0000000000000000 00000220 2**3
CONTENTS, ALLOC, LOAD, RELOC, DATA
6 .eh_frame 00000110 0000000000000000 0000000000000000 00000228 2**3
CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
7 .note.GNU-stack 00000000 0000000000000000 0000000000000000 00000338 2**0
CONTENTS, READONLY
8 .comment 0000002e 0000000000000000 0000000000000000 00000338 2**0
CONTENTS, READONLY
[解决办法]