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
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
.
=
ALIGN
(
4096
)
;
__init_begin
=
.
;
.
text.init
:
{
*(
.
text
.
ini
t
)
}
.
data.init
:
{
*(.
data.init
)
;
.
init.text
:
{
*(
.
init
.
tex
t
)
}
.
init.data
:
{
*(.
init.data
)
;
__vtop_table_begin
=
.
;
*(.
vtop_fixup
)
;
__vtop_table_end
=
.
;
...
...
@@ -99,7 +99,7 @@ SECTIONS
}
.
=
ALIGN
(
16
)
;
__setup_start
=
.
;
.
setup.init
:
{
*(
.
setup
.
init
)
}
.
init.setup
:
{
*(
.
init
.
setup
)
}
__setup_end
=
.
;
__initcall_start
=
.
;
.
initcall.init
:
{
...
...
@@ -121,29 +121,29 @@ SECTIONS
.
=
ALIGN
(
4096
)
;
__pmac_begin
=
.
;
.
text.pmac
:
{
*(
.
text
.
pmac
)
}
.
data.pmac
:
{
*(
.
data
.
pmac
)
}
.
pmac.text
:
{
*(
.
pmac
.
text
)
}
.
pmac.data
:
{
*(
.
pmac
.
data
)
}
.
=
ALIGN
(
4096
)
;
__pmac_end
=
.
;
.
=
ALIGN
(
4096
)
;
__prep_begin
=
.
;
.
text.prep
:
{
*(
.
text
.
prep
)
}
.
data.prep
:
{
*(
.
data
.
prep
)
}
.
prep.text
:
{
*(
.
prep
.
text
)
}
.
prep.data
:
{
*(
.
prep
.
data
)
}
.
=
ALIGN
(
4096
)
;
__prep_end
=
.
;
.
=
ALIGN
(
4096
)
;
__chrp_begin
=
.
;
.
text.chrp
:
{
*(
.
text
.
chrp
)
}
.
data.chrp
:
{
*(
.
data
.
chrp
)
}
.
chrp.text
:
{
*(
.
chrp
.
text
)
}
.
chrp.data
:
{
*(
.
chrp
.
data
)
}
.
=
ALIGN
(
4096
)
;
__chrp_end
=
.
;
.
=
ALIGN
(
4096
)
;
__openfirmware_begin
=
.
;
.
text.openfirmware
:
{
*(
.
text
.
openfirmware
)
}
.
data.openfirmware
:
{
*(
.
data
.
openfirmware
)
}
.
openfirmware.text
:
{
*(
.
openfirmware
.
text
)
}
.
openfirmware.data
:
{
*(
.
openfirmware
.
data
)
}
.
=
ALIGN
(
4096
)
;
__openfirmware_end
=
.
;
...
...
include/asm-ppc/sections.h
View file @
43a84310
...
...
@@ -2,27 +2,27 @@
#ifndef _PPC_SECTIONS_H
#define _PPC_SECTIONS_H
#define __pmac __attribute__ ((__section__ (".
text.pmac
")))
#define __pmacdata __attribute__ ((__section__ (".
data.pmac
")))
#define __pmac __attribute__ ((__section__ (".
pmac.text
")))
#define __pmacdata __attribute__ ((__section__ (".
pmac.data
")))
#define __pmacfunc(__argpmac) \
__argpmac __pmac; \
__argpmac
#define __prep __attribute__ ((__section__ (".
text.prep
")))
#define __prepdata __attribute__ ((__section__ (".
data.prep
")))
#define __prep __attribute__ ((__section__ (".
prep.text
")))
#define __prepdata __attribute__ ((__section__ (".
prep.data
")))
#define __prepfunc(__argprep) \
__argprep __prep; \
__argprep
#define __chrp __attribute__ ((__section__ (".
text.chrp
")))
#define __chrpdata __attribute__ ((__section__ (".
data.chrp
")))
#define __chrp __attribute__ ((__section__ (".
chrp.text
")))
#define __chrpdata __attribute__ ((__section__ (".
chrp.data
")))
#define __chrpfunc(__argchrp) \
__argchrp __chrp; \
__argchrp
/* this is actually just common chrp/pmac code, not OF code -- Cort */
#define __openfirmware __attribute__ ((__section__ (".
text.openfirmware
")))
#define __openfirmwaredata __attribute__ ((__section__ (".
data.openfirmware
")))
#define __openfirmware __attribute__ ((__section__ (".
openfirmware.text
")))
#define __openfirmwaredata __attribute__ ((__section__ (".
openfirmware.data
")))
#define __openfirmwarefunc(__argopenfirmware) \
__argopenfirmware __openfirmware; \
__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