リンカスクリプト - CI/CD用語集の定義
リンカスクリプトは、入力セクションを出力セクションにどうマッピングし、メモリ上のどこに配置するかをリンカに指示するファイルであり、最終的なバイナリのレイアウトを制御します。
どこで使われるか
リンカスクリプトは、プログラムがコードとデータを特定のメモリアドレスに配置しなければならない組み込みやシステムのbuildでよく使われます。GNUの ld は -T script.ld を通じてそれを読み込みます。
関連ガイド
Linking - CI/CD Glossary DefinitionLinking: Linking is the build step that combines compiled object files and libraries into a single executable…
Symbol Table - CI/CD Glossary DefinitionSymbol Table: A symbol table is the index inside an object file or executable that maps names (functions, glo…
Static Linking - CI/CD Glossary DefinitionStatic Linking: Static linking copies the machine code of needed library functions directly into the final ex…