Ignore:
Timestamp:
Sep 29, 2000, 1:33:23 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9f30a08b
Parents:
f6630d4
Message:

2000-09-29 Charles-Antoine Gauthier <charles.gauthier@…>

  • startup/linkcmds: Added lines so DWARF debug information would be available. Otherwise gdb complains that the offsets for the debug info are incorrect and doesn't load the files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/shared/startup/linkcmds

    rf6630d4 r4cb5d29  
    145145    *(.comment)
    146146  }
     147
     148
     149  /* Stabs debugging sections.  */
     150  .stab 0 : { *(.stab) }
     151  .stabstr 0 : { *(.stabstr) }
     152  .stab.excl 0 : { *(.stab.excl) }
     153  .stab.exclstr 0 : { *(.stab.exclstr) }
     154  .stab.index 0 : { *(.stab.index) }
     155  .stab.indexstr 0 : { *(.stab.indexstr) }
     156  .comment 0 : { *(.comment) }
     157
     158  /* DWARF debug sections.
     159     Symbols in the DWARF debugging sections are relative to the beginning
     160     of the section so we begin them at 0.  */
     161  /* DWARF 1 */
     162  .debug          0 : { *(.debug) }
     163  .line           0 : { *(.line) }
     164 
     165  /* GNU DWARF 1 extensions */
     166  .debug_srcinfo  0 : { *(.debug_srcinfo) }
     167  .debug_sfnames  0 : { *(.debug_sfnames) }
     168 
     169  /* DWARF 1.1 and DWARF 2 */
     170  .debug_aranges  0 : { *(.debug_aranges) }
     171  .debug_pubnames 0 : { *(.debug_pubnames) }
     172 
     173  /* DWARF 2 */
     174  .debug_info     0 : { *(.debug_info) }
     175  .debug_abbrev   0 : { *(.debug_abbrev) }
     176  .debug_line     0 : { *(.debug_line) }
     177  .debug_frame    0 : { *(.debug_frame) }
     178  .debug_str      0 : { *(.debug_str) }
     179  .debug_loc      0 : { *(.debug_loc) }
     180  .debug_macinfo  0 : { *(.debug_macinfo) }
     181 
     182  /* SGI/MIPS DWARF 2 extensions */
     183  .debug_weaknames 0 : { *(.debug_weaknames) }
     184  .debug_funcnames 0 : { *(.debug_funcnames) }
     185  .debug_typenames 0 : { *(.debug_typenames) }
     186  .debug_varnames  0 : { *(.debug_varnames) }
     187  /* These must appear regardless of  .  */
    147188}
Note: See TracChangeset for help on using the changeset viewer.