Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
cbd8ec84
Commit
cbd8ec84
authored
Jul 31, 2003
by
Yoshinori Sato
Committed by
Linus Torvalds
Jul 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] h8300: build error fixes
build error and warning fix blkdev location cleanup typo fix
parent
44d80c37
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
arch/h8300/lib/Makefile
arch/h8300/lib/Makefile
+1
-1
arch/h8300/lib/abs.S
arch/h8300/lib/abs.S
+1
-1
arch/h8300/lib/memset.S
arch/h8300/lib/memset.S
+6
-6
No files found.
arch/h8300/lib/Makefile
View file @
cbd8ec84
...
...
@@ -5,4 +5,4 @@
.S.o
:
$(CC)
$(AFLAGS)
-D__ASSEMBLY__
-c
$<
-o
$@
lib-y
=
ashrdi3.o checksum.o memcpy.o memset.o abs.o
lib-y
=
ashrdi3.o checksum.o memcpy.o memset.o abs.o
romfs.o
arch/h8300/lib/abs.S
View file @
cbd8ec84
;;;
memcpy
.S
;;;
abs
.S
#include <asm/linkage.h>
...
...
arch/h8300/lib/memset.S
View file @
cbd8ec84
...
...
@@ -17,9 +17,6 @@
;; c = er1(r1l)
;; count = er2
SYMBOL_NAME_LABEL
(
memset
)
mov.l
er2
,
er2
beq
7
f
mov.l
er0
,
@
-
sp
btst
#
0
,
r0l
beq
2
f
...
...
@@ -36,8 +33,13 @@ SYMBOL_NAME_LABEL(memset)
cmp.l
#
4
,
er2
blo
4
f
;; count>=4 -> count/4
#if defined(__H8300H__)
shlr.l
er2
shlr.l
er2
#endif
#if defined(__H8300S__)
shlr.l
#
2
,
er2
#endif
;; byte -> long
mov.b
r1l
,
r1h
mov.w
r1
,
e1
...
...
@@ -56,6 +58,4 @@ SYMBOL_NAME_LABEL(memset)
dec.b
r3l
bne
5
b
6
:
mov.l
@
sp
+,
er0
7
:
rts
\ No newline at end of file
rts
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