Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
そのため、x86-64 には RIP 相対アドレッシングがあり、PIC コードの記述が容易になり、再配置の必要性がはるかに少なくなります。x86-64 ではなぜ再配置が必要なのですか? 何の機能ですか?試してみることはできますobjdumpが、どの C/C++ コード パターンをコンパイルして確認すればよいでしょうか?
objdump
この記事では、私ができるよりもうまく説明していますが、基本的には共有ライブラリ内のグローバル変数です。