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
nexedi
linux
Commits
de4ab2e3
Commit
de4ab2e3
authored
Jun 08, 2003
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ALPHA] Fix missed __ex_table to conversion to pc-relative relocs.
parent
c1bbdcff
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
42 deletions
+42
-42
arch/alpha/kernel/traps.c
arch/alpha/kernel/traps.c
+40
-40
arch/alpha/lib/csum_partial_copy.c
arch/alpha/lib/csum_partial_copy.c
+2
-2
No files found.
arch/alpha/kernel/traps.c
View file @
de4ab2e3
...
...
@@ -485,9 +485,9 @@ do_entUna(void * va, unsigned long opcode, unsigned long reg,
" extwh %2,%3,%2
\n
"
"3:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %1,3b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %2,3b-2b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
)
...
...
@@ -505,9 +505,9 @@ do_entUna(void * va, unsigned long opcode, unsigned long reg,
" extlh %2,%3,%2
\n
"
"3:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %1,3b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %2,3b-2b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
)
...
...
@@ -525,9 +525,9 @@ do_entUna(void * va, unsigned long opcode, unsigned long reg,
" extqh %2,%3,%2
\n
"
"3:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %1,3b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %2,3b-2b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
)
...
...
@@ -554,13 +554,13 @@ do_entUna(void * va, unsigned long opcode, unsigned long reg,
"4: stq_u %1,0(%5)
\n
"
"5:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %2,5b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %1,5b-2b(%0)
\n
"
" .
gprel32 3b
\n
"
" .
long 3b - .
\n
"
" lda $31,5b-3b(%0)
\n
"
" .
gprel32 4b
\n
"
" .
long 4b - .
\n
"
" lda $31,5b-4b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
),
...
...
@@ -584,13 +584,13 @@ do_entUna(void * va, unsigned long opcode, unsigned long reg,
"4: stq_u %1,0(%5)
\n
"
"5:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %2,5b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %1,5b-2b(%0)
\n
"
" .
gprel32 3b
\n
"
" .
long 3b - .
\n
"
" lda $31,5b-3b(%0)
\n
"
" .
gprel32 4b
\n
"
" .
long 4b - .
\n
"
" lda $31,5b-4b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
),
...
...
@@ -614,13 +614,13 @@ do_entUna(void * va, unsigned long opcode, unsigned long reg,
"4: stq_u %1,0(%5)
\n
"
"5:
\n
"
".section __ex_table,
\"
a
\"\n\t
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %2,5b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %1,5b-2b(%0)
\n
"
" .
gprel32 3b
\n
"
" .
long 3b - .
\n
"
" lda $31,5b-3b(%0)
\n
"
" .
gprel32 4b
\n
"
" .
long 4b - .
\n
"
" lda $31,5b-4b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
),
...
...
@@ -845,9 +845,9 @@ do_entUnaUser(void * va, unsigned long opcode,
" extwh %2,%3,%2
\n
"
"3:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %1,3b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %2,3b-2b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
)
...
...
@@ -865,9 +865,9 @@ do_entUnaUser(void * va, unsigned long opcode,
" extlh %2,%3,%2
\n
"
"3:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %1,3b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %2,3b-2b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
)
...
...
@@ -885,9 +885,9 @@ do_entUnaUser(void * va, unsigned long opcode,
" extqh %2,%3,%2
\n
"
"3:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %1,3b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %2,3b-2b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
)
...
...
@@ -905,9 +905,9 @@ do_entUnaUser(void * va, unsigned long opcode,
" extlh %2,%3,%2
\n
"
"3:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %1,3b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %2,3b-2b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
)
...
...
@@ -925,9 +925,9 @@ do_entUnaUser(void * va, unsigned long opcode,
" extqh %2,%3,%2
\n
"
"3:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %1,3b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %2,3b-2b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
)
...
...
@@ -954,13 +954,13 @@ do_entUnaUser(void * va, unsigned long opcode,
"4: stq_u %1,0(%5)
\n
"
"5:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %2,5b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %1,5b-2b(%0)
\n
"
" .
gprel32 3b
\n
"
" .
long 3b - .
\n
"
" lda $31,5b-3b(%0)
\n
"
" .
gprel32 4b
\n
"
" .
long 4b - .
\n
"
" lda $31,5b-4b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
),
...
...
@@ -988,13 +988,13 @@ do_entUnaUser(void * va, unsigned long opcode,
"4: stq_u %1,0(%5)
\n
"
"5:
\n
"
".section __ex_table,
\"
a
\"\n
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %2,5b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %1,5b-2b(%0)
\n
"
" .
gprel32 3b
\n
"
" .
long 3b - .
\n
"
" lda $31,5b-3b(%0)
\n
"
" .
gprel32 4b
\n
"
" .
long 4b - .
\n
"
" lda $31,5b-4b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
),
...
...
@@ -1022,13 +1022,13 @@ do_entUnaUser(void * va, unsigned long opcode,
"4: stq_u %1,0(%5)
\n
"
"5:
\n
"
".section __ex_table,
\"
a
\"\n\t
"
" .
gprel32 1b
\n
"
" .
long 1b - .
\n
"
" lda %2,5b-1b(%0)
\n
"
" .
gprel32 2b
\n
"
" .
long 2b - .
\n
"
" lda %1,5b-2b(%0)
\n
"
" .
gprel32 3b
\n
"
" .
long 3b - .
\n
"
" lda $31,5b-3b(%0)
\n
"
" .
gprel32 4b
\n
"
" .
long 4b - .
\n
"
" lda $31,5b-4b(%0)
\n
"
".previous"
:
"=r"
(
error
),
"=&r"
(
tmp1
),
"=&r"
(
tmp2
),
...
...
arch/alpha/lib/csum_partial_copy.c
View file @
de4ab2e3
...
...
@@ -46,7 +46,7 @@ __asm__ __volatile__("insqh %1,%2,%0":"=r" (z):"r" (x),"r" (y))
"1: ldq_u %0,%2\n" \
"2:\n" \
".section __ex_table,\"a\"\n" \
" .
gprel32 1b
\n" \
" .
long 1b - .
\n" \
" lda %0,2b-1b(%1)\n" \
".previous" \
: "=r"(x), "=r"(__guu_err) \
...
...
@@ -61,7 +61,7 @@ __asm__ __volatile__("insqh %1,%2,%0":"=r" (z):"r" (x),"r" (y))
"1: stq_u %2,%1\n" \
"2:\n" \
".section __ex_table,\"a\"\n" \
" .
gprel32 1b
" \
" .
long 1b - .
" \
" lda $31,2b-1b(%0)\n" \
".previous" \
: "=r"(__puu_err) \
...
...
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