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

powi only: don't override arm calling convention #26

Merged
merged 2 commits into from
Nov 10, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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