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

Anton Korobeynikov <an...@korobeynikov.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |an...@korobeynikov.info
         Resolution|---                         |INVALID

--- Comment #1 from Anton Korobeynikov <an...@korobeynikov.info> ---
This is expected. -nostdlib is an option that forces clang not to pass runtime
libraries to the linker. It does not affect codegeneration at all.

Note that __udivdi3 is a runtime call for 64 bit division. Since there is no
instruction for this on x86-32 you'd need to modify your sources not to use
this. Otherwise there is no way for compiler to support it in other way.
Naturally, it's not an issue on x86_32.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to