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
10d7cd2a
Commit
10d7cd2a
authored
May 14, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Desupport GCC 2.96 and everything older.
parent
57f5a17e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
55 deletions
+3
-55
arch/ia64/Makefile
arch/ia64/Makefile
+1
-1
arch/ia64/kernel/entry.S
arch/ia64/kernel/entry.S
+0
-29
arch/ia64/kernel/perfmon.c
arch/ia64/kernel/perfmon.c
+1
-11
arch/ia64/lib/memcpy_mck.S
arch/ia64/lib/memcpy_mck.S
+1
-5
include/asm-ia64/asmmacro.h
include/asm-ia64/asmmacro.h
+0
-9
No files found.
arch/ia64/Makefile
View file @
10d7cd2a
...
@@ -36,7 +36,7 @@ $(error Sorry, you need a newer version of the assember, one that is built from
...
@@ -36,7 +36,7 @@ $(error Sorry, you need a newer version of the assember, one that is built from
endif
endif
ifneq
($(GCC_VERSION),2)
ifneq
($(GCC_VERSION),2)
cflags-$(CONFIG_ITANIUM)
+=
-frename-registers
$(error
Sorry,
your
compiler
is
too
old.
GCC
v2.96
is
known
to
generate
bad
code.)
endif
endif
ifeq
($(GCC_VERSION),3)
ifeq
($(GCC_VERSION),3)
...
...
arch/ia64/kernel/entry.S
View file @
10d7cd2a
...
@@ -829,11 +829,7 @@ skip_rbs_switch:
...
@@ -829,11 +829,7 @@ skip_rbs_switch:
ssm
psr
.
i
//
enable
interrupts
ssm
psr
.
i
//
enable
interrupts
#endif
#endif
#if __GNUC__ < 3
br.call.spnt.many
rp
=
invoke_schedule
#else
br.call.spnt.many
rp
=
schedule
br.call.spnt.many
rp
=
schedule
#endif
.
ret9
:
cmp.eq
p6
,
p0
=
r0
,
r0
//
p6
<-
1
.
ret9
:
cmp.eq
p6
,
p0
=
r0
,
r0
//
p6
<-
1
rsm
psr
.
i
//
disable
interrupts
rsm
psr
.
i
//
disable
interrupts
;;
;;
...
@@ -892,31 +888,6 @@ GLOBAL_ENTRY(ia64_invoke_schedule_tail)
...
@@ -892,31 +888,6 @@ GLOBAL_ENTRY(ia64_invoke_schedule_tail)
br.ret.sptk.many
rp
br.ret.sptk.many
rp
END
(
ia64_invoke_schedule_tail
)
END
(
ia64_invoke_schedule_tail
)
#if __GNUC__ < 3
/
*
*
Invoke
schedule
()
while
preserving
in0
-
in7
,
which
may
be
needed
*
in
case
a
system
call
gets
restarted
.
Note
that
declaring
schedule
()
*
with
asmlinkage
()
is
NOT
enough
because
that
will
only
preserve
as
many
*
registers
as
there
are
formal
arguments
.
*
*
XXX
fix
me
:
with
gcc
3
.0
,
we
won
't need this anymore because syscall_linkage
*
renders
all
eight
input
registers
(
in0
-
in7
)
as
"untouchable"
.
*/
ENTRY
(
invoke_schedule
)
.
prologue
ASM_UNW_PRLG_RP
|
ASM_UNW_PRLG_PFS
,
ASM_UNW_PRLG_GRSAVE
(
8
)
alloc
loc1
=
ar
.
pfs
,
8
,
2
,
0
,
0
mov
loc0
=
rp
;;
.
body
br.call.sptk.many
rp
=
schedule
.
ret14
:
mov
ar
.
pfs
=
loc1
mov
rp
=
loc0
br.ret.sptk.many
rp
END
(
invoke_schedule
)
#endif /* __GNUC__ < 3 */
/
*
/
*
*
Setup
stack
and
call
do_notify_resume_user
()
.
Note
that
pSys
and
pNonSys
need
to
*
Setup
stack
and
call
do_notify_resume_user
()
.
Note
that
pSys
and
pNonSys
need
to
*
be
set
up
by
the
caller
.
We
declare
8
input
registers
so
the
system
call
*
be
set
up
by
the
caller
.
We
declare
8
input
registers
so
the
system
call
...
...
arch/ia64/kernel/perfmon.c
View file @
10d7cd2a
...
@@ -1636,10 +1636,6 @@ pfm_read_pmds(struct task_struct *task, pfm_context_t *ctx, void *arg, int count
...
@@ -1636,10 +1636,6 @@ pfm_read_pmds(struct task_struct *task, pfm_context_t *ctx, void *arg, int count
unsigned
int
cnum
,
reg_flags
=
0
;
unsigned
int
cnum
,
reg_flags
=
0
;
int
i
,
ret
=
0
;
int
i
,
ret
=
0
;
#if __GNUC__ < 3
int
foo
;
#endif
if
(
!
CTX_IS_ENABLED
(
ctx
))
return
-
EINVAL
;
if
(
!
CTX_IS_ENABLED
(
ctx
))
return
-
EINVAL
;
/*
/*
...
@@ -1655,15 +1651,9 @@ pfm_read_pmds(struct task_struct *task, pfm_context_t *ctx, void *arg, int count
...
@@ -1655,15 +1651,9 @@ pfm_read_pmds(struct task_struct *task, pfm_context_t *ctx, void *arg, int count
for
(
i
=
0
;
i
<
count
;
i
++
,
req
++
)
{
for
(
i
=
0
;
i
<
count
;
i
++
,
req
++
)
{
int
me
;
int
me
;
#if __GNUC__ < 3
foo
=
__get_user
(
cnum
,
&
req
->
reg_num
);
if
(
foo
)
return
-
EFAULT
;
foo
=
__get_user
(
reg_flags
,
&
req
->
reg_flags
);
if
(
foo
)
return
-
EFAULT
;
#else
if
(
__get_user
(
cnum
,
&
req
->
reg_num
))
return
-
EFAULT
;
if
(
__get_user
(
cnum
,
&
req
->
reg_num
))
return
-
EFAULT
;
if
(
__get_user
(
reg_flags
,
&
req
->
reg_flags
))
return
-
EFAULT
;
if
(
__get_user
(
reg_flags
,
&
req
->
reg_flags
))
return
-
EFAULT
;
#endif
lval
=
0UL
;
lval
=
0UL
;
if
(
!
PMD_IS_IMPL
(
cnum
))
goto
abort_mission
;
if
(
!
PMD_IS_IMPL
(
cnum
))
goto
abort_mission
;
...
...
arch/ia64/lib/memcpy_mck.S
View file @
10d7cd2a
...
@@ -15,11 +15,7 @@
...
@@ -15,11 +15,7 @@
#include <asm/asmmacro.h>
#include <asm/asmmacro.h>
#include <asm/page.h>
#include <asm/page.h>
#if __GNUC__ >= 3
#define EK(y...) EX(y)
# define EK(y...) EX(y)
#else
# define EK(y,x...) x
#endif
GLOBAL_ENTRY
(
bcopy
)
GLOBAL_ENTRY
(
bcopy
)
.
regstk
3
,
0
,
0
,
0
.
regstk
3
,
0
,
0
,
0
...
...
include/asm-ia64/asmmacro.h
View file @
10d7cd2a
...
@@ -43,21 +43,12 @@
...
@@ -43,21 +43,12 @@
.
section
"__ex_table"
,
"a"
// declare section & section attributes
.
section
"__ex_table"
,
"a"
// declare section & section attributes
.
previous
.
previous
#if __GNUC__ >= 3
# define EX(y,x...) \
# define EX(y,x...) \
.xdata4 "__ex_table", 99f-., y-.; \
.xdata4 "__ex_table", 99f-., y-.; \
[99:] x
[99:] x
# define EXCLR(y,x...) \
# define EXCLR(y,x...) \
.xdata4 "__ex_table", 99f-., y-.+4; \
.xdata4 "__ex_table", 99f-., y-.+4; \
[99:] x
[99:] x
#else
# define EX(y,x...) \
.xdata4 "__ex_table", 99f-., y-.; \
99: x
# define EXCLR(y,x...) \
.xdata4 "__ex_table", 99f-., y-.+4; \
99: x
#endif
/*
/*
* For now, we always put in the McKinley E9 workaround. On CPUs that don't need it,
* For now, we always put in the McKinley E9 workaround. On CPUs that don't need it,
...
...
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