查看: 1702|回复: 1

eliminate illiteracy of MDK-ARM Linker

[复制链接]
  • TA的每日心情
    奋斗
    2016-1-4 08:50
  • 签到天数: 50 天

    连续签到: 1 天

    [LV.5]常住居民I

    发表于 2015-7-2 10:48:54 | 显示全部楼层 |阅读模式
    分享到:
    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.

    回复

    使用道具 举报

  • TA的每日心情
    开心
    2015-7-14 09:10
  • 签到天数: 9 天

    连续签到: 1 天

    [LV.3]偶尔看看II

    发表于 2015-7-2 13:38:21 | 显示全部楼层
    天书啊。。。。。。。。。。
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

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



    手机版|小黑屋|与非网

    GMT+8, 2024-4-19 23:50 , Processed in 0.117199 second(s), 17 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.