mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 03:42:04 +01:00
loader/kboot: simplify linker set inclusion a little
Linker set sections are included by default. No need to do so explicitly. These were bogusly copied from the efi ldscripts. They were there due to a workaround introduced in 2002 by peter@ for a gcc upgrade, but whatever bugs necessitated it were filed by 2010 when rpaulo@ imported the i386 support (though they were copied even though the objcopy retained them correctly, the gcc bug having been fixed). They've never been needed. Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44060
This commit is contained in:
parent
3d6239d244
commit
ec6cbe468f
@ -34,17 +34,6 @@ SECTIONS
|
||||
*(COMMON)
|
||||
}
|
||||
. = ALIGN(4096);
|
||||
set_Xcommand_set : {
|
||||
__start_set_Xcommand_set = .;
|
||||
*(set_Xcommand_set)
|
||||
__stop_set_Xcommand_set = .;
|
||||
}
|
||||
set_Xficl_compile_set : {
|
||||
__start_set_Xficl_compile_set = .;
|
||||
*(set_Xficl_compile_set)
|
||||
__stop_set_Xficl_compile_set = .;
|
||||
}
|
||||
. = ALIGN(4096);
|
||||
__gp = .;
|
||||
.sdata : {
|
||||
*(.got.plt .got)
|
||||
|
@ -34,17 +34,6 @@ SECTIONS
|
||||
*(COMMON)
|
||||
}
|
||||
. = ALIGN(4096);
|
||||
set_Xcommand_set : {
|
||||
__start_set_Xcommand_set = .;
|
||||
*(set_Xcommand_set)
|
||||
__stop_set_Xcommand_set = .;
|
||||
}
|
||||
set_Xficl_compile_set : {
|
||||
__start_set_Xficl_compile_set = .;
|
||||
*(set_Xficl_compile_set)
|
||||
__stop_set_Xficl_compile_set = .;
|
||||
}
|
||||
. = ALIGN(4096);
|
||||
__gp = .;
|
||||
.sdata : {
|
||||
*(.got.plt .got)
|
||||
|
Loading…
Reference in New Issue
Block a user