Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KED ARM trusted-firmware Fork
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KED Software Projects
Miscellaneous
KED ARM trusted-firmware Fork
Commits
568a8817
Commit
568a8817
authored
4 years ago
by
Sandrine Bailleux
Committed by
TrustedFirmware Code Review
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge "linker_script: move .rela.dyn section to bl_common.ld.h" into integration
parents
1ba168cf
e8ad6168
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
bl2/bl2_el3.ld.S
+1
-11
1 addition, 11 deletions
bl2/bl2_el3.ld.S
bl31/bl31.ld.S
+1
-11
1 addition, 11 deletions
bl31/bl31.ld.S
bl32/tsp/tsp.ld.S
+1
-11
1 addition, 11 deletions
bl32/tsp/tsp.ld.S
include/common/bl_common.ld.h
+11
-0
11 additions, 0 deletions
include/common/bl_common.ld.h
with
14 additions
and
33 deletions
bl2/bl2_el3.ld.S
+
1
−
11
View file @
568a8817
...
...
@@ -105,17 +105,7 @@ SECTIONS
__DATA_RAM_START__
=
__DATA_START__
;
__DATA_RAM_END__
=
__DATA_END__
;
/
*
*
.
rela
.
dyn
needs
to
come
after
.
data
for
the
read
-
elf
utility
to
parse
*
this
section
correctly
.
Ensure
8
-
byte
alignment
so
that
the
fields
of
*
RELA
data
structure
are
aligned
.
*/
.
=
ALIGN
(
8
)
;
__RELA_START__
=
.
;
.
rela.dyn
.
:
{
}
>
RAM
__RELA_END__
=
.
;
RELA_SECTION
>
RAM
STACK_SECTION
>
RAM
BSS_SECTION
>
RAM
XLAT_TABLE_SECTION
>
RAM
...
...
This diff is collapsed.
Click to expand it.
bl31/bl31.ld.S
+
1
−
11
View file @
568a8817
...
...
@@ -115,17 +115,7 @@ SECTIONS
__RW_START__
=
.
;
DATA_SECTION
>
RAM
/
*
*
.
rela
.
dyn
needs
to
come
after
.
data
for
the
read
-
elf
utility
to
parse
*
this
section
correctly
.
Ensure
8
-
byte
alignment
so
that
the
fields
of
*
RELA
data
structure
are
aligned
.
*/
.
=
ALIGN
(
8
)
;
__RELA_START__
=
.
;
.
rela.dyn
.
:
{
}
>
RAM
__RELA_END__
=
.
;
RELA_SECTION
>
RAM
#ifdef BL31_PROGBITS_LIMIT
ASSERT
(.
<=
BL31_PROGBITS_LIMIT
,
"BL31 progbits has exceeded its limit."
)
...
...
This diff is collapsed.
Click to expand it.
bl32/tsp/tsp.ld.S
+
1
−
11
View file @
568a8817
...
...
@@ -71,17 +71,7 @@ SECTIONS
__RW_START__
=
.
;
DATA_SECTION
>
RAM
/
*
*
.
rela
.
dyn
needs
to
come
after
.
data
for
the
read
-
elf
utility
to
parse
*
this
section
correctly
.
Ensure
8
-
byte
alignment
so
that
the
fields
of
*
RELA
data
structure
are
aligned
.
*/
.
=
ALIGN
(
8
)
;
__RELA_START__
=
.
;
.
rela.dyn
.
:
{
}
>
RAM
__RELA_END__
=
.
;
RELA_SECTION
>
RAM
#ifdef TSP_PROGBITS_LIMIT
ASSERT
(.
<=
TSP_PROGBITS_LIMIT
,
"TSP progbits has exceeded its limit."
)
...
...
This diff is collapsed.
Click to expand it.
include/common/bl_common.ld.h
+
11
−
0
View file @
568a8817
...
...
@@ -101,6 +101,17 @@
__DATA_END__ = .; \
}
/*
* .rela.dyn needs to come after .data for the read-elf utility to parse
* this section correctly.
*/
#define RELA_SECTION \
.rela.dyn : ALIGN(STRUCT_ALIGN) { \
__RELA_START__ = .; \
*(.rela*) \
__RELA_END__ = .; \
}
#if !(defined(IMAGE_BL31) && RECLAIM_INIT_CODE)
#define STACK_SECTION \
stacks (NOLOAD) : { \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment