diff --git a/fx9860g.ld b/fx9860g.ld index b081ea1..e6a8bf2 100644 --- a/fx9860g.ld +++ b/fx9860g.ld @@ -239,7 +239,8 @@ SECTIONS /DISCARD/ : { /* Debug sections (often from libgcc) */ *(.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?!) */ *(.jcr) /* Asynchronous unwind tables: no C++ exception handling */ diff --git a/fxcg50.ld b/fxcg50.ld index 285751a..143e4f4 100644 --- a/fxcg50.ld +++ b/fxcg50.ld @@ -191,7 +191,8 @@ SECTIONS *(.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_ranges .debug_line .debug_str .debug_frame + .debug_loclists .debug_rnglists) /* Java class registration (why are they even here?!) */ *(.jcr) /* Asynchronous unwind tables: no C++ exception handling */