
LinkerScript
ibbyte
个人域名:
ibbyte.com
jllim.com
展开
-
[LinkerScript.18] SECTION命令: Input Section Description : 输入section的基础
An input section description consists of a file name optionally followed by a list of section names in parentheses.The file name and the section name may be wildcard patterns, which we describe furt翻译 2015-09-09 22:57:51 · 1431 阅读 · 0 评论 -
[LinkerScript.7] 简单的链接器脚本命令: 区域别名 - Simple Linker Script Commands : Region Alias
Assign alias names to memory regions存储区域的别名分配Alias names can be added to existing memory regions created with the MEMORY command. Each name corresponds to at most one memory region别名可以被加翻译 2015-09-05 23:25:14 · 1196 阅读 · 0 评论 -
[LinkerScript.6] 简单的链接器脚本命令: 格式命令 - Simple Linker Script Commands: Format Command
A couple of linker script commands deal with object file formats.处理对象文件格式的一对链接器脚本命令OUTPUT_FORMAT(bfdname)OUTPUT_FORMAT(default, big, little)------------------------------------------------翻译 2015-09-05 22:38:28 · 688 阅读 · 0 评论 -
[LinkerScript.2] 链接器脚本格式 - Linker Script Format
Linker scripts are text files.链接器脚本是一种文本文件You write a linker script as a series of commands. Each command is either a keyword, possibly followed by arguments, or an assignment to a symbol.翻译 2015-09-04 17:55:20 · 420 阅读 · 0 评论 -
[LinkerScript.9] 符号赋值: 简单分配 - Assigning Values to Symbols: Simple Assignments
You may assign a value to a symbol in a linker script. This will define the symbol and place it into the symbol table with a global scope.你可以在链接脚本中给符号赋值. 这将定义这个符号并把它放入到一个全局性的符号表.Simple Ass翻译 2015-09-06 22:57:37 · 374 阅读 · 0 评论 -
[LinkerScript.11] 符号赋值: 规定- Assigning Values to Symbols: PROVIDE
PROVIDEIn some cases, it is desirable for a linker script to define a symbol only if it is referenced and is not defined by any object included in the link. For example, traditional linkers defi翻译 2015-09-06 23:39:09 · 619 阅读 · 0 评论 -
[LinkerScript.10] 符号赋值: 隐藏 - Assigning Values to Symbols: HIDDEN
For ELF targeted ports, define a symbol that will be hidden and won't be exported. The syntax is HIDDEN(symbol = expression).对于ELF目标,定义的符号将会被隐藏而且不会被导出. 这种语法是HIDDEN ( symbol = expression )Here is翻译 2015-09-06 23:31:10 · 359 阅读 · 0 评论 -
[LinkerScript.12] 符号赋值: 源代码引用- Assigning Values to Symbols: SourceCodeReferenceq边接
Source Code ReferenceAccessing a linker script defined variable from source code is not intuitive. In particular a linker script symbol is not equivalent to a variable declaration in a high le翻译 2015-09-07 00:06:58 · 389 阅读 · 0 评论 -
[LinkerScript.13] SECTION命令
The SECTIONS command tells the linker how to map input sections into output sections, and how to place the output sections in memory.SECTION命令用于告诉链接器如何去映射输入section到输出section,以及如何把输出section放置到内存中.翻译 2015-09-07 19:14:38 · 2350 阅读 · 0 评论 -
[LinkerScript.8] 简单的链接器脚本命令: 杂项命令 - Simple Linker Script Commands : Miscellaneous Commands
There are a few other linker scripts commands.一些的其它链接器脚本命令ASSERT(exp, message)------------------------------------------------------------Ensure that exp is non-zero. If it is zero, then翻译 2015-09-06 00:21:53 · 507 阅读 · 0 评论 -
[LinkerScript.5] 简单的链接器脚本命令: 文件命令 - Simple Linker Script Commands: File Commands
Several linker script commands deal with files.与文件处理相关的一些链接器脚本命令INCLUDE filename---------------------------------------------------------------Include the linker script filename at this po翻译 2015-09-05 20:41:54 · 497 阅读 · 0 评论 -
[LinkerScript.15] SECTION命令: Output Section Name
The name of the output section is section. section must meet the constraints of your output format. In formats which only support a limited number of sections, such as a.out, the name must be one of翻译 2015-09-09 00:58:22 · 511 阅读 · 0 评论 -
[LinkerScript.16] SECTION命令: Output Section Address
The address is an expression for the VMA (the virtual memory address) of the output section. This address is optional, but if it is provided then the output address will be set exactly as specified.翻译 2015-09-09 01:25:06 · 468 阅读 · 0 评论 -
[LinkerScript.17] SECTION命令: Input Section Description
The most common output section command is an input section description.大部分公共的输出section命令用的是输入section的描述.The input section description is the most basic linker script operation. You use output翻译 2015-09-09 22:49:28 · 442 阅读 · 0 评论 -
[LinkerScript.14] SECTION命令: Output Section Description
The full description of an output section looks like this:一个输出section的完全描述如下: section [address] [(type)] : [AT(lma)] [ALIGN(section_align) | ALIGN_WITH_INPUT] [SUBALIGN(翻译 2015-09-09 00:35:36 · 434 阅读 · 0 评论 -
[LinkerScript.3] 简单的链接器脚本实例 - Simple Linker Script Example
Many linker scripts are fairly simple.很多链接器脚本都有相应的简单.The simplest possible linker script has just one command: ‘SECTIONS’. You use the ‘SECTIONS’ command to describe the memory layout of the o翻译 2015-09-04 18:29:13 · 611 阅读 · 0 评论 -
[LinkerScript.1] 基本的链接器脚本概念 - Basic Linker Script Concepts
We need to define some basic concepts and vocabulary in order to describe the linker script language.为了描述链接器脚本语言,我们需要定义一些基本的概念和词汇.The linker combines input files into a single output file. The翻译 2015-09-04 15:57:21 · 527 阅读 · 0 评论 -
[LinkerScript.4] 简单的链接器脚本命令: 入口 - Simple Linker Script Commands: Entry Point
Setting the Entry Point设置入口点The first instruction to execute in a program is called the entry point. You can use the ENTRY linker script command to set the entry point. The argument is a翻译 2015-09-05 20:09:12 · 494 阅读 · 0 评论 -
[ make ] Makefile: 多个all目标的处理 和 变量目标的处理
jielong.lin@xmbuilder03:~$ vim makefileTEST_VAR=1$(TEST_VAR): echo $@TEST_VAR=2$(TEST_VAR): echo $@.PHONY: allall: echo all-1all: echo all-2不带目标,默认执行第一个目标(不一定是all原创 2017-02-25 17:37:37 · 4067 阅读 · 0 评论