qualcomm/eld

Write tests to test and evaluate the following linker options

Ouverte

#1 099 ouverte le 24 avr. 2026

 (2 commentaires) (0 réaction) (0 personne assignée)C++ (73 forks)auto 404
good first issue

Métriques du dépôt

Stars
 (254 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur