Displaying 2 results from an estimated 2 matches for "pr11770".
Did you mean:
pr1770
2012 Jan 13
0
[LLVMdev] Odd weak symbol thing on i386
On Fri, Jan 13, 2012 at 2:53 PM, Richard Pennington <rich at pennware.com> wrote:
> Hi,
>
> I'm compiling lldiv.c from the NetBSD standard library. It works on ARM, Mips,
> Microblaze,ppc, ppc64, and x86_64. On i386 a very strange thing happens.
> Here's the source:
>
> #include <stdlib.h>
> #define __weak_alias(sym) __attribute__ ((weak, alias
2012 Jan 13
2
[LLVMdev] Odd weak symbol thing on i386
Hi,
I'm compiling lldiv.c from the NetBSD standard library. It works on ARM, Mips,
Microblaze,ppc, ppc64, and x86_64. On i386 a very strange thing happens.
Here's the source:
#include <stdlib.h>
#define __weak_alias(sym) __attribute__ ((weak, alias (#sym)))
lldiv_t lldiv(long long int num, long long int denom) __weak_alias(_lldiv);
lldiv_t _lldiv(long long num, long