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
43a84310
Commit
43a84310
authored
Oct 19, 2002
by
Tom Rini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PPC32: Update section names to .foo.text/.foo.data form.
parent
60db5f20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
20 deletions
+20
-20
arch/ppc/vmlinux.lds.S
arch/ppc/vmlinux.lds.S
+12
-12
include/asm-ppc/sections.h
include/asm-ppc/sections.h
+8
-8
No files found.
arch/ppc/vmlinux.lds.S
View file @
43a84310
...
@@ -87,9 +87,9 @@ SECTIONS
...
@@ -87,9 +87,9 @@ SECTIONS
.
=
ALIGN
(
4096
)
;
.
=
ALIGN
(
4096
)
;
__init_begin
=
.
;
__init_begin
=
.
;
.
text.init
:
{
*(
.
text
.
ini
t
)
}
.
init.text
:
{
*(
.
init
.
tex
t
)
}
.
data.init
:
{
.
init.data
:
{
*(.
data.init
)
;
*(.
init.data
)
;
__vtop_table_begin
=
.
;
__vtop_table_begin
=
.
;
*(.
vtop_fixup
)
;
*(.
vtop_fixup
)
;
__vtop_table_end
=
.
;
__vtop_table_end
=
.
;
...
@@ -99,7 +99,7 @@ SECTIONS
...
@@ -99,7 +99,7 @@ SECTIONS
}
}
.
=
ALIGN
(
16
)
;
.
=
ALIGN
(
16
)
;
__setup_start
=
.
;
__setup_start
=
.
;
.
setup.init
:
{
*(
.
setup
.
init
)
}
.
init.setup
:
{
*(
.
init
.
setup
)
}
__setup_end
=
.
;
__setup_end
=
.
;
__initcall_start
=
.
;
__initcall_start
=
.
;
.
initcall.init
:
{
.
initcall.init
:
{
...
@@ -121,29 +121,29 @@ SECTIONS
...
@@ -121,29 +121,29 @@ SECTIONS
.
=
ALIGN
(
4096
)
;
.
=
ALIGN
(
4096
)
;
__pmac_begin
=
.
;
__pmac_begin
=
.
;
.
text.pmac
:
{
*(
.
text
.
pmac
)
}
.
pmac.text
:
{
*(
.
pmac
.
text
)
}
.
data.pmac
:
{
*(
.
data
.
pmac
)
}
.
pmac.data
:
{
*(
.
pmac
.
data
)
}
.
=
ALIGN
(
4096
)
;
.
=
ALIGN
(
4096
)
;
__pmac_end
=
.
;
__pmac_end
=
.
;
.
=
ALIGN
(
4096
)
;
.
=
ALIGN
(
4096
)
;
__prep_begin
=
.
;
__prep_begin
=
.
;
.
text.prep
:
{
*(
.
text
.
prep
)
}
.
prep.text
:
{
*(
.
prep
.
text
)
}
.
data.prep
:
{
*(
.
data
.
prep
)
}
.
prep.data
:
{
*(
.
prep
.
data
)
}
.
=
ALIGN
(
4096
)
;
.
=
ALIGN
(
4096
)
;
__prep_end
=
.
;
__prep_end
=
.
;
.
=
ALIGN
(
4096
)
;
.
=
ALIGN
(
4096
)
;
__chrp_begin
=
.
;
__chrp_begin
=
.
;
.
text.chrp
:
{
*(
.
text
.
chrp
)
}
.
chrp.text
:
{
*(
.
chrp
.
text
)
}
.
data.chrp
:
{
*(
.
data
.
chrp
)
}
.
chrp.data
:
{
*(
.
chrp
.
data
)
}
.
=
ALIGN
(
4096
)
;
.
=
ALIGN
(
4096
)
;
__chrp_end
=
.
;
__chrp_end
=
.
;
.
=
ALIGN
(
4096
)
;
.
=
ALIGN
(
4096
)
;
__openfirmware_begin
=
.
;
__openfirmware_begin
=
.
;
.
text.openfirmware
:
{
*(
.
text
.
openfirmware
)
}
.
openfirmware.text
:
{
*(
.
openfirmware
.
text
)
}
.
data.openfirmware
:
{
*(
.
data
.
openfirmware
)
}
.
openfirmware.data
:
{
*(
.
openfirmware
.
data
)
}
.
=
ALIGN
(
4096
)
;
.
=
ALIGN
(
4096
)
;
__openfirmware_end
=
.
;
__openfirmware_end
=
.
;
...
...
include/asm-ppc/sections.h
View file @
43a84310
...
@@ -2,27 +2,27 @@
...
@@ -2,27 +2,27 @@
#ifndef _PPC_SECTIONS_H
#ifndef _PPC_SECTIONS_H
#define _PPC_SECTIONS_H
#define _PPC_SECTIONS_H
#define __pmac __attribute__ ((__section__ (".
text.pmac
")))
#define __pmac __attribute__ ((__section__ (".
pmac.text
")))
#define __pmacdata __attribute__ ((__section__ (".
data.pmac
")))
#define __pmacdata __attribute__ ((__section__ (".
pmac.data
")))
#define __pmacfunc(__argpmac) \
#define __pmacfunc(__argpmac) \
__argpmac __pmac; \
__argpmac __pmac; \
__argpmac
__argpmac
#define __prep __attribute__ ((__section__ (".
text.prep
")))
#define __prep __attribute__ ((__section__ (".
prep.text
")))
#define __prepdata __attribute__ ((__section__ (".
data.prep
")))
#define __prepdata __attribute__ ((__section__ (".
prep.data
")))
#define __prepfunc(__argprep) \
#define __prepfunc(__argprep) \
__argprep __prep; \
__argprep __prep; \
__argprep
__argprep
#define __chrp __attribute__ ((__section__ (".
text.chrp
")))
#define __chrp __attribute__ ((__section__ (".
chrp.text
")))
#define __chrpdata __attribute__ ((__section__ (".
data.chrp
")))
#define __chrpdata __attribute__ ((__section__ (".
chrp.data
")))
#define __chrpfunc(__argchrp) \
#define __chrpfunc(__argchrp) \
__argchrp __chrp; \
__argchrp __chrp; \
__argchrp
__argchrp
/* this is actually just common chrp/pmac code, not OF code -- Cort */
/* this is actually just common chrp/pmac code, not OF code -- Cort */
#define __openfirmware __attribute__ ((__section__ (".
text.openfirmware
")))
#define __openfirmware __attribute__ ((__section__ (".
openfirmware.text
")))
#define __openfirmwaredata __attribute__ ((__section__ (".
data.openfirmware
")))
#define __openfirmwaredata __attribute__ ((__section__ (".
openfirmware.data
")))
#define __openfirmwarefunc(__argopenfirmware) \
#define __openfirmwarefunc(__argopenfirmware) \
__argopenfirmware __openfirmware; \
__argopenfirmware __openfirmware; \
__argopenfirmware
__argopenfirmware
...
...
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