elfcopy: handle empty program segments
authorIliyan Malchev <malchev@google.com>
Wed, 3 Jun 2009 19:41:37 +0000 (12:41 -0700)
committerIliyan Malchev <malchev@google.com>
Thu, 4 Jun 2009 00:04:07 +0000 (17:04 -0700)
commitea327ae7042fa12c2f81acb7268321d46c98e075
tree9bc34083e4bd6b2c627a30f095ef0352f75fa5d4
parentfdb0ad644a04cd4cf84e879446f512ed6c666c48
elfcopy: handle empty program segments

There are program segments like GNU_STACK, which contain no sections.  This
patch makes elfcopy (affecting apriori and soslim) ignore such segments.

Signed-off-by: Iliyan Malchev <malchev@google.com>
elfcopy.c