Skip to content

Commit bd12d2c

Browse files
committed
Create output section of .eh_frame to prevent automatic placing
The section should be unused, but we still keep it to be safe.
1 parent 382388e commit bd12d2c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

real_mode/linker.ld

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ SECTIONS {
5353
*(.got .got.*)
5454
}
5555

56+
.eh_frame :
57+
{
58+
_EH_FRAME = .;
59+
*(.eh_frame)
60+
}
61+
5662
.asm :
5763
{
5864
*(.second_stage)

0 commit comments

Comments
 (0)