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