diff options
author | kaiw <kaiw@FreeBSD.org> | 2008-02-24 17:57:29 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2008-02-24 17:57:29 +0000 |
commit | 9ba4f3d00623bf0256e4a363444823519f9fb8b1 (patch) | |
tree | 96e3b77a5404a6f6bff8a68f2903f78d7c30e370 /lib/libc/powerpc/gen/fpgetsticky.c | |
parent | f0743db21bebcf35233d72f18d78a6a37f77be1e (diff) | |
download | FreeBSD-src-9ba4f3d00623bf0256e4a363444823519f9fb8b1.zip FreeBSD-src-9ba4f3d00623bf0256e4a363444823519f9fb8b1.tar.gz |
Handle properly when insert zero size objects into the archive:
Do not mmap 0-size objects and do not try to extract symbol from
0-size objects, but do treat 0-size objects as qualified objects and
accept them as an archive member. (A member with only the header part)
Note that GNU binutils ar on FreeBSD ignores 0-size objects, but on
Linux it accepts them. [1] But, since this is a rare usage, we can
safely ignore the compatibility issue.
Reported by: Michael Plass <mfp49_freebsd [AT] plass-family [DOT] net>
Pointed out by: Michael Plass <mfp49_freebsd [AT] plass-family [DOT] net> [1]
Reviewed by: Michael Plass <mfp49_freebsd [AT] plass-family [DOT] net>
Reviewed by: jkoshy
Approved by: jkoshy (mentor)
Diffstat (limited to 'lib/libc/powerpc/gen/fpgetsticky.c')
0 files changed, 0 insertions, 0 deletions