qualcomm/eld

Write tests to test and evaluate the following linker options

开放

#1,099 创建于 2026年4月24日

 (2 条评论) (0 个反应) (0 位负责人)C++ (73 个派生)auto 404
good first issue

仓库指标

星标
 (254 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

  --section-start=sectionname=org
       Locate a section in the output file at the absolute address given by org.  You may use this option as many times as necessary to locate multiple sections in the command line.  org must be a single hexadecimal integer; for compatibility with other linkers, you may
       omit the leading 0x usually associated with hexadecimal values.  Note: there should be no white space between sectionname, the equals sign ("="), and org.

   -Tbss=org
   -Tdata=org
   -Ttext=org
       Same as --section-start, with ".bss", ".data" or ".text" as the sectionname.

   -Ttext-segment=org
       When creating an ELF executable, it will set the address of the first byte of the text segment.

   -Trodata-segment=org
       When creating an ELF executable or shared object for a target where the read-only data is in its own segment separate from the executable text, it will set the address of the first byte of the read-only data segment.

   -Tldata-segment=org
       When creating an ELF executable or shared object for x86-64 medium memory model, it will set the address of the first byte of the ldata segment.

Update userguide

贡献者指南