DWARF.sc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Copyright (C) 2014-2015 Free Software Foundation, Inc.
  2. #
  3. # Copying and distribution of this file, with or without modification,
  4. # are permitted in any medium without royalty provided the copyright
  5. # notice and this notice are preserved.
  6. #
  7. cat <<EOF
  8. /* DWARF debug sections.
  9. Symbols in the DWARF debugging sections are relative to the beginning
  10. of the section so we begin them at 0. */
  11. /* DWARF 1 */
  12. .debug 0 : { *(.debug) }
  13. .line 0 : { *(.line) }
  14. /* GNU DWARF 1 extensions */
  15. .debug_srcinfo 0 : { *(.debug_srcinfo) }
  16. .debug_sfnames 0 : { *(.debug_sfnames) }
  17. /* DWARF 1.1 and DWARF 2 */
  18. .debug_aranges 0 : { *(.debug_aranges) }
  19. .debug_pubnames 0 : { *(.debug_pubnames) }
  20. /* DWARF 2 */
  21. .debug_info 0 : { *(.debug_info${RELOCATING+ .gnu.linkonce.wi.*}) }
  22. .debug_abbrev 0 : { *(.debug_abbrev) }
  23. .debug_line 0 : { *(.debug_line .debug_line.* .debug_line_end ) }
  24. .debug_frame 0 : { *(.debug_frame) }
  25. .debug_str 0 : { *(.debug_str) }
  26. .debug_loc 0 : { *(.debug_loc) }
  27. .debug_macinfo 0 : { *(.debug_macinfo) }
  28. /* SGI/MIPS DWARF 2 extensions */
  29. .debug_weaknames 0 : { *(.debug_weaknames) }
  30. .debug_funcnames 0 : { *(.debug_funcnames) }
  31. .debug_typenames 0 : { *(.debug_typenames) }
  32. .debug_varnames 0 : { *(.debug_varnames) }
  33. /* DWARF 3 */
  34. .debug_pubtypes 0 : { *(.debug_pubtypes) }
  35. .debug_ranges 0 : { *(.debug_ranges) }
  36. /* DWARF Extension. */
  37. .debug_macro 0 : { *(.debug_macro) }
  38. EOF