码农知识堂 - 1000bd
  •   Python
  •   PHP
  •   JS/TS
  •   JAVA
  •   C/C++
  •   C#
  •   GO
  •   Kotlin
  •   Swift
  • .bss (the block starting symbol)


    .bss (the block starting symbol)

    Wikipedia

    The BSS segment contains uninitialized static data, both variables and constants, i.e. global variables and local static variables that are initialized to zero or do not have explicit initialization in source code.
    BSS段包含未初始化的静态数据,包括变量和常量,即初始化为零或在源代码中没有显式初始化的全局变量和局部静态变量。
    Examples in C include:

    static int i;
    static char a[12];
    
    • 1
    • 2

    In computer programming, the block starting symbol (abbreviated to .bss or bss) is the portion of an object file, executable, or assembly language code that contains statically allocated variables that are declared but have not been assigned a value yet. It is often referred to as the “bss section” or “bss segment”.
    在计算机编程中,块开始符号(缩写为.bss或bss)是目标文件、可执行文件或汇编语言代码的一部分,其中包含已声明但尚未赋值的静态分配变量。它通常被称为 “bss section” 或"bss segment"。

    Typically only the length of the bss section, but no data, is stored in the object file. The program loader allocates memory for the bss section when it loads the program. By placing variables with no value in the .bss section, instead of the .data or .rodata section which require initial value data, the size of the object file is reduced.
    目标文件中通常只存储bss部分的长度,而不存储任何数据。程序加载器在加载程序时为bss段分配内存。通过将无值的变量放在.bss部分,而不是需要初始值数据的.data或.rodata部分,可以减少目标文件的大小。

  • 相关阅读:
    STM32使用FAT文件系统-代码简读
    RestTemplate发送HTTPS请求
    电脑msvcp140.dll丢失问题的三种解决方法分享,快速修复dll问题
    【算法专题】双指针
    dynamic-datasource + parallelStream数据源切换失效
    济南ISO三体系认证证书办理需要准备的材料有哪些
    01-Sentinel与spring-cloud的整合
    换种方式看后端参数接收、建议躺着看!!!
    mongodb通过mongoexport命令导出数据
    【数据结构】C语言实现队列
  • 原文地址:https://blog.csdn.net/weixin_43846270/article/details/126967483
  • 最新文章
  • 沪漂五周年了:我越来越迷茫了
    Agentic Skill Routing 实战:别再把所有 Skill 塞进 AI Agent 上下文
    MySQL-Seconds_behind_master的精度误差
    [MAF预定义ChatClient中间件-03]CachingChatClient——利用缓存省钱省时间
    AI的至暗历史:从万众期待到被政府撤资,AI的两次死亡徘徊
    Agent OS :五种驯服不确定性的范式
    PortSwigger SQL注入LAB11
    数据库即时编译JIT
    [Begin]AI Learn Data Day 0
    深度学习进阶(二十七)现代 LLM 的核心架构设计其二:SwiGLU
  • 热门文章
  • 十款代码表白小特效 一个比一个浪漫 赶紧收藏起来吧!!!
    奉劝各位学弟学妹们,该打造你的技术影响力了!
    五年了,我在 CSDN 的两个一百万。
    Java俄罗斯方块,老程序员花了一个周末,连接中学年代!
    面试官都震惊,你这网络基础可以啊!
    你真的会用百度吗?我不信 — 那些不为人知的搜索引擎语法
    心情不好的时候,用 Python 画棵樱花树送给自己吧
    通宵一晚做出来的一款类似CS的第一人称射击游戏Demo!原来做游戏也不是很难,连憨憨学妹都学会了!
    13 万字 C 语言从入门到精通保姆级教程2021 年版
    10行代码集2000张美女图,Python爬虫120例,再上征途
小工具 小游戏
Copyright © 2022 侵权请联系2656653265@qq.com    京ICP备2022015340号-1

京公网安备 11010502049817号