Project

General

Profile

Actions

Bug #2978

closed

ctfconvert still needs to ignore legitimately dataless files on SPARC

Added by Rich Lowe almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2012-07-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

on SPARC, #2942 was insufficient, because .symtab is allocatable, and thus is an allocatable section with a size > 0, causing us to still believe all object files must contain debug data.

The heuristic must somehow be tightened. I'm not sure why on SPARC, several of these sections are allocatable, but a canonically empty object (an empty file, built with -c), .symtab, .strtab and .rela.debug_line are all allocatable sections, and scupper this check.

Likely we're going to have to walk the tables check for the presence of actual FUNC and OBJT symbols as our only viable heuristic that doen't leave real scope for accident.


Related issues

Has duplicate illumos gate - Bug #1870: ctfconvert should accept DWARF objects with no type dataClosedRich Lowe2011-12-09

Actions
Actions #1

Updated by Rich Lowe almost 10 years ago

  • Category changed from zfs - Zettabyte File System to tools - gate/build tools
  • Status changed from New to In Progress
  • % Done changed from 0 to 80
  • Tags deleted (needs-triage)
Actions #2

Updated by Rich Lowe almost 10 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100

Resolved in r13754 commit:7231b684c18b

Actions

Also available in: Atom PDF