Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
4458b74a
Commit
4458b74a
authored
Oct 24, 2016
by
Alessandro Rubini
Committed by
Grzegorz Daniluk
Feb 16, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check-error: check for udivdi3 too
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
f32a938c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
check-error.c
check-error.c
+8
-1
No files found.
check-error.c
View file @
4458b74a
...
...
@@ -21,6 +21,7 @@ int mprintf(const char *fmt, ...);
long
long
__moddi3
(
long
long
A
,
long
long
B
);
long
long
__divdi3
(
long
long
A
,
long
long
B
);
long
long
__udivdi3
(
long
long
A
,
long
long
B
);
int
printf
(
const
char
*
fmt
,
...)
{
...
...
@@ -35,7 +36,6 @@ int mprintf(const char *fmt, ...)
return
0
;
}
#ifdef CONFIG_PPSI
/* with ppsi we can avoid libgcc code for division */
/* was used twice in picos_to_ts */
long
long
__moddi3
(
long
long
A
,
long
long
B
)
...
...
@@ -44,6 +44,13 @@ long long __moddi3 (long long A, long long B)
return
0
;
}
/* picos_to_ts again */
long
long
__udivdi3
(
long
long
A
,
long
long
B
)
{
__you_should_not_divide_ll_in_wrpc_sw
();
return
0
;
}
/* was used in set_phase_shift, phase_to_cf_units */
long
long
__divdi3
(
long
long
A
,
long
long
B
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment