linker.ld: Sigh. Workaround for Debian and friends

This commit is contained in:
mintsuki 2022-06-26 21:22:48 +02:00
parent ac82b7e5cc
commit 3a71b67038

View file

@ -32,6 +32,11 @@ SECTIONS
/* Move to the next memory page for .data */ /* Move to the next memory page for .data */
. += CONSTANT(MAXPAGESIZE); . += CONSTANT(MAXPAGESIZE);
/* Not placing this here may cause trouble on some hosts */
.note.gnu.build-id : {
*(.note.gnu.build-id)
} :data
.data : { .data : {
*(.data .data.*) *(.data .data.*)
} :data } :data