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
566200cf
Commit
566200cf
authored
Nov 02, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/scratch/anton/linux-2.5
into samba.org:/scratch/anton/linux-2.5_ppc64_work
parents
b1b782f7
81e515c8
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
505 deletions
+25
-505
arch/ppc64/boot/Makefile
arch/ppc64/boot/Makefile
+15
-2
arch/ppc64/kernel/ioctl32.c
arch/ppc64/kernel/ioctl32.c
+0
-478
arch/ppc64/vmlinux.lds.S
arch/ppc64/vmlinux.lds.S
+9
-24
include/asm-ppc64/unistd.h
include/asm-ppc64/unistd.h
+1
-1
No files found.
arch/ppc64/boot/Makefile
View file @
566200cf
...
...
@@ -29,9 +29,22 @@ BOOTLD = $(CROSS32_COMPILE)ld
BOOTAS
=
$(CROSS32_COMPILE)
as
BOOTAFLAGS
=
-D__ASSEMBLY__
$(HOSTCFLAGS)
.c.o
:
$(obj)/start.o
:
$(obj)/start.c
$(BOOTCC)
$(BOOTCFLAGS)
-c
-o
$*
.o
$<
.S.o
:
$(obj)/main.o
:
$(obj)/main.c
$(BOOTCC)
$(BOOTCFLAGS)
-c
-o
$*
.o
$<
$(obj)/zlib.o
:
$(obj)/zlib.c
$(BOOTCC)
$(BOOTCFLAGS)
-c
-o
$*
.o
$<
$(obj)/imagesize.o
:
$(obj)/imagesize.c
$(BOOTCC)
$(BOOTCFLAGS)
-c
-o
$*
.o
$<
$(obj)/no_initrd.o
:
$(obj)/no_initrd.c
$(BOOTCC)
$(BOOTCFLAGS)
-c
-o
$*
.o
$<
$(obj)/crt0.o
:
$(obj)/crt0.S
$(BOOTCC)
$(BOOTAFLAGS)
-traditional
-c
-o
$*
.o
$<
CFLAGS
=
$(CPPFLAGS)
-O
-fno-builtin
-DSTDC_HEADERS
...
...
arch/ppc64/kernel/ioctl32.c
View file @
566200cf
This diff is collapsed.
Click to expand it.
arch/ppc64/vmlinux.lds.S
View file @
566200cf
OUTPUT_ARCH
(
powerpc
:
common64
)
SEARCH_DIR
(/
lib
)
; SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
/*
Do
we
need
any
of
these
for
elf
?
__DYNAMIC
=
0
; */
jiffies
=
jiffies_64
;
...
...
@@ -62,7 +61,6 @@ SECTIONS
_edata
=
.
;
PROVIDE
(
edata
=
.
)
;
.
fixup
:
{
*(
.
fixup
)
}
__start___ex_table
=
.
;
__ex_table
:
{
*(
__ex_table
)
}
__stop___ex_table
=
.
;
...
...
@@ -70,6 +68,7 @@ SECTIONS
__start___ksymtab
=
.
; /* Kernel symbol table */
__ksymtab
:
{
*(
__ksymtab
)
}
__stop___ksymtab
=
.
;
__start___kallsyms
=
.
; /* All kernel symbols */
__kallsyms
:
{
*(
__kallsyms
)
}
__stop___kallsyms
=
.
;
...
...
@@ -83,21 +82,14 @@ SECTIONS
.
=
ALIGN
(
128
)
;
.
data.
cacheline_aligned
:
{
*(
.
data
.
cacheline_aligned
)
}
/
*
will
be
freed
after
init
*/
.
=
ALIGN
(
4096
)
;
__init_begin
=
.
;
.
text.init
:
{
*(
.
text
.
init
)
}
.
data.init
:
{
*(.
data.init
)
;
__vtop_table_begin
=
.
;
*(.
vtop_fixup
)
;
__vtop_table_end
=
.
;
__ptov_table_begin
=
.
;
*(.
ptov_fixup
)
;
__ptov_table_end
=
.
;
}
.
init.text
:
{
*(
.
init
.
text
)
}
.
init.data
:
{
*(
.
init
.
data
)
}
.
=
ALIGN
(
16
)
;
__setup_start
=
.
;
.
setup.init
:
{
*(
.
setup
.
init
)
}
.
init.setup
:
{
*(
.
init
.
setup
)
}
__setup_end
=
.
;
__initcall_start
=
.
;
.
initcall.init
:
{
...
...
@@ -116,23 +108,16 @@ SECTIONS
__per_cpu_end
=
.
;
.
=
ALIGN
(
4096
)
;
__init_end
=
.
;
/
*
freed
after
init
ends
here
*/
__toc_start
=
.
;
.
toc
:
{
*(.
toc
)
}
.
toc
:
{
*(
.
toc
)
}
.
=
ALIGN
(
4096
)
;
__toc_end
=
.
;
__bss_start
=
.
;
.
bss
:
{
*(.
sbss
)
*(
.
scommon
)
*(.
dynbss
)
*(.
bss
)
*(
COMMON
)
}
.
bss
:
{
*(
.
bss
)
}
__bss_stop
=
.
;
.
=
ALIGN
(
4096
)
;
_end
=
.
;
...
...
include/asm-ppc64/unistd.h
View file @
566200cf
...
...
@@ -450,6 +450,6 @@ static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
* What we want is __attribute__((weak,alias("sys_ni_syscall"))),
* but it doesn't work on all toolchains, so we just do it by hand
*/
#define cond_syscall(x) asm(".weak\t." #x "\n\t.set\t." #x ",sys_ni_syscall")
;
#define cond_syscall(x) asm(".weak\t." #x "\n\t.set\t." #x ",
.
sys_ni_syscall")
;
#endif
/* _ASM_PPC_UNISTD_H_ */
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