[PATCH v3 2/2] bsps/aarch64: Resolve usage of SUBALIGN()
Kinsey Moore
kinsey.moore at oarcorp.com
Thu Mar 4 22:18:54 UTC 2021
There's some additional bsp_set_align cruft that I'll pull out when I commit this since it was exclusively used for SUBALIGN().
Kinsey
-----Original Message-----
From: Kinsey Moore <kinsey.moore at oarcorp.com>
Sent: Wednesday, March 3, 2021 07:37
To: devel at rtems.org
Cc: Kinsey Moore <kinsey.moore at oarcorp.com>
Subject: [PATCH v3 2/2] bsps/aarch64: Resolve usage of SUBALIGN()
Remove usage of SUBALIGN() in aarch64 linkcmds which works around a
difference in behavior on AArch64 platforms. This is no longer necessary
since alignment is now enforced explicitly.
Closes #4178.
---
bsps/aarch64/shared/start/linkcmds.base | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bsps/aarch64/shared/start/linkcmds.base b/bsps/aarch64/shared/start/linkcmds.base
index 294390870a..1768ed001a 100644
--- a/bsps/aarch64/shared/start/linkcmds.base
+++ b/bsps/aarch64/shared/start/linkcmds.base
@@ -245,7 +245,7 @@ SECTIONS {
.got : ALIGN_WITH_INPUT {
*(.got.plt) *(.igot.plt) *(.got) *(.igot)
} > REGION_RODATA AT > REGION_RODATA_LOAD
- .rtemsroset : ALIGN_WITH_INPUT SUBALIGN(bsp_set_align) {
+ .rtemsroset : ALIGN_WITH_INPUT {
/* Special FreeBSD linker set sections */
__start_set_sysctl_set = .;
*(set_sysctl_*);
@@ -299,7 +299,7 @@ SECTIONS {
.data1 : ALIGN_WITH_INPUT {
*(.data1)
} > REGION_DATA AT > REGION_DATA_LOAD
- .rtemsrwset : ALIGN_WITH_INPUT SUBALIGN(bsp_set_align) {
+ .rtemsrwset : ALIGN_WITH_INPUT {
KEEP (*(SORT(.rtemsrwset.*)))
bsp_section_data_end = .;
} > REGION_DATA AT > REGION_DATA_LOAD
--
2.20.1
More information about the devel
mailing list