build: Discard .eh_frame section in linker scripts to fix potential GNU toolchain miscompilation
This commit is contained in:
parent
031cd12458
commit
87fb40d034
@ -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