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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2020-02-02
     Ever confirmed|0                           |1

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Fangrui Song from comment #0)
> % cat a.c                                                       
> void foo(){}
> void bar(){}
> % clang -fpatchable-function-entry=2 -ffunction-sections -S a.c # clang HEAD
> https://reviews.llvm.org/D72222 https://reviews.llvm.org/D72222
> % grep __patchable a.s
>         .section      
> __patchable_function_entries,"awo",@progbits,foo,unique,0
>         .section      
> __patchable_function_entries,"awo",@progbits,bar,unique,1

unique,N is not required here since

.section       __patchable_function_entries,"awo",@progbits,foo
.section       __patchable_function_entries,"awo",@progbits,bar

are unique.

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

Reply via email to