zoukankan      html  css  js  c++  java
  • system.map文件详解

    符号类型.

    小写字母表示局部; 大写字母表示全局(外部).
    A
    The symbol's value is absolute, and will not be changed by further linking.

    B
    The symbol is in the uninitialized data section (known as BSS).

    C
    The symbol is common. Common symbols are uninitialized data. When linking, multiple common symbols may appear with the same name. If the symbol is defined anywhere, the common symbols are treated as undefined references. For more details on common symbols, see the discussion of -warn-common in Linker options.

    D
    The symbol is in the initialized data section.

    G
    The symbol is in an initialized data section for small objects. Some object file formats permit more efficient access to small data objects, such as a global int variable as opposed to a large global array.

    I
    The symbol is an indirect reference to another symbol. This is a GNU extension to the a.out object file format which is rarely used.

    N
    The symbol is a debugging symbol.

    R
    The symbol is in a read only data section.

    S
    The symbol is in an uninitialized data section for small objects.

    T
    The symbol is in the text (code) section.

    U
    The symbol is undefined.

    V
    The symbol is a weak object. When a weak defined symbol is linked with a normal defined symbol, the normal defined symbol is used with no error. When a weak undefined symbol is linked and the symbol is not defined, the value of the weak symbol becomes zero with no error.

    W
    The symbol is a weak symbol that has not been specifically tagged as a weak object symbol. When a weak defined symbol is linked with a normal defined symbol, the normal defined symbol is used with no error. When a weak undefined symbol is linked and the symbol is not defined, the value of the weak symbol becomes zero with no error.

    -
    The symbol is a stabs symbol in an a.out object file. In this case, the next values printed are the stabs other field, the stabs desc field, and the stab type. Stabs symbols are used to hold debugging information. For more information, see Stabs.

    ?
    The symbol type is unknown, or object file format specific.

    符号类型:大写为全局符号,小写为局部符号
    A:该符号的值是不能改变的,等于const
    B:该符号来自于未初始化代码段bss段
    C: 该符号是通用的,通用的符号指未初始化的数据。当链接时,多个通用符号可能对应一个名称,如果该符号在某一个位置定义,这个通用符号被当做未定义的引用。不明白,内核中也没有该类型的符号
    D: 该符号位于初始化的数据段
    G: 位于初始化数据段,专门对应小的数据对象,比如global int x,对应的大数据对象为 数组类型等
    I: 到其他符号的间接引用,是对于a.out文件的GNU扩展,使用非常少
    N:调试符号
    R:只读代码段的符号
    S:BSS段(未初始化数据段)的小对象符号
    T:代码段符号,全局函数,t为局部函数
    U:未定义的符号
    V:该符号是一个weak object,当其连接到为定义的对象上上,该符号的值变为0
    W: 类似于V
    —: 该符号是a.out文件中的一个stabs symbol,获取调试信息
    ?: 未知类型的符号


    ————————————————
    版权声明:本文为CSDN博主「p.c.wang」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/chun_1959/article/details/45786769

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    微信公众号:  共鸣圈
    欢迎讨论,邮件:  924948$qq.com       请把$改成@
    QQ群:263132197
    QQ:    924948

    良辰美景补天漏,风雨雷电洗地尘
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  • 相关阅读:
    #C++初学记录(sort函数)
    #C++初学记录(贪心算法#结构体#贪心算法)
    #C++初学记录(初识汉诺塔)
    vuex中使用多模块时,如果不同模块中action有名字冲突该如何解决
    vue中二次封装别人组件,动态传属性使用v-bind="$attrs" 和 v-on="$listeners"
    在vue.config.js项目中配置proxy解决跨域问题
    Vue里报错:Maximum call stack size exceeded
    git报错:pre-commit hook failed (add --no-verify to bypass)
    十大排序算法,用JS写出来
    基数排序(JS代码)
  • 原文地址:https://www.cnblogs.com/welhzh/p/15304800.html
Copyright © 2011-2022 走看看