This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Aligning input sections with linker



Is it possible to instruct linker to align individual input sections with wild cards? For instance, in following segment

.out_scn: palign(32)

{

  *(.in_scn_a*)

  *(in_scn_b*)

} > MEMORY

is the a way to make sure that all input sections that match wild cards are aligned to a specific byte boundary between themselves? palign or align only aligns output section.

Thanks,

Eugene