[Top][All Lists]

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

[Bug gas/25380] Support section linkage 'unique' (multiple sections with

From: hjl.tools at gmail dot com
Subject: [Bug gas/25380] Support section linkage 'unique' (multiple sections with the same name)
Date: Sun, 02 Feb 2020 03:03:08 +0000


--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #3)
> (In reply to Fangrui Song from comment #0)
> > Clang's integrated assembler supports multiple section with the same name.
> > 
> > % cat a.s
> > .section        .text,"ax",@progbits,unique,1
> > nop
> > .section        .text,"ax",@progbits,unique,2
> > nop
> > 
> What is the valid range for ID?  I am using unsigned int for ID and I
> need to reserve one value for non-unique section.  I can use 0 or
> 0xffffffff.

Since I saw

.section __patchable_function_entries,"awo",@progbits,foo,unique,0

the valid section ID is from 0 to 0xfffffffe (4294967294).

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]