mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-24 14:56:49 +03:00
build: Discard .eh_frame section in linker scripts to fix potential GNU toolchain miscompilation
This commit is contained in:
parent
fb2a6e1f29
commit
17e23dd7f6
@ -84,6 +84,7 @@ SECTIONS
|
||||
} :data_s3
|
||||
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.note .note.*)
|
||||
}
|
||||
}
|
||||
|
@ -85,6 +85,7 @@ SECTIONS
|
||||
__image_end = __data_end;
|
||||
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.note .note.*)
|
||||
}
|
||||
}
|
||||
|
@ -85,6 +85,7 @@ SECTIONS
|
||||
__image_end = __data_end;
|
||||
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.note .note.*)
|
||||
}
|
||||
}
|
||||
|
@ -30,6 +30,7 @@ SECTIONS
|
||||
} :data
|
||||
|
||||
/DISCARD/ : {
|
||||
*(.eh_frame)
|
||||
*(.note .note.*)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user