mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
ld: exclude more debug sections (C++)
This commit is contained in:
parent
36d66a6317
commit
48325fc54d
2 changed files with 4 additions and 2 deletions
|
@ -239,7 +239,8 @@ SECTIONS
|
||||||
/DISCARD/ : {
|
/DISCARD/ : {
|
||||||
/* Debug sections (often from libgcc) */
|
/* Debug sections (often from libgcc) */
|
||||||
*(.debug_info .debug_abbrev .debug_loc .debug_aranges
|
*(.debug_info .debug_abbrev .debug_loc .debug_aranges
|
||||||
.debug_ranges .debug_line .debug_str)
|
.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 */
|
||||||
|
|
|
@ -191,7 +191,8 @@ SECTIONS
|
||||||
*(.gint.data.sh3 .gint.bss.sh3)
|
*(.gint.data.sh3 .gint.bss.sh3)
|
||||||
/* Debug sections (often from libgcc) */
|
/* Debug sections (often from libgcc) */
|
||||||
*(.debug_info .debug_abbrev .debug_loc .debug_aranges
|
*(.debug_info .debug_abbrev .debug_loc .debug_aranges
|
||||||
.debug_ranges .debug_line .debug_str)
|
.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