bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/26256] Support mixed SHF_LINK_ORDER & non-SHF_LINK_ORDER compone


From: i at maskray dot me
Subject: [Bug ld/26256] Support mixed SHF_LINK_ORDER & non-SHF_LINK_ORDER components in an output section
Date: Fri, 17 Jul 2020 04:16:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26256

--- Comment #1 from Fangrui Song <i at maskray dot me> ---
The last case has the same section content as the previous one:

## Non-contiguous SHF_LINK_ORDER sections, separated by a symbol assignment.    
# RUN: echo 'SECTIONS { .rodata : {*(.rodata.foo) a = .; *(.rodata.bar)} }' >
%t5.lds                                                                 
# RUN: ld.lld -T %t5.lds %t.o -o %t5                                       

010302

This demonstrates why performing sorting within an input section description
makes sense while sorting within an output section may not.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]