]> xenbits.xensource.com Git - livepatch-build-tools.git/commit
create-diff-object: Handle missing secsym for debug sections
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Wed, 8 Feb 2023 17:50:14 +0000 (17:50 +0000)
committerRoss Lagerwall <ross.lagerwall@citrix.com>
Thu, 16 Feb 2023 12:00:30 +0000 (12:00 +0000)
commitb685eec86aa58f6c0c644e250b29dca626a3bd8d
tree37b7acfcec0e855457f6972eb4d605a027e2ace8
parent862a9522a905f8fc217c07e36b388de30ee4531e
create-diff-object: Handle missing secsym for debug sections

Certain debug sections like ".debug_aranges" when built with GAS 2.36.1
are missing section symbols (presumably because they're not needed).
Instead, of segfaulting, simply don't include them if they're missing.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
create-diff-object.c