Skip to content

Commit

Permalink
Fix undefined reference to __fpgetprec on i386
Browse files Browse the repository at this point in the history
Closes #137

This reverts commit ebcd40f.

The tests were failing to load the library on i386 due to an undefined
reference to __fpgetprec, which resulted from __fpgetprec not being inlined
due to the missing definition of __GNUCLIKE_ASM and __CC_SUPPORTS___INLINE__.
  • Loading branch information
petercolberg committed Jun 24, 2016
1 parent 29bf900 commit aeaf9ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion amd64/bsd_asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include "../i387/osx_asm.h"
#define CNAME(x) EXT(x)
#else
#include "cdefs-compat.h"
#include "bsd_cdefs.h"

#ifdef PIC
#define PIC_PLT(x) x@PLT
Expand Down
2 changes: 1 addition & 1 deletion ld80/s_exp2l.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <float.h>
#include <stdint.h>

#include "cdefs-compat.h"
#include "bsd_cdefs.h"
#include "amd64/bsd_ieeefp.h"

#include <openlibm_math.h>
Expand Down

0 comments on commit aeaf9ce

Please sign in to comment.