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