]> xenbits.xensource.com Git - livepatch-build-tools.git/commit
create-diff-object: Include string sections later
authorPawel Wieczorkiewicz <wipawel@amazon.de>
Tue, 3 Dec 2019 07:57:22 +0000 (07:57 +0000)
committerRoss Lagerwall <ross.lagerwall@citrix.com>
Wed, 4 Dec 2019 13:54:11 +0000 (13:54 +0000)
commita1277bfa9c6e82ba03edd6c931672505afe75477
tree8d6ff42bdf154b16dc2b94843b761e8ee34c99bb
parent3c88fec5611aa7f7e6f6d64553d5e1706c935955
create-diff-object: Include string sections later

... when all symbols have their status and include flags processed.

Processing special sections may include additional symbols. String
sections (.rodata*) are included iff they are referenced by at least
one symbol. Thus, in order to decide if string section should be
included or not, all symbols must be evaluated first.

Signed-off-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
Reported-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Tested-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Reviewed-by: Ross Lagerwall <ross.lagerwall@citrix.com>
create-diff-object.c