We have __weak_aliases on all archs (it's used by namespace.h); delete the conditionals.
ok? Philip Guenther Index: fpgetmask.c =================================================================== RCS file: /data/src/openbsd/src/lib/libc/softfloat/fpgetmask.c,v retrieving revision 1.5 diff -u -p -r1.5 fpgetmask.c --- fpgetmask.c 13 Sep 2015 14:21:46 -0000 1.5 +++ fpgetmask.c 18 Jul 2016 18:45:12 -0000 @@ -38,9 +38,7 @@ #include "milieu.h" #include <softfloat.h> -#ifdef __weak_alias __weak_alias(_fpgetmask,fpgetmask); -#endif fp_except fpgetmask(void) Index: fpgetround.c =================================================================== RCS file: /data/src/openbsd/src/lib/libc/softfloat/fpgetround.c,v retrieving revision 1.5 diff -u -p -r1.5 fpgetround.c --- fpgetround.c 13 Sep 2015 14:21:46 -0000 1.5 +++ fpgetround.c 18 Jul 2016 18:45:16 -0000 @@ -37,9 +37,7 @@ #include "milieu.h" #include <softfloat.h> -#ifdef __weak_alias __weak_alias(_fpgetround,fpgetround); -#endif fp_rnd fpgetround(void) Index: fpgetsticky.c =================================================================== RCS file: /data/src/openbsd/src/lib/libc/softfloat/fpgetsticky.c,v retrieving revision 1.5 diff -u -p -r1.5 fpgetsticky.c --- fpgetsticky.c 13 Sep 2015 14:21:46 -0000 1.5 +++ fpgetsticky.c 18 Jul 2016 18:45:20 -0000 @@ -37,9 +37,7 @@ #include "milieu.h" #include <softfloat.h> -#ifdef __weak_alias __weak_alias(_fpgetsticky,fpgetsticky); -#endif fp_except fpgetsticky(void) Index: fpsetmask.c =================================================================== RCS file: /data/src/openbsd/src/lib/libc/softfloat/fpsetmask.c,v retrieving revision 1.5 diff -u -p -r1.5 fpsetmask.c --- fpsetmask.c 13 Sep 2015 14:21:46 -0000 1.5 +++ fpsetmask.c 18 Jul 2016 18:45:25 -0000 @@ -37,9 +37,7 @@ #include "milieu.h" #include <softfloat.h> -#ifdef __weak_alias __weak_alias(_fpsetmask,fpsetmask); -#endif fp_except fpsetmask(fp_except mask) Index: fpsetround.c =================================================================== RCS file: /data/src/openbsd/src/lib/libc/softfloat/fpsetround.c,v retrieving revision 1.5 diff -u -p -r1.5 fpsetround.c --- fpsetround.c 13 Sep 2015 14:21:46 -0000 1.5 +++ fpsetround.c 18 Jul 2016 18:45:27 -0000 @@ -37,9 +37,7 @@ #include "milieu.h" #include <softfloat.h> -#ifdef __weak_alias __weak_alias(_fpsetround,fpsetround); -#endif fp_rnd fpsetround(fp_rnd rnd_dir) Index: fpsetsticky.c =================================================================== RCS file: /data/src/openbsd/src/lib/libc/softfloat/fpsetsticky.c,v retrieving revision 1.5 diff -u -p -r1.5 fpsetsticky.c --- fpsetsticky.c 13 Sep 2015 14:21:46 -0000 1.5 +++ fpsetsticky.c 18 Jul 2016 18:45:30 -0000 @@ -37,9 +37,7 @@ #include "milieu.h" #include <softfloat.h> -#ifdef __weak_alias __weak_alias(_fpsetsticky,fpsetsticky); -#endif fp_except fpsetsticky(fp_except except)
