lds: Move build-id inside limine.sys size area

This commit is contained in:
mintsuki 2021-12-22 00:10:43 +01:00
parent 438a38c7e1
commit 9d6121038d
4 changed files with 5 additions and 9 deletions

View File

@ -48,11 +48,11 @@ SECTIONS
*(.no_unwind)
data_begin = .;
*(.data .data.*)
limine_sys_size = . - 0x8000;
}
.note.gnu.build-id : {
*(.note.gnu.build-id)
limine_sys_size = . - 0x8000;
}
.bss : {

View File

@ -48,11 +48,11 @@ SECTIONS
*(.no_unwind)
data_begin = .;
*(.data .data.*)
limine_sys_size = . - 0x8000;
}
.note.gnu.build-id : {
*(.note.gnu.build-id)
limine_sys_size = . - 0x8000;
}
.bss : {

View File

@ -48,11 +48,11 @@ SECTIONS
*(.no_unwind)
data_begin = .;
*(.data .data.*)
limine_sys_size = . - 0x8000;
}
.note.gnu.build-id : {
*(.note.gnu.build-id)
limine_sys_size = . - 0x8000;
}
.bss : {

View File

@ -31,8 +31,8 @@ SECTIONS
*.s2.o(.rodata .rodata.*)
stage2_map = .;
stage3_common = .;
build_id_s3 = .;
full_map = .;
limine_sys_size = .;
getchar_internal = .;
getchar = .;
menu = .;
@ -40,13 +40,9 @@ SECTIONS
data_begin = .;
}
.stage3.build-id : {
build_id_s3 = .;
*build-id.s3.o(*)
}
.note.gnu.build-id : {
*(.note.gnu.build-id)
limine_sys_size = . - 0x8000;
}
.bss : {