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