Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
Merge pull request #26 from TimNN/arm-cc
Browse files Browse the repository at this point in the history
powi only: don't override arm calling convention
  • Loading branch information
alexcrichton committed Nov 10, 2016
2 parents ecd2b1f + 8250bd0 commit 3bc0272
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/builtins/int_lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#if __ARM_EABI__
# define ARM_EABI_FNALIAS(aeabi_name, name) \
void __aeabi_##aeabi_name() __attribute__((alias("__" #name)));
# define COMPILER_RT_ABI
# define COMPILER_RT_ABI __attribute__((pcs("aapcs")))
#else
# define ARM_EABI_FNALIAS(aeabi_name, name)
# define COMPILER_RT_ABI
Expand Down
2 changes: 1 addition & 1 deletion lib/builtins/powidf2.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/* Returns: a ^ b */

COMPILER_RT_ABI double
double
__powidf2(double a, si_int b)
{
const int recip = b < 0;
Expand Down
2 changes: 1 addition & 1 deletion lib/builtins/powisf2.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/* Returns: a ^ b */

COMPILER_RT_ABI float
float
__powisf2(float a, si_int b)
{
const int recip = b < 0;
Expand Down

0 comments on commit 3bc0272

Please sign in to comment.