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
cedcd56f
Commit
cedcd56f
authored
Feb 12, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/scratch/anton/linux-2.5_ppc64
into samba.org:/scratch/anton/sfr
parents
53761d5e
d5b5fb30
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
16 deletions
+1
-16
arch/ppc64/Kconfig
arch/ppc64/Kconfig
+0
-3
arch/ppc64/kernel/binfmt_elf32.c
arch/ppc64/kernel/binfmt_elf32.c
+1
-7
arch/ppc64/kernel/entry.S
arch/ppc64/kernel/entry.S
+0
-4
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/misc.S
+0
-2
No files found.
arch/ppc64/Kconfig
View file @
cedcd56f
...
@@ -187,9 +187,6 @@ config BINFMT_ELF
...
@@ -187,9 +187,6 @@ config BINFMT_ELF
executables used across different architectures and operating
executables used across different architectures and operating
systems.
systems.
config BINFMT_ELF32
tristate "Kernel support for 32-bit ELF binaries"
config BINFMT_MISC
config BINFMT_MISC
tristate "Kernel support for MISC binaries"
tristate "Kernel support for MISC binaries"
---help---
---help---
...
...
arch/ppc64/kernel/binfmt_elf32.c
View file @
cedcd56f
...
@@ -74,12 +74,6 @@ extern void start_thread32(struct pt_regs *, unsigned long, unsigned long);
...
@@ -74,12 +74,6 @@ extern void start_thread32(struct pt_regs *, unsigned long, unsigned long);
#define init_elf_binfmt init_elf32_binfmt
#define init_elf_binfmt init_elf32_binfmt
#undef CONFIG_BINFMT_ELF
#undef CONFIG_BINFMT_ELF
#ifdef CONFIG_BINFMT_ELF32
#define CONFIG_BINFMT_ELF 1
#define CONFIG_BINFMT_ELF CONFIG_BINFMT_ELF32
#endif
#undef CONFIG_BINFMT_ELF_MODULE
#ifdef CONFIG_BINFMT_ELF32_MODULE
#define CONFIG_BINFMT_ELF_MODULE CONFIG_BINFMT_ELF32_MODULE
#endif
#include "../../../fs/binfmt_elf.c"
#include "../../../fs/binfmt_elf.c"
arch/ppc64/kernel/entry.S
View file @
cedcd56f
...
@@ -102,7 +102,6 @@ _GLOBAL(DoSyscall)
...
@@ -102,7 +102,6 @@ _GLOBAL(DoSyscall)
*
Need
to
vector
to
32
Bit
or
default
sys_call_table
here
,
*
Need
to
vector
to
32
Bit
or
default
sys_call_table
here
,
*
based
on
caller
's run-mode / personality.
*
based
on
caller
's run-mode / personality.
*/
*/
#ifdef CONFIG_BINFMT_ELF32
andi
.
r11
,
r10
,
_TIF_32BIT
andi
.
r11
,
r10
,
_TIF_32BIT
beq
-
15
f
beq
-
15
f
ld
r10
,
.
SYS_CALL_TABLE32
@
toc
(
2
)
ld
r10
,
.
SYS_CALL_TABLE32
@
toc
(
2
)
...
@@ -118,7 +117,6 @@ _GLOBAL(DoSyscall)
...
@@ -118,7 +117,6 @@ _GLOBAL(DoSyscall)
clrldi
r8
,
r8
,
32
clrldi
r8
,
r8
,
32
b
17
f
b
17
f
15
:
15
:
#endif
ld
r10
,
.
SYS_CALL_TABLE
@
toc
(
2
)
ld
r10
,
.
SYS_CALL_TABLE
@
toc
(
2
)
17
:
slwi
r0
,
r0
,
3
17
:
slwi
r0
,
r0
,
3
ldx
r10
,
r10
,
r0
/*
Fetch
system
call
handler
[
ptr
]
*/
ldx
r10
,
r10
,
r0
/*
Fetch
system
call
handler
[
ptr
]
*/
...
@@ -171,7 +169,6 @@ _GLOBAL(ret_from_syscall_1)
...
@@ -171,7 +169,6 @@ _GLOBAL(ret_from_syscall_1)
*
Need
to
vector
to
32
Bit
or
default
sys_call_table
here
,
*
Need
to
vector
to
32
Bit
or
default
sys_call_table
here
,
*
based
on
caller
's run-mode / personality.
*
based
on
caller
's run-mode / personality.
*/
*/
#ifdef CONFIG_BINFMT_ELF32
clrrdi
r10
,
r1
,
THREAD_SHIFT
clrrdi
r10
,
r1
,
THREAD_SHIFT
ld
r10
,
TI_FLAGS
(
r10
)
ld
r10
,
TI_FLAGS
(
r10
)
andi
.
r11
,
r10
,
_TIF_32BIT
andi
.
r11
,
r10
,
_TIF_32BIT
...
@@ -189,7 +186,6 @@ _GLOBAL(ret_from_syscall_1)
...
@@ -189,7 +186,6 @@ _GLOBAL(ret_from_syscall_1)
clrldi
r8
,
r8
,
32
clrldi
r8
,
r8
,
32
b
57
f
b
57
f
55
:
55
:
#endif
ld
r10
,
.
SYS_CALL_TABLE
@
toc
(
2
)
ld
r10
,
.
SYS_CALL_TABLE
@
toc
(
2
)
57
:
57
:
slwi
r0
,
r0
,
3
slwi
r0
,
r0
,
3
...
...
arch/ppc64/kernel/misc.S
View file @
cedcd56f
...
@@ -499,7 +499,6 @@ SYSCALL(dup)
...
@@ -499,7 +499,6 @@ SYSCALL(dup)
SYSCALL
(
execve
)
SYSCALL
(
execve
)
SYSCALL
(
waitpid
)
SYSCALL
(
waitpid
)
#ifdef CONFIG_BINFMT_ELF32
/*
Why
isn
't this a) automatic, b) written in '
C
'? */
/*
Why
isn
't this a) automatic, b) written in '
C
'? */
.
balign
8
.
balign
8
_GLOBAL
(
sys_call_table32
)
_GLOBAL
(
sys_call_table32
)
...
@@ -747,7 +746,6 @@ _GLOBAL(sys_call_table32)
...
@@ -747,7 +746,6 @@ _GLOBAL(sys_call_table32)
.
rept
NR_syscalls
-
239
.
rept
NR_syscalls
-
239
.
llong
.
sys_ni_syscall
.
llong
.
sys_ni_syscall
.
endr
.
endr
#endif
.
balign
8
.
balign
8
_GLOBAL
(
sys_call_table
)
_GLOBAL
(
sys_call_table
)
...
...
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