1回答

0收藏

eliminate illiteracy of MDK-ARM Linker

GD32 GD32 2011 人阅读 | 1 人回复 | 2015-07-02

MDK-ARM Linker
Home ? Dialogs ? Project ? Options ? Linker ? MDK-ARM Linker

Use Memory Layout from Target Dialog
When enabled, ?Vision creates a linker scatter file from the memory information supplied in the dialogs Target and Properties. When disabled, then X/O Base, R/O Base, R/W Base, and the Scatter File can be set manually. The scatter file defines the memory layout and allows assigning modules to specific memory areas.
Make RW Sections Position Independent
When enabled, the variable region containing the RW and ZI output sections are position-independent. When disabled, the RW and ZI sections are located to absolute memory addresses. Generates the linker command-line option --rwpi.
Make RO Sections Position Independent
When enabled, the constant and code region containing the RO output section is position-independent. When disabled, the RO section is located to an absolute memory address. Generates the linker command-line option --ropi.
Don't Search Standard Libraries
Disables the scanning of default compiler run-time libraries. Generates the linker command-line option --noscanlib. Is interchangeable with --no_scanlib.
Report 'might fail' Conditions as Errors
Reports conditions that might result in a failure as errors rather than warnings. Generates the linker command-line option --strict.
X/O Base
Sets the base address of an execute-only (XO) execution region. The address must be word-aligned. XO sections are placed in a separate load and execution region. If not specified, then no ER_XO region is created. This option sets the command-line option --xo_base=address.
R/O Base
Sets the address for constant and code region containing the RO output section. The address must be word-aligned. The default RO base address is 0x8000. The R/O Base specifies also the initial program entry address. Sets the command-line option --ro_base=address.
If Execute Only sections are present, and you specify an R/O Base without an X/O Base, then an ER_XO execution region is created with the address specified by R/O Base. The ER_RO execution region immediately follows the ER_XO region.
R/W Base
Set the address for the variable region containing RW and ZI output sections. The address must be word-aligned. Sets the command-line option --rw_base. The option does not affect the placement of Execution Only sections.
disable Warnings
Enter the warning numbers that should get suppressed during compile time. Separate a list of numbers by commas (,). Generates the linker command-line option --diag_suppress.
Scatter File
Shows the name of the scatter-loading file (*.sct). The file provides grouping and placement details of the various regions and sections in the image. This option is active when Use Memory Layout from Target Dialog is disabled.
...
Is a browse-button to attach the scatter-loading file. This option is active when Use Memory Layout from Target Dialog is disabled.
Edit...
This button opens the scatter-loading file in the ?Vision editor. This option is active when Use Memory Layout from Target Dialog is disabled.
Misc Controls
Allows specifying linker commands for which there are no individual dialog controls.
Linker control string
Displays the current linker command-line directives.

分享到:
回复

使用道具 举报

回答|共 1 个

倒序浏览

沙发

wywywy

发表于 2015-7-2 13:38:21 | 只看该作者

天书啊。。。。。。。。。。
您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条