mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
ld: do not remove debug sections from ELF files
They are already removed by objcopy when converting to a flat binary because they don't have the LOAD flag.
This commit is contained in:
parent
4df3d69d8c
commit
5461d54083
2 changed files with 0 additions and 8 deletions
|
@ -225,10 +225,6 @@ SECTIONS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/DISCARD/ : {
|
/DISCARD/ : {
|
||||||
/* Debug sections (often from libgcc) */
|
|
||||||
*(.debug_info .debug_abbrev .debug_loc .debug_aranges
|
|
||||||
.debug_ranges .debug_line .debug_str .debug_frame
|
|
||||||
.debug_loclists .debug_rnglists)
|
|
||||||
/* Java class registration (why are they even here?!) */
|
/* Java class registration (why are they even here?!) */
|
||||||
*(.jcr)
|
*(.jcr)
|
||||||
/* Asynchronous unwind tables: no C++ exception handling */
|
/* Asynchronous unwind tables: no C++ exception handling */
|
||||||
|
|
|
@ -176,10 +176,6 @@ SECTIONS
|
||||||
/DISCARD/ : {
|
/DISCARD/ : {
|
||||||
/* SH3-only data sections */
|
/* SH3-only data sections */
|
||||||
*(.gint.data.sh3 .gint.bss.sh3)
|
*(.gint.data.sh3 .gint.bss.sh3)
|
||||||
/* Debug sections (often from libgcc) */
|
|
||||||
*(.debug_info .debug_abbrev .debug_loc .debug_aranges
|
|
||||||
.debug_ranges .debug_line .debug_str .debug_frame
|
|
||||||
.debug_loclists .debug_rnglists)
|
|
||||||
/* Java class registration (why are they even here?!) */
|
/* Java class registration (why are they even here?!) */
|
||||||
*(.jcr)
|
*(.jcr)
|
||||||
/* Asynchronous unwind tables: no C++ exception handling */
|
/* Asynchronous unwind tables: no C++ exception handling */
|
||||||
|
|
Loading…
Reference in a new issue