qualcomm/eld

Write tests to test and evaluate the following linker options

Open

#1,099 opened on Apr 24, 2026

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (73 forks)auto 404
good first issue

Repository metrics

Stars
 (254 stars)
PR merge metrics
 (PR metrics pending)

Description

--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

Contributor guide