arm64: Define the .iplt section placement.

Ensure that the .plt and .ipld sections are in the executable memory segment.

MFC after:	1 week
Reviewed by:    andrew
Differential Revision: https://reviews.freebsd.org/D56403
This commit is contained in:
Michal Meloun
2026-04-15 11:32:54 +02:00
parent 18b7115cba
commit 1dddb580f9
+6 -1
View File
@@ -15,6 +15,12 @@ SECTIONS
*(.gnu.warning)
*(.gnu.linkonce.t*)
} =0x9090
.plt :
{
*(.plt)
*(.iplt)
}
/*
* Align to the the largest page size the kernel could be built for.
* If we don't then building page tables in locore.S could fail as it
@@ -66,7 +72,6 @@ SECTIONS
.rel.plt : { *(.rel.plt) }
.rela.plt : { *(.rela.plt) }
.init : { *(.init) } =0x9090
.plt : { *(.plt) }
. = ALIGN(4);
_extab_start = .;