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

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