summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-12-15 18:18:57 +0000
committeremaste <emaste@FreeBSD.org>2014-12-15 18:18:57 +0000
commit50872743f93c1edaa918140eed44a7300d41beb8 (patch)
tree8f2868f6525916d5920d47b72dd956c7fdfc020e /lib/libc/string
parent93ef12f5869abbc3948befe430bb97291c1b1379 (diff)
downloadFreeBSD-src-50872743f93c1edaa918140eed44a7300d41beb8.zip
FreeBSD-src-50872743f93c1edaa918140eed44a7300d41beb8.tar.gz
Correct elftoolchain strip(1) memory size calculation
Calculate the segment's memory size (p_memsz) using the virtual addresses, not the file offsets. Otherwise padding preceeding SHT_NOBITS sections may be excluded from the calculation, resulting in a segment that is too small. PR: 195653 Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libc/string')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud