| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 77 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(HTML) 77 Page - STMicroelectronics |
|
77 / 185 page ![]() AN3350 Working with the ELF linker Doc ID 018512 Rev 2 77/185 11.2 Structure of linker command files Linker command files consist of the following three main segments that should appear in this order in each file: ● Mandatory—Memory segment—maps memory segments ● Mandatory—Sections segment—defines segment contents ● Optional—Closure blocks—forces functions into closure 11.2.1 Memory segment The memory segment divides available memory into segments. Section 11.4.6: MEMORY explains this segment type. Example 12 shows an example MEMORY segment. Example 12 Example MEMORY segment MEMORY { segment_1 (RWX): ORIGIN = 0x800000, LENGTH = 0x190 Linking options -lcf -script <file> Use a linker command file (a file with suffix .lcf is also considered as the LCF file) -xlcf Do not warn when using internal lcf (by default, in case no LCF file is given, the linker issues a warning and uses a trivial LCF template) -e -m -main <sym> Set main entry point (this is the address execution will start from) -L <dir> Add <dir> to library search path -l <file> Link library lib<file>.<ext> or <file> -open_libs Consider all libs unconditionally -d Perform sections dead stripping -[no]links_abs Link all absolute ('.org') sections -zerobbs Expand and zero-initialize .bss data section -T <mem=addr> Set segment <mem> start address to <addr> Debug options -g Keep debug information -log <string> Log link closure to file -map Generate link map file -[no]check Check objects compatibility (recommended) -t -trace Print name of input files upon processes -y -trace_sym <string> Show all occurrences of symbol in objects - [no]check_segments Check segments address overlapping -mseg Use segments names for output sections Table 9. Linker command line switches (continued) Options Switch Description |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |