Recent

Author Topic: [SOLVED] .section .debug_frame  (Read 754 times)

Key-Real

  • Sr. Member
  • ****
  • Posts: 389
[SOLVED] .section .debug_frame
« on: April 26, 2024, 01:45:06 pm »
is it possible to entirely get rid of the
Code: Pascal  [Select][+][-]
  1. # Begin asmlist al_dwarf_frame
section?
« Last Edit: July 17, 2024, 09:52:43 am by Key-Real »

nickysn

  • New Member
  • *
  • Posts: 27
Re: .section .debug_frame
« Reply #1 on: April 28, 2024, 10:00:25 pm »
I assume you've already tried removing debug info via -g-

Looking at the compiler sources, I think you need to remove tf_needs_dwarf_cfi from the flags set in compiler/systems/i_ps1.pas

If it doesn't work, you can try stripping the final executable, using something like the 'strip' utility: https://www.man7.org/linux/man-pages/man1/strip.1.html

 

TinyPortal © 2005-2018