Node of C++ Linker.

code is nothing without data.

data segment - the program memory storing initialized global variable.

code segment/ text segmemnt - the program memory storing machine code loading from executable file on the hard disk.

Reference: https://www.lurklurk.org/linkers/linkers.html

原文地址:https://www.cnblogs.com/TonyYPZhang/p/10182559.html