Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
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
Service Desk
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
Jack Humbert
reform-boundary-uboot
Commits
66463e60
Commit
66463e60
authored
13 years ago
by
Michael Schwingen
Committed by
Albert ARIBAUD
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
use -ffunction-sections / --gc-sections on IXP42x
Signed-off-by:
Michael Schwingen
<
michael@schwingen.org
>
parent
363613a0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/arm/cpu/ixp/config.mk
+5
-0
5 additions, 0 deletions
arch/arm/cpu/ixp/config.mk
arch/arm/cpu/ixp/u-boot.lds
+4
-4
4 additions, 4 deletions
arch/arm/cpu/ixp/u-boot.lds
with
9 additions
and
4 deletions
arch/arm/cpu/ixp/config.mk
+
5
−
0
View file @
66463e60
...
@@ -27,6 +27,11 @@ BIG_ENDIAN = y
...
@@ -27,6 +27,11 @@ BIG_ENDIAN = y
PLATFORM_RELFLAGS
+=
-fno-common
-ffixed-r8
-msoft-float
-mbig-endian
PLATFORM_RELFLAGS
+=
-fno-common
-ffixed-r8
-msoft-float
-mbig-endian
PLATFORM_CPPFLAGS
+=
-mbig-endian
-march
=
armv5te
-mtune
=
strongarm1100
PLATFORM_CPPFLAGS
+=
-mbig-endian
-march
=
armv5te
-mtune
=
strongarm1100
# -fdata-sections triggers "section .bss overlaps section .rel.dyn" linker error
PLATFORM_RELFLAGS
+=
-ffunction-sections
LDFLAGS_u-boot
+=
--gc-sections
# =========================================================================
# =========================================================================
#
#
# Supply options according to compiler version
# Supply options according to compiler version
...
...
This diff is collapsed.
Click to expand it.
arch/arm/cpu/ixp/u-boot.lds
+
4
−
4
View file @
66463e60
...
@@ -31,8 +31,8 @@ SECTIONS
...
@@ -31,8 +31,8 @@ SECTIONS
. = ALIGN(4);
. = ALIGN(4);
.text :
.text :
{
{
arch/arm/cpu/ixp/start.o(.text)
arch/arm/cpu/ixp/start.o(.text
*
)
*(.text)
*(.text
*
)
}
}
. = ALIGN(4);
. = ALIGN(4);
...
@@ -40,7 +40,7 @@ SECTIONS
...
@@ -40,7 +40,7 @@ SECTIONS
. = ALIGN(4);
. = ALIGN(4);
.data : {
.data : {
*(.data)
*(.data
*
)
}
}
. = ALIGN(4);
. = ALIGN(4);
...
@@ -67,7 +67,7 @@ SECTIONS
...
@@ -67,7 +67,7 @@ SECTIONS
.bss __rel_dyn_start (OVERLAY) : {
.bss __rel_dyn_start (OVERLAY) : {
__bss_start = .;
__bss_start = .;
*(.bss)
*(.bss
*
)
. = ALIGN(4);
. = ALIGN(4);
__bss_end__ = .;
__bss_end__ = .;
}
}
...
...
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