#858 .stab & .stabstr - LD PE Sections

OTHER
closed
Danny Smith
binutils (105)
rejected
component_package
2013-01-25
2005-11-19
tigerdaisy
No

.stab & .stabstr must be included in the linker input
file [-T linker-input-file] to generate a valid pe-i386
or pei-i386 executable. Any idea why?

Discussion

  • tigerdaisy
    tigerdaisy
    2005-11-19

    Sample Linker Input File

     
    Attachments
  • Danny Smith
    Danny Smith
    2005-11-20

    • status: open --> closed-rejected
     
  • Danny Smith
    Danny Smith
    2005-11-20

    Logged In: YES
    user_id=11494

    Those sections must be marked as NOLOAD. So iff any of
    the object files in your link contain these debug
    sections, the linker script must include them.

    You should be able to fix your invalid exe by stripping
    the debug sections.

    This is not really a mingw bug. You could probably get a
    better explanation on the binutils list.

    Danny

     
  • Earnie Boyd
    Earnie Boyd
    2013-01-25

    • labels: ld --> binutils
    • status: closed-rejected --> closed
    • resolution: --> rejected
    • category: --> component_package
    • milestone: --> OTHER