elfcopy: handle empty program segments
authorIliyan Malchev <malchev@google.com>
Wed, 3 Jun 2009 19:41:37 +0000 (12:41 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Thu, 4 Jun 2009 16:57:17 +0000 (09:57 -0700)
commitbf60bf6688c8c423a8616d3ddb07a6bc7c5b98ea
tree9bc34083e4bd6b2c627a30f095ef0352f75fa5d4
parent44831d0f487d355e9b01f8b5f94ceeac335ee2ea
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