RealView Linker and Utilities Guide

Keil™, An ARM® Company

Version 4.0

Table of Contents

About this book
Intended audience
Using this book
Typographical conventions
Further reading
Feedback on RealView Compilation Tools
Feedback on this book
1. Introduction
2. Linker Command-line Options
2.1. Command-line options
2.1.1. --arm_only
2.1.2. --autoat, --no_autoat
2.1.3. --be8
2.1.4. --be32
2.1.5. --bestdebug, --no_bestdebug
2.1.6. --branchnop, --no_branchnop
2.1.7. --callgraph, --no_callgraph
2.1.8. --callgraph_file=filename
2.1.9. --callgraph_output=fmt
2.1.10. --cgfile=type
2.1.11. --cgsymbol=type
2.1.12. --cgundefined=type
2.1.13. --combreloc, --no_combreloc
2.1.14. --compress_debug, --no_compress_debug
2.1.15. --cppinit, --no_cppinit
2.1.16. --datacompressor=opt
2.1.17. --debug, --no_debug
2.1.18. --device=list
2.1.19. --device=name
2.1.20. --device_opt=option
2.1.21. --diag_error=tag[,tag,...]
2.1.22. --diag_remark=tag[,tag,...]
2.1.23. --diag_style=arm|ide|gnu
2.1.24. --diag_suppress=tag[,tag,...]
2.1.25. --diag_warning=tag[,tag,...]
2.1.26. --edit=file_list
2.1.27. --entry=location
2.1.28. --errors=file
2.1.29. --exceptions, --no_exceptions
2.1.30. --exceptions_tables=action
2.1.31. --feedback=file
2.1.32. --feedback_image=option
2.1.33. --feedback_type=type
2.1.34. --filtercomment, --no_filtercomment
2.1.35. --fini=symbol
2.1.36. --first=section_id
2.1.37. --force_so_throw, --no_force_so_throw
2.1.38. --fpu=list
2.1.39. --fpu=name
2.1.40. --help
2.1.41. --info=topic[,topic,...]
2.1.42. --info_lib_prefix=opt
2.1.43. --init=symbol
2.1.44. --inline, --no_inline
2.1.45. --inlineveneer, --no_inlineveneer
2.1.46. input_file_list
2.1.47. --keep=section_id
2.1.48. --largeregions, --no_largeregions
2.1.49. --last=section_id
2.1.50. --legacyalign, --no_legacyalign
2.1.51. --libpath=pathlist
2.1.52. --library_type=lib
2.1.53. --list=file
2.1.54. --list_mapping_symbols, --no_list_mapping_symbols
2.1.55. --locals, --no_locals
2.1.56. --ltcg
2.1.57. --mangled, --unmangled
2.1.58. --map, --no_map
2.1.59. --match=crossmangled
2.1.60. --max_visibility=type
2.1.61. --merge, --no_merge
2.1.62. --muldefweak, --no_muldefweak
2.1.63. --output=file
2.1.64. --override_visibility
2.1.65. --pad=num
2.1.66. --partial
2.1.67. --piveneer, --no_piveneer
2.1.68. --predefine=”string”
2.1.69. --privacy
2.1.70. --profile=filename
2.1.71. --reduce_paths, --no_reduce_paths
2.1.72. --ref_cpp_init, --no_ref_cpp_init
2.1.73. --reloc
2.1.74. --remove, --no_remove
2.1.75. --ro_base=address
2.1.76. --ropi
2.1.77. --rosplit
2.1.78. --rw_base=address
2.1.79. --rwpi
2.1.80. --scanlib, --no_scanlib
2.1.81. --scatter=file
2.1.82. --section_index_display=type
2.1.83. --show_cmdline
2.1.84. --sort=algorithm
2.1.85. --split
2.1.86. --startup=symbol, --no_startup
2.1.87. --strict
2.1.88. --strict_relocations, --no_strict_relocations
2.1.89. --symbols, --no_symbols
2.1.90. --symdefs=file
2.1.91. --tailreorder, --no_tailreorder
2.1.92. --unresolved=symbol
2.1.93. --userlibpath=pathlist
2.1.94. --veneershare, --no_veneershare
2.1.95. --verbose
2.1.96. --vfemode=mode
2.1.97. --via=file
2.1.98. --vsn
2.1.99. --xref, --no_xref
2.1.100. --xrefdbg, --no_xrefdbg
2.1.101. --xref{from|to}=object(section)
2.2. Steering file commands
2.2.1. EXPORT
2.2.2. HIDE
2.2.3. IMPORT
2.2.4. RENAME
2.2.5. REQUIRE
2.2.6. RESOLVE
2.2.7. SHOW
3. Formal syntax of the scatter-loading description file
3.1. BNF notation and syntax
3.2. Overview of the syntax of a scatter-loading description file
3.3. Load region description
3.3.1. Syntax of a load region description
3.4. Execution region description
3.4.1. Syntax of an execution region description
3.5. Addressing attributes
3.6. Input section description
3.6.1. Syntax of an input section description
3.6.2. Example of module and input select patterns
3.7. Resolving multiple matches
3.8. Resolving path names
3.9. Expression evaluation in scatter files
3.9.1. Expression usage
3.9.2. Expression rules
3.9.3. Builtin functions
3.9.4. ScatterAssert function
3.9.5. Symbol related function
3.9.6. Examples

Proprietary Notice

Words and logos marked with ® or ™ are registered trademarks or trademarks of ARM® Limited in the EU and other countries, except as otherwise stated below in this proprietary notice. Other brands and names mentioned herein may be the trademarks of their respective owners.

Neither the whole nor any part of the information contained in, or the product described in, this document may be adapted or reproduced in any material form except with the prior written permission of the copyright holder.

The product described in this document is subject to continuous developments and improvements. All particulars of the product and its use contained in this document are given by ARM in good faith. However, all warranties implied or expressed, including but not limited to implied warranties of merchantability, or fitness for purpose, are excluded.

This document is intended only to assist the reader in the use of the product. ARM Limited shall not be liable for any loss or damage arising from the use of any information in this document, or any error or omission in such information, or any incorrect use of the product.

Where the term ARM is used it means “ARM or any of its subsidiaries as appropriate”.

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.

Unrestricted Access is an ARM internal classification.

Product Status

The information in this document is final, that is for a developed product.

Revision History
Revision A December 2008 Release for RVCT for µVision v4.0