[llvm-bugs] [Bug 45246] Inline assembler doesn't honor ".weak" on PPC

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Mar 24 21:57:18 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45246

Fangrui Song <i at maskray.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
                 CC|                            |i at maskray.me
             Status|NEW                         |RESOLVED

--- Comment #1 from Fangrui Song <i at maskray.me> ---
Both .weak and .global specify bindings (STB_WEAK STB_GLOBAL).

.global not changing the binding is accidental in GNU as instead of
intentional. I'll create a patch to actually fix arch/powerpc/boot/crt0.S

*** This bug has been marked as a duplicate of bug 38921 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200325/7ee95ce4/attachment.html>


More information about the llvm-bugs mailing list