runtime_loader: Fix #13799.
- Don't remove .eh_frame in the linker scripts, as this saves little space in practice, and results in debug binaries of the runtime loader not being properly debuggable due to missing canonical frame information.
This commit is contained in:
@@ -64,5 +64,5 @@ SECTIONS
|
||||
PROVIDE (_end = .);
|
||||
|
||||
/* Strip unnecessary stuff */
|
||||
/DISCARD/ : { *(.comment .note .eh_frame .dtors) }
|
||||
/DISCARD/ : { *(.comment .note .dtors) }
|
||||
}
|
||||
|
||||
@@ -59,5 +59,5 @@ SECTIONS
|
||||
PROVIDE (_end = .);
|
||||
|
||||
/* Strip unnecessary stuff */
|
||||
/DISCARD/ : { *(.comment .note .eh_frame .dtors) }
|
||||
/DISCARD/ : { *(.comment .note .dtors) }
|
||||
}
|
||||
|
||||
@@ -59,5 +59,5 @@ SECTIONS
|
||||
PROVIDE (_end = .);
|
||||
|
||||
/* Strip unnecessary stuff */
|
||||
/DISCARD/ : { *(.comment .note .eh_frame .dtors) }
|
||||
/DISCARD/ : { *(.comment .note .dtors) }
|
||||
}
|
||||
|
||||
@@ -59,5 +59,5 @@ SECTIONS
|
||||
PROVIDE (_end = .);
|
||||
|
||||
/* Strip unnecessary stuff */
|
||||
/DISCARD/ : { *(.comment .note .eh_frame .dtors) }
|
||||
/DISCARD/ : { *(.comment .note .dtors) }
|
||||
}
|
||||
|
||||
@@ -49,5 +49,5 @@ SECTIONS
|
||||
PROVIDE (_end = .);
|
||||
|
||||
/* Strip unnecessary stuff */
|
||||
/DISCARD/ : { *(.comment .note .eh_frame .dtors) }
|
||||
/DISCARD/ : { *(.comment .note .dtors) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user